:root {
    --bg: #0f1110;
    --bg-veil: #151816;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --text: rgba(245, 241, 234, 0.95);
    --muted: rgba(245, 241, 234, 0.7);
    --muted-2: rgba(245, 241, 234, 0.6);
    --accent: #e0a45e;
    --accent-2: #d7744d;
    --accent-soft: rgba(224, 164, 94, 0.22);
    --focus: #8ad3ff;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: radial-gradient(1200px 900px at 12% 10%, rgba(224, 164, 94, 0.12), transparent 60%),
        radial-gradient(900px 700px at 88% 18%, rgba(157, 107, 169, 0.12), transparent 55%),
        radial-gradient(800px 700px at 62% 92%, rgba(120, 162, 140, 0.12), transparent 55%),
        linear-gradient(160deg, var(--bg), var(--bg-veil));
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.65;
    overflow-x: hidden;
    transition: background 1.5s ease, color 0.8s ease;
}

.breathing {
    animation: breathe 16s ease-in-out infinite;
}

@keyframes breathe {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.04); }
    100% { filter: brightness(1); }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.container {
    width: min(1120px, calc(100% - 3.5rem));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(18px);
    background: rgba(12, 13, 14, 0.74);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 0;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 0.15rem;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.25rem;
}

.brand-sub {
    font-size: 0.92rem;
    color: var(--muted);
}

.header-actions {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
}

.nav-list {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: inline-flex;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    letter-spacing: 0.01em;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.nav-link:hover {
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(224, 164, 94, 0.2), rgba(157, 107, 169, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.quiet-toggle {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.quiet-toggle:hover,
.quiet-toggle[aria-pressed="true"] {
    background: var(--accent-soft);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-main {
    padding: 3.5rem 0 4.5rem;
}

.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(0.9);
    opacity: 0.45;
    transform: scale(1.05);
    transition: opacity 1.6s ease;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(750px 520px at 25% 12%, rgba(224, 164, 94, 0.15), transparent 60%),
        radial-gradient(850px 620px at 80% 22%, rgba(120, 162, 140, 0.16), transparent 58%);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 1.8s ease;
}

.hero-card {
    position: relative;
    background: rgba(24, 25, 25, 0.55);
    border: 1px solid var(--border);
    border-radius: 1.6rem;
    padding: clamp(1.9rem, 4vw, 2.8rem);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.hero-card[data-fade] {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kicker {
    margin: 0 0 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--muted-2);
}

h1,
h2,
h3 {
    line-height: 1.05;
    margin: 0 0 1rem;
    font-family: var(--serif);
}

h1 {
    font-size: clamp(2.5rem, 4.6vw, 3.9rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
}

p {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-family: var(--sans);
}

.lead {
    font-size: 1.08rem;
    max-width: 70ch;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.85rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.button.primary {
    border-color: rgba(224, 164, 94, 0.5);
    background: linear-gradient(135deg, rgba(224, 164, 94, 0.32), rgba(157, 107, 169, 0.24));
}

.section {
    margin-top: 4.25rem;
}

.section-card {
    background: rgba(22, 23, 23, 0.55);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.process-card {
    display: grid;
    gap: 2rem;
}

.about-card {
    display: grid;
    gap: 1.6rem;
}

.about-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-block {
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: radial-gradient(500px 340px at 14% 12%, rgba(224, 164, 94, 0.09), transparent),
        radial-gradient(500px 340px at 86% 18%, rgba(157, 107, 169, 0.08), transparent),
        rgba(18, 19, 19, 0.55);
    box-shadow: var(--shadow);
}

.about-block h2 {
    margin-top: 0.3rem;
}

.about-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(224, 164, 94, 0.32), rgba(157, 107, 169, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 1.2rem;
}

.process-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.process-flow {
    display: grid;
    gap: 1.2rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem 1.1rem;
    align-items: start;
    padding: 1.1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: radial-gradient(600px 400px at 8% 20%, rgba(224, 164, 94, 0.08), transparent),
        radial-gradient(600px 400px at 92% 30%, rgba(157, 107, 169, 0.08), transparent),
        rgba(18, 19, 19, 0.6);
}

.step-badge {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(224, 164, 94, 0.35), rgba(157, 107, 169, 0.28));
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.step-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.step-icon {
    display: inline-flex;
    margin-right: 0.35rem;
    font-size: 1.05rem;
}

.step-body p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 720px) {
    .step {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .step-badge {
        width: 2.2rem;
        height: 2.2rem;
    }
}

.stretched {
    width: min(900px, 100%);
}

.story-stack {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
}

.gallery-story {
    display: grid;
    gap: 0.85rem;
    align-items: start;
    margin: 0;
    padding: 0.95rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 19, 19, 0.5);
    box-shadow: var(--shadow);
}

.gallery-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: linear-gradient(145deg, rgba(224, 164, 94, 0.08), rgba(157, 107, 169, 0.08));
    padding: 0.55rem;
    width: 100%;
}

.gallery-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 500px at 30% 20%, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
}

.gallery-inner {
    position: relative;
    border-radius: 0.85rem;
    background: #0f1110;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    width: 100%;
    aspect-ratio: 4 / 5;
}

.gallery-inner img,
.gallery-inner video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.06);
}

.video-thumb {
    position: relative;
}

.video-thumb video {
    object-fit: cover;
}

.tiktok-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.tiktok-placeholder {
    width: 80%;
    max-width: 220px;
    border-radius: 1rem;
    padding: 1.4rem 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tiktok-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(130deg, #69c9d0, #ee1d52);
    color: #010101;
    font-weight: 700;
}

.lightbox-body iframe {
    width: 100%;
    min-height: 480px;
    border-radius: 1rem;
    border: none;
    background: #000;
}

.play-pill {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

.story-text {
    max-width: none;
}

.story-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--muted-2);
}

.story-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.story-body {
    font-size: 1.02rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-chip-row {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.story-chip {
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--text);
}

.story-chip.ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 300;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: min(1100px, 95vw);
    background: rgba(12, 13, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lightbox-body {
    position: relative;
    padding: 1rem;
}

.lightbox-body img,
.lightbox-body video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
    display: block;
    background: #0f1110;
}

.lightbox-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.lightbox-title {
    margin-top: 0.6rem;
    font-size: 1.05rem;
    color: var(--muted);
}

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

body.lightbox-open {
    animation: none;
    filter: none;
}

.story-meta {
    color: var(--muted-2);
    font-size: 0.95rem;
}

.form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.05rem;
}

.field {
    display: grid;
    gap: 0.55rem;
}

label {
    font-weight: 600;
    color: rgba(245, 241, 234, 0.9);
    font-family: var(--sans);
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

textarea {
    min-height: 220px;
    resize: vertical;
}

.honeypot {
    display: none;
}

.help {
    font-size: 0.94rem;
    color: var(--muted-2);
}

.alert {
    border-radius: 1.05rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.86);
}

.alert.error {
    border-color: rgba(255, 110, 110, 0.6);
    background: rgba(255, 110, 110, 0.08);
}

.alert.success {
    border-color: rgba(138, 211, 255, 0.6);
    background: rgba(138, 211, 255, 0.08);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(14px);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}

.footer-left {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-2);
}

.footer-brand {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 650;
}

.footer-link {
    color: var(--muted-2);
}

.footer-link:hover {
    color: var(--text);
    text-decoration: underline;
}

.cursor-light {
    position: fixed;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(224, 164, 94, 0.15), rgba(157, 107, 169, 0.06), transparent 70%);
    mix-blend-mode: screen;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    z-index: 200;
}

.quiet-mode .cursor-light {
    opacity: 0.25;
}

.quiet-mode .brand-text,
.quiet-mode .nav-list,
.quiet-mode .site-footer,
.quiet-mode .site-header {
    opacity: 0.45;
}

.quiet-mode .site-nav {
    opacity: 0.3;
    pointer-events: none;
}

.quiet-mode .header-actions,
.quiet-mode .quiet-toggle,
.quiet-mode .ambient-toggle {
    opacity: 0.85;
    pointer-events: auto;
}

.quiet-mode .textual {
    opacity: 0;
    pointer-events: none;
}

.quiet-mode .visual {
    filter: saturate(1.05);
}

.textual,
.visual {
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.medium-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.medium-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    background: rgba(24, 25, 25, 0.6);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.medium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 164, 94, 0.16), rgba(157, 107, 169, 0.12));
    opacity: 0.6;
}

.medium-card.oil {
    background-image: linear-gradient(160deg, rgba(224, 164, 94, 0.28), rgba(120, 84, 52, 0.22));
}

.medium-card.ethereal {
    background-image: linear-gradient(160deg, rgba(157, 107, 169, 0.32), rgba(120, 162, 140, 0.22));
}

.medium-card.charcoal {
    background-image: linear-gradient(160deg, rgba(40, 40, 40, 0.6), rgba(22, 24, 23, 0.65));
    border-color: rgba(255, 255, 255, 0.08);
}

.medium-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(26, 27, 27, 0.75);
}

.medium-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.medium-card p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.letter-intro {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 74ch;
}

.prompt-line {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin: 1.2rem 0 1.5rem;
    color: var(--text);
}

.contact-form {
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.2rem;
}

.contact-form .field,
.contact-form .button-row {
    margin: 0;
}

.contact-form .span-2 {
    grid-column: span 2;
}

.contact-form .prompt-line {
    grid-column: span 2;
    margin-top: 0.4rem;
}

.upload-grid {
    display: grid;
    gap: 0.75rem;
}

.upload-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.upload-row {
    display: grid;
    gap: 0.5rem;
}

.upload-note {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    font: inherit;
}

@media (min-width: 760px) {
    .upload-row {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

@media (max-width: 720px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .span-2 {
        grid-column: span 1;
    }
}

.ambient-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ambient-toggle:hover,
.ambient-toggle[aria-pressed="true"] {
    background: var(--accent-soft);
    border-color: rgba(255, 255, 255, 0.18);
}

.quiet-toggle + .nav-list {
    margin-left: 0.5rem;
}

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
    }

    .nav-list {
        width: 100%;
        flex-wrap: wrap;
    }

    .quiet-toggle {
        justify-self: flex-start;
    }

    .hero {
        padding-top: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-card {
        padding: 1.6rem;
    }

    .button-row {
        gap: 0.65rem;
    }
}
