/* =============================================
   Resonance Studio Berlin — Stylesheet
   Aesthetic: Analog Luxury Editorial
   ============================================= */

/* ---------- Self-hosted Font ---------- */
@font-face {
    font-family: 'Sulphur Point';
    src: url('fonts/Sulphur_Point/SulphurPoint-Regular.ttf?v=2') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sulphur Point';
    src: url('fonts/Sulphur_Point/SulphurPoint-Regular.ttf?v=2') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sulphur Point';
    src: url('fonts/Sulphur_Point/SulphurPoint-Bold.ttf?v=2') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Custom Properties ---------- */
/* Palette: Resonance Color Space
   Warm: #A47A4D  #B48655  #D6BDA0  #F8F4EA
   Reds: #701321  #9D192A  #C91F32
   Dark: #1D243E                              */

/* ── Dark mode (default) ── */
:root, [data-theme="dark"] {
    --color-bg:              #2D0B12;
    --color-bg-rgb:          45, 11, 18;
    --color-surface:         #421018;

    --color-text:            #F8F4EA;
    --color-text-secondary:  #D6BDA0;
    --color-burgundy:        #9D192A;
    --color-burgundy-dark:   #2D0B12;

    --color-burgundy-glow:   rgba(157, 25, 42, 0.15);
    --color-gold:            #B48655;
    --color-gold-dim:        rgba(180, 134, 85, 0.25);

    --color-cream:           #F8F4EA;
    --color-beige:           #D6BDA0;
    --color-muted:           #A47A4D;

    --font-display: 'Sulphur Point', 'Helvetica Neue', Arial, sans-serif;
    --font-body:    'Sulphur Point', 'Helvetica Neue', Arial, sans-serif;

    --nav-h: 50px;
    --container-max: 1320px;
    --section-pad:   clamp(5rem, 12vh, 9rem);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light mode ── */
[data-theme="light"] {
    --color-bg:              #F8F4EA;
    --color-bg-rgb:          248, 244, 234;
    --color-surface:         #E7D9C5;

    --color-text:            #701321;
    --color-text-secondary:  #9D192A;
    --color-cream:           #701321;
    --color-beige:           #9D192A;
    --color-muted:           #A47A4D;
    --color-gold-dim:        rgba(180, 134, 85, 0.35);
    --color-burgundy-glow:   rgba(157, 25, 42, 0.10);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 21px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    height: 100svh;
    -webkit-user-select: none;
    user-select: none;
}

#page-scroll {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    padding-top: var(--nav-h);
    scrollbar-color: var(--color-gold-dim) transparent;
}

#page-scroll::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar { width: 8px; }
#page-scroll::-webkit-scrollbar-track,
.mobile-menu::-webkit-scrollbar-track { background: transparent; }
#page-scroll::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb { background: var(--color-gold-dim); border-radius: 4px; }
#page-scroll::-webkit-scrollbar-thumb:hover,
.mobile-menu::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }
#page-scroll::-webkit-scrollbar-button,
.mobile-menu::-webkit-scrollbar-button { background: var(--color-cream); }
[data-theme="light"] #page-scroll::-webkit-scrollbar-button,
[data-theme="light"] .mobile-menu::-webkit-scrollbar-button { background: var(--color-text); }

img {
    display: block;
    max-width: 100%;
}

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

address {
    font-style: normal;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
    -webkit-appearance: none;
    border-radius: 0;
    font-size: 16px; /* prevent iOS auto-zoom on focus */
}

/* ---------- Script-specific font stacks & metrics ---------- */

/* Cyrillic (Ukrainian) */
[lang="uk"], [lang="ru"] { --font-display: 'Sulphur Point', system-ui, 'Segoe UI', sans-serif; --font-body: 'Sulphur Point', system-ui, 'Segoe UI', sans-serif; }

/* Greek */
[lang="el"] { --font-display: 'Sulphur Point', system-ui, 'Segoe UI', sans-serif; --font-body: 'Sulphur Point', system-ui, 'Segoe UI', sans-serif; }

/* CJK — larger line-height, no letter-spacing */
[lang="zh"], [lang="ja"], [lang="ko"] {
    --font-display: system-ui, 'PingFang SC', 'Hiragino Sans', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-body: system-ui, 'PingFang SC', 'Hiragino Sans', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    letter-spacing: 0 !important;
    word-break: break-all;
}
[lang="ja"] {
    --font-display: system-ui, 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
    --font-body: system-ui, 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
}
[lang="ko"] {
    --font-display: system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-body: system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* Arabic & Farsi — RTL, taller glyphs */
[lang="ar"], [lang="fa"] {
    --font-display: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.8;
}

/* Devanagari (Hindi) — tall ascenders */
[lang="hi"] {
    --font-display: 'Noto Sans Devanagari', 'Mangal', system-ui, sans-serif;
    --font-body: 'Noto Sans Devanagari', 'Mangal', system-ui, sans-serif;
    line-height: 1.7;
}

/* Thai — extreme ascenders/descenders */
[lang="th"] {
    --font-display: 'Noto Sans Thai', 'Tahoma', 'Leelawadee UI', system-ui, sans-serif;
    --font-body: 'Noto Sans Thai', 'Tahoma', 'Leelawadee UI', system-ui, sans-serif;
    line-height: 1.8;
}

/* CJK nav links — lighter weight + no letter-spacing */
[lang="zh"] .nav__link,
[lang="zh"] .lang-btn { font-weight: 500; }
[lang="zh"] .nav__link { font-size: 0.85rem; letter-spacing: 0; }
[lang="ja"] .nav__link,
[lang="ko"] .nav__link { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; }

/* Arabic/Farsi nav — adjusted weight */
[lang="ar"] .nav__link,
[lang="fa"] .nav__link { font-size: 0.85rem; font-weight: 500; }

/* Thai/Hindi/Cyrillic/Greek nav — fine-tune */
[lang="th"] .nav__link { font-size: 0.8rem; }
[lang="hi"] .nav__link { font-size: 0.85rem; }
[lang="uk"] .nav__link,
[lang="ru"] .nav__link { font-weight: 500; font-size: 0.9rem; }
[lang="uk"] .lang-btn,
[lang="ru"] .lang-btn { font-weight: 450; position: relative; top: -1px; }
[lang="el"] .nav__link,
[lang="el"] .lang-btn { font-weight: 400; }

/* CJK mobile menu — tighter spacing */
[lang="zh"] .mobile-menu__link { font-weight: 500; letter-spacing: 0; }
[lang="ja"] .mobile-menu__link,
[lang="ko"] .mobile-menu__link { font-weight: 500; letter-spacing: 0; }
[lang="ar"] .mobile-menu__link,
[lang="fa"] .mobile-menu__link { font-weight: 500; }
[lang="uk"] .mobile-menu__link,
[lang="ru"] .mobile-menu__link { font-weight: 400; }
[lang="uk"] .hero__sub,
[lang="ru"] .hero__sub,
[lang="uk"] .section__label,
[lang="ru"] .section__label,
[lang="uk"] .service-card__title,
[lang="ru"] .service-card__title,
[lang="uk"] .studio__room-title,
[lang="ru"] .studio__room-title,
[lang="uk"] .creator__name,
[lang="ru"] .creator__name,
[lang="uk"] .ticker__name,
[lang="ru"] .ticker__name,
[lang="uk"] .contact__cta,
[lang="ru"] .contact__cta,
[lang="uk"] .form__button,
[lang="ru"] .form__button,
[lang="uk"] .subpage-title,
[lang="ru"] .subpage-title,
[lang="uk"] .subpage-section h2,
[lang="ru"] .subpage-section h2 { font-weight: 550; }
[lang="el"] .mobile-menu__link { font-weight: 400; }

/* ---------- RTL layout ---------- */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav__inner { flex-direction: row-reverse; }
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .nav__actions { flex-direction: row-reverse; }
[dir="rtl"] .nav__logo { object-position: right; }
[dir="rtl"] .mobile-menu__inner { text-align: center; }
[dir="rtl"] .section { text-align: right; }
[dir="rtl"] .hero__content { text-align: center; }
[dir="rtl"] .services-grid { direction: rtl; }

/* ---------- Logo theme switching ---------- */
.logo--dark  { display: block; }
.logo--light { display: none; }

[data-theme="light"] .logo--dark  { display: none; }
[data-theme="light"] .logo--light { display: block; }

/* ---------- Language switcher ---------- */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--color-beige);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    transition: opacity 0.3s;
    opacity: 0.6;
    white-space: nowrap;
}

.lang-btn:hover { opacity: 1; }

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(var(--color-bg-rgb), 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-gold-dim);
    border-radius: 6px;
    padding: 4px 0;
    min-width: 160px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 10001;
}

.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--color-gold-dim); border-radius: 2px; }

.lang-dropdown.show { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 12px;
    background: none;
    border: none;
    color: var(--color-beige);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-option:hover {
    background: var(--color-burgundy-glow);
    color: var(--color-cream);
}

.lang-option.active {
    color: inherit;
}

/* Non-Latin scripts: lighter weight to visually match Latin */
.lang-option[data-lang="zh"] span { font-weight: 400; }
.lang-option[data-lang="ja"] span,
.lang-option[data-lang="ko"] span,
.lang-option[data-lang="hi"] span,
.lang-option[data-lang="th"] span,
.lang-option[data-lang="el"] span,
.lang-option[data-lang="ar"] span,
.lang-option[data-lang="fa"] span { font-weight: 400; }

/* Greek & Cyrillic: slightly smaller to match Latin x-height */
.lang-option[data-lang="el"] span { font-size: 0.78rem; }
.lang-option[data-lang="uk"] span,
.lang-option[data-lang="ru"] span { font-size: 0.80rem; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
    display: flex;
    align-items: center;
    padding: 4px;
    color: var(--color-beige);
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
}

.theme-toggle:hover { opacity: 1; }

.theme-toggle svg { width: 18px; height: 18px; }

.theme-toggle__sun  { display: none; }
.theme-toggle__moon { display: block; }

[data-theme="light"] .theme-toggle__sun  { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }


/* ---------- Light mode form inputs ---------- */
[data-theme="light"] .form__input {
    border-bottom-color: rgba(157, 25, 42, 0.2);
}

[data-theme="light"] .form__button {
    color: #F8F4EA;
    background: #A47A4D;
    box-shadow: 0 2px 16px rgba(164, 122, 77, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .form__button:hover {
    animation: ripple-glow-light 1.8s ease-out forwards;
}

/* ---------- Light mode gallery image treatment ---------- */
[data-theme="light"] .gallery__img {
    filter: none;
}

/* ============================
   WAVE DIVIDERS — organic flowing curves
   matching the Resonance business card
   ============================ */
.wave-divider {
    --divider-h: clamp(42px, 10vw, 150px);
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--divider-h);
    line-height: 0;
    margin-top: calc(var(--divider-h) / -2);
    margin-bottom: calc(var(--divider-h) / -2);
}

/* Background = the section ABOVE the divider */
.wave-divider--to-surface { background: var(--color-bg); }
.wave-divider--to-bg      { background: var(--color-surface); }

/* Hero wave — sits at bottom of hero, overlapping the image */
.wave-divider--hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: transparent;
    margin: 0;
    -webkit-mask-image: linear-gradient(to top, black 0%, black 30%, rgba(0,0,0,0.3) 100%);
    mask-image: linear-gradient(to top, black 0%, black 30%, rgba(0,0,0,0.3) 100%);
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: calc(100% + 4px);
    margin: -2px 0;
}

/* Three wave layers — three distinct reds from the palette:
   Layer 1 (back):   #C91F32 (bright red)
   Layer 2 (middle): #9D192A (burgundy)
   Layer 3 (front):  fills the NEXT section bg for clean boundary */

/* DARK MODE: divider colors #761423, #7C1524, #821625
   --to-surface: above=bg(darker) → dark→light
   --to-bg: above=surface(lighter) → light→dark */
.wave-divider--to-surface .wave-layer--1 { fill: #310C14; }
.wave-divider--to-surface .wave-layer--2 { fill: #360D16; }
.wave-divider--to-surface .wave-layer--3 { fill: #3B0E18; }
.wave-divider--to-surface .wave-layer--4 { fill: var(--color-surface); }

.wave-divider--to-bg .wave-layer--1 { fill: #3B0E18; }
.wave-divider--to-bg .wave-layer--2 { fill: #360D16; }
.wave-divider--to-bg .wave-layer--3 { fill: #310C14; }
.wave-divider--to-bg .wave-layer--4 { fill: var(--color-bg); }

/* LIGHT MODE: divider colors #ECE0CF, #F0E7D8, #F4EEE1
   --to-surface: above=bg(lighter) → light→dark
   --to-bg: above=surface(darker) → dark→light */
[data-theme="light"] .wave-divider--to-surface .wave-layer--1 { fill: #F4EEE1; }
[data-theme="light"] .wave-divider--to-surface .wave-layer--2 { fill: #F0E7D8; }
[data-theme="light"] .wave-divider--to-surface .wave-layer--3 { fill: #ECE0CF; }

[data-theme="light"] .wave-divider--to-bg .wave-layer--1 { fill: #ECE0CF; }
[data-theme="light"] .wave-divider--to-bg .wave-layer--2 { fill: #F0E7D8; }
[data-theme="light"] .wave-divider--to-bg .wave-layer--3 { fill: #F4EEE1; }

/* Scroll-triggered reveal — staggered fade-in */
.wave-divider .wave-layer {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
}

.wave-divider .wave-layer--2 {
    transition-delay: 0.15s;
    transition-duration: 0.9s;
}

.wave-divider .wave-layer--3 {
    transition-delay: 0.3s;
    transition-duration: 1s;
}

.wave-divider .wave-layer--4 {
    opacity: 1;
}

.wave-divider.revealed .wave-layer {
    opacity: 1;
}

/* After reveal, gentle continuous wave motion */
.wave-divider.revealed .wave-layer--1 { animation: wave-flow 6s ease-in-out 1.5s infinite; }
.wave-divider.revealed .wave-layer--2 { animation: wave-flow 6s ease-in-out 2s infinite; }

@keyframes wave-flow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

/* ---------- Film Grain Overlay ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* ---------- Utility ---------- */
.container {
    width: 88%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    scroll-margin-top: 10px;
    padding: calc(var(--section-pad) * 0.7) 0;
    position: relative;
    z-index: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}


.section__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 30px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal.revealed .stagger:nth-child(1) { transition-delay: 0.05s; }
.reveal.revealed .stagger:nth-child(2) { transition-delay: 0.12s; }
.reveal.revealed .stagger:nth-child(3) { transition-delay: 0.19s; }
.reveal.revealed .stagger:nth-child(4) { transition-delay: 0.26s; }

/* ============================
   NAV
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(var(--color-bg-rgb), 0.1);
    backdrop-filter: blur(1.8px);
    -webkit-backdrop-filter: blur(1.8px);
    transition: background 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s;
}

.nav--scrolled {
    background: rgba(var(--color-bg-rgb), 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav--menu-open {
    background: rgba(var(--color-bg-rgb), 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo-link {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.nav__logo {
    height: 30px;
    object-fit: contain;
    object-position: left;
    opacity: 0.8;
    transition: opacity 0.3s;
    filter: drop-shadow(0 0 9px rgba(var(--color-bg-rgb), 0.55))
            drop-shadow(0 0 22px rgba(var(--color-bg-rgb), 0.385))
            drop-shadow(0 0 44px rgba(var(--color-bg-rgb), 0.22));
}

[data-theme="light"] .nav__logo {
    filter: drop-shadow(0 0 9px rgba(var(--color-bg-rgb), 0.66))
            drop-shadow(0 0 22px rgba(var(--color-bg-rgb), 0.462))
            drop-shadow(0 0 44px rgba(var(--color-bg-rgb), 0.264));
}

.nav__logo--full {
    width: 161px;
}

.nav__logo--icon {
    width: 30px;
    display: none !important;
}

/* Compact: swap full logo → icon logo */
.nav--compact .nav__logo--full { display: none !important; }
.nav--compact .nav__logo--icon.logo--dark { display: block !important; }
.nav--compact .nav__logo--icon.logo--light { display: none !important; }
[data-theme="light"] .nav--compact .nav__logo--icon.logo--dark { display: none !important; }
[data-theme="light"] .nav--compact .nav__logo--icon.logo--light { display: block !important; }

.nav__logo-link:hover .nav__logo {
    opacity: 1;
}

@media (max-width: 700px) {
    .nav__logo { height: 26px; }
    .nav__logo--full { width: 137px; }
    .nav__logo--icon { width: 26px; }
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0 20px;
    flex-wrap: nowrap;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-beige);
    opacity: 0.7;
    transition: opacity 0.3s;
    position: relative;
    text-shadow:
        0 0 14px rgba(var(--color-bg-rgb), 0.92),
        0 0 35px rgba(var(--color-bg-rgb), 0.69),
        0 0 69px rgba(var(--color-bg-rgb), 0.46);
}

[data-theme="light"] .nav__link {
    text-shadow:
        0 0 14px rgba(var(--color-bg-rgb), 1),
        0 0 35px rgba(var(--color-bg-rgb), 0.828),
        0 0 69px rgba(var(--color-bg-rgb), 0.552);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-beige);
    transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
    opacity: 1;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Hamburger — 3 lines */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 210;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-beige);
    border-radius: 1px;
    -webkit-transition: -webkit-transform 0.4s var(--ease-out-expo), opacity 0.3s;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
    -webkit-transform-origin: center;
    transform-origin: center;
    will-change: transform, opacity;
}

.nav__burger.active span:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav responsive: handled dynamically by JS (navFit) */

/* ============================
   MOBILE MENU
   ============================ */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    background: rgba(var(--color-bg-rgb), 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--color-gold-dim) transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.3rem, 2vh, 1.5rem);
    text-align: center;
    width: 100%;
    padding: 2vh 0;
    box-sizing: border-box;
    margin: auto 0;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.5vh, 2.5rem);
    font-weight: 700;
    color: var(--color-cream);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), color 0.3s;
    letter-spacing: 0.02em;
}

.mobile-menu.open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu.open .mobile-menu__link:nth-child(7) { transition-delay: 0.44s; }
.mobile-menu.open .mobile-menu__link:nth-child(8) { transition-delay: 0.50s; }

.mobile-menu__link:hover {
    color: var(--color-gold);
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    margin-top: calc(-1 * var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
}

.hero__image-wrap picture {
    display: contents;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.08);
    animation: hero-zoom 25s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(var(--color-bg-rgb), 0.05) 0%, rgba(var(--color-bg-rgb), 0.45) 60%),
        linear-gradient(to bottom, rgba(var(--color-bg-rgb), 0.0) 0%, rgba(var(--color-bg-rgb), 0.35) 50%, rgba(var(--color-bg-rgb), 0.77) 100%);
}

[data-theme="light"] .hero__overlay {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(var(--color-bg-rgb), 0.0425) 0%, rgba(var(--color-bg-rgb), 0.3825) 60%),
        linear-gradient(to bottom, rgba(var(--color-bg-rgb), 0.0) 0%, rgba(var(--color-bg-rgb), 0.2975) 50%, rgba(var(--color-bg-rgb), 0.6545) 100%);
}

[data-theme="light"] .hero__logo {
    filter: drop-shadow(0 0 9px rgba(var(--color-bg-rgb), 0.66))
            drop-shadow(0 0 22px rgba(var(--color-bg-rgb), 0.462))
            drop-shadow(0 0 44px rgba(var(--color-bg-rgb), 0.264));
}

[data-theme="light"] .hero__rule {
    box-shadow:
        0 0 8px rgba(var(--color-bg-rgb), 0.6),
        0 0 20px rgba(var(--color-bg-rgb), 0.42),
        0 0 40px rgba(var(--color-bg-rgb), 0.24);
}

[data-theme="light"] .hero__sub {
    text-shadow:
        0 0 14px rgba(var(--color-bg-rgb), 1),
        0 0 35px rgba(var(--color-bg-rgb), 0.828),
        0 0 69px rgba(var(--color-bg-rgb), 0.552);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
    will-change: transform, opacity;
}

.hero__logo {
    width: clamp(200px, 35vw, 380px);
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 9px rgba(var(--color-bg-rgb), 0.55))
            drop-shadow(0 0 22px rgba(var(--color-bg-rgb), 0.385))
            drop-shadow(0 0 44px rgba(var(--color-bg-rgb), 0.22));
}

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

.hero__rule {
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--color-beige) 35%, var(--color-beige) 65%, transparent 100%);
    border-radius: 0;
    margin: 0 auto 1.8rem;
    box-shadow:
        0 0 8px rgba(var(--color-bg-rgb), 0.5),
        0 0 20px rgba(var(--color-bg-rgb), 0.35),
        0 0 40px rgba(var(--color-bg-rgb), 0.2);
    transition: box-shadow 0.5s, width 1.2s var(--ease-out-expo) 0.6s;
}

body.loaded .hero__rule {
    width: clamp(200px, 35vw, 380px);
}

.hero__sub {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-beige);
    line-height: 1.7;
    text-shadow:
        0 0 14px rgba(var(--color-bg-rgb), 0.92),
        0 0 35px rgba(var(--color-bg-rgb), 0.69),
        0 0 69px rgba(var(--color-bg-rgb), 0.46);
}

/* Hero entrance animations */
.anim-fade-in {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.2s var(--ease-out-expo) 0.2s, transform 1.2s var(--ease-out-expo) 0.2s;
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s var(--ease-out-expo) 0.9s, transform 1s var(--ease-out-expo) 0.9s;
}

body.loaded .anim-fade-in {
    opacity: 1;
    transform: scale(1);
}

body.loaded .anim-fade-up {
    opacity: 1;
    transform: translateY(0);
}


/* ============================
   ABOUT
   ============================ */
.about {
    background: var(--color-bg);
    text-align: left;
    margin-top: -10px;
}

.about__text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-cream);
    max-width: 720px;
    margin: 0 0 1.5rem;
}

.about__text--secondary {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--color-beige);
    opacity: 0.85;
    max-width: 580px;
    margin-top: 0;
}

.creators-section {
    background: var(--color-surface);
}

/* Creator cards */
.creators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 550px) {
    .creators {
        grid-template-columns: 1fr 1fr;
    }
}

.creator {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.creator__img {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: saturate(0.85) contrast(1.02);
}

.creator__avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.creator__social {
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 8px;
    color: var(--color-beige);
    opacity: 0.5;
    transition: opacity 0.3s, color 0.3s;
}

.creator__social:hover {
    opacity: 1;
    color: var(--color-gold);
}

.creator__info {
    display: flex;
    flex-direction: column;
}

.creator__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-cream);
    margin-top: -0.15em;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
}



.creator__bio {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-beige);
    opacity: 0.85;
    line-height: 1.6;
}

/* ============================
   SERVICES
   ============================ */
.services {
    background: var(--color-surface);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 700px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    padding: 0;
    position: relative;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-cream);
    margin-bottom: 1rem;
}

.service-card__desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--color-beige);
    line-height: 1.7;
    opacity: 0.9;
}

/* ============================
   STUDIO
   ============================ */
.studio {
    background: var(--color-bg);
    overflow: hidden;
}

.studio__content {
    max-width: 800px;
}

.studio__heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;

    line-height: 1.25;
    color: var(--color-cream);
    margin-bottom: 2.5rem;
}

.studio__details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 550px) {
    .studio__details {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.studio__room-title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.studio__room-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--color-beige);
    line-height: 1.7;
    opacity: 0.9;
}

.studio__credit {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.studio__credit strong {
    font-weight: 400;
    color: var(--color-beige);
}

/* ============================
   GALLERY
   ============================ */
.gallery {
    background: var(--color-surface);
}

/* Masonry gallery — flex columns, JS-distributed, top-aligned */
.gallery__grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.gallery__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.gallery__item {
    position: relative;
    border-radius: 14px;
    margin: 0;
    padding: 0;
    display: block;
}

/* Ripple glow placeholder — z-index:-1 so ALL images sit above ALL glows */
.gallery__item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    z-index: -2;
    pointer-events: none;
    transition: transform 0.8s var(--ease-out-expo);
}

.gallery__item:hover::before {
    transform: scale(1.03);
    animation: ripple-glow-dark 1.8s ease-out forwards;
}

@keyframes ripple-glow-dark {
    0% {
        box-shadow:
            0 0 0 0     rgba(248, 244, 234, 0.50),
            0 0 5px 0   rgba(248, 244, 234, 0.20),
            0 0 0 0     rgba(248, 244, 234, 0.35),
            0 0 8px 0   rgba(248, 244, 234, 0.12),
            0 0 0 0     rgba(248, 244, 234, 0.20);
    }
    100% {
        box-shadow:
            0 0 0 5px    rgba(248, 244, 234, 0),
            0 0 5px 10px rgba(248, 244, 234, 0),
            0 0 0 16px   rgba(248, 244, 234, 0),
            0 0 8px 22px rgba(248, 244, 234, 0),
            0 0 0 28px   rgba(248, 244, 234, 0);
    }
}

[data-theme="light"] .gallery__item:hover::before {
    animation: ripple-glow-light 1.8s ease-out forwards;
}

@keyframes ripple-glow-light {
    0% {
        box-shadow:
            0 0 0 0     rgba(157, 25, 42, 0.45),
            0 0 5px 0   rgba(157, 25, 42, 0.18),
            0 0 0 0     rgba(157, 25, 42, 0.30),
            0 0 8px 0   rgba(157, 25, 42, 0.10),
            0 0 0 0     rgba(157, 25, 42, 0.18);
    }
    100% {
        box-shadow:
            0 0 0 5px    rgba(157, 25, 42, 0),
            0 0 5px 10px rgba(157, 25, 42, 0),
            0 0 0 16px   rgba(157, 25, 42, 0),
            0 0 8px 22px rgba(157, 25, 42, 0),
            0 0 0 28px   rgba(157, 25, 42, 0);
    }
}

.gallery__img {
    position: relative;
    z-index: 5;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    filter: saturate(0.85) contrast(1.02);
    transition: transform 0.8s var(--ease-out-expo), filter 0.8s;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1.05);
}

/* ============================
   CLIENTS / TICKER
   ============================ */
.clients {
    background: var(--color-bg);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    direction: ltr;
}

.ticker {
    position: relative;
    width: 100%;
    clip-path: inset(0);
    cursor: grab;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker.is-dragging { cursor: grabbing; }

.ticker__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ticker__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ticker__logo {
    height: 88px;
    width: auto;
    opacity: 0.7;
    filter: brightness(2);
}

.ticker__logo--mercedes { height: 75px; }
.ticker__logo--zdf      { height: 64px; }
.ticker__logo--audi     { height: 111px; }
.ticker__logo--ot       { height: 171px; }

.ticker__person {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ticker__name {
    font-family: var(--font-display);
    font-size: calc(1rem + 4px);
    font-weight: 700;
    color: var(--color-cream);
    opacity: 0.7;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.ticker__role {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--color-cream);
    opacity: 0.45;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

[data-theme="light"] .ticker__logo {
    filter: none;
    opacity: 0.8;
}

[data-theme="light"] .ticker__name,
[data-theme="light"] .ticker__role {
    color: var(--color-text);
}

/* ============================
   LOCATION
   ============================ */
.location {
    background: var(--color-bg);
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 700px) {
    .location__grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
}

.location__map-wrap {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(180, 134, 85, 0.1);
}

.location__map {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

@media (min-width: 700px) {
    .location__map {
        height: 400px;
    }
}

.location__address {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-cream);
}

.location__rule {
    width: 40px;
    height: 1px;
    background: var(--color-gold-dim);
    margin: 1.5rem 0;
}

.location__note {
    font-size: 0.92rem;
    color: var(--color-beige);
    opacity: 0.85;
    line-height: 1.7;
}

/* ============================
   CONTACT
   ============================ */
.contact {
    background: var(--color-surface);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 700px) {
    .contact__grid {
        grid-template-columns: 1.3fr 1fr;
        align-items: start;
    }
}

/* -- Form -- */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form__group {
    position: relative;
}

.form__label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    pointer-events: none;
    transition: transform 0.3s var(--ease-out-expo), font-size 0.3s var(--ease-out-expo), color 0.3s;
}

.form__input {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-cream);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(138, 126, 110, 0.3);
    outline: none;
    transition: border-color 0.3s;
}

/* Float label up when input has content or is focused */
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
    transform: translateY(-1.6rem);
    font-size: 0.65rem;
    color: var(--color-gold);
}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.5s var(--ease-out-expo);
}

.form__input:focus ~ .form__line {
    width: 100%;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__button {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cream);
    background: rgba(45, 11, 18, 0.5);
    border: none;
    border-radius: 6px;
    box-shadow: none;
    transition: background 0.3s, box-shadow 0.3s, transform 0.15s, gap 0.3s var(--ease-out-expo);
}

.form__button:hover {
    animation: ripple-glow-dark 1.8s ease-out forwards;
}

.form__button:active {
    transform: scale(0.97);
}

.form__button-arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.form__button:hover .form__button-arrow {
    transform: none;
}

.form__button-spinner {
    display: none;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form__button--sending .form__button-arrow { display: none; }
.form__button--sending .form__button-spinner { display: block; }
.form__button--sending { opacity: 0.6; pointer-events: none; }

.contact__status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gold);
    min-height: 1.5em;
}

.contact__status--success { color: var(--color-gold); }
.contact__status--error { color: #e25c5c; }

/* -- Contact info -- */
.contact__cta {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 300;

    color: var(--color-cream);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.contact__detail {
    font-size: 0.92rem;
    color: var(--color-beige);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact__email a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

.contact__email a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-gold-dim);
    transition: background 0.3s;
}

.contact__email a:hover::after {
    background: var(--color-gold);
}

/* -- Social links -- */
.contact__social {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--color-gold);
    transition: opacity 0.3s, color 0.3s;
}

.social-link:hover {
    opacity: 1;
    color: var(--color-gold);
}


/* ============================
   SUBPAGES (Legal, Privacy)
   ============================ */
.subpage#page-scroll {
    top: 0;
    padding-top: 0;
    scroll-padding-top: 0;
}
.subpage {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: var(--color-bg);
}

.subpage-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
    background: rgba(var(--color-bg-rgb), 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.subpage-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.subpage-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.subpage-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-beige);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.subpage-back:hover { opacity: 1; }

.subpage-logo__img {
    height: 30px;
    opacity: 0.8;
}

.subpage-logo--icon { display: none !important; }

@media (max-width: 700px) {
    .subpage-logo--full { display: none !important; }
    .subpage-logo--icon.logo--dark { display: block !important; }
    .subpage-logo--icon.logo--light { display: none !important; }
    [data-theme="light"] .subpage-logo--icon.logo--dark { display: none !important; }
    [data-theme="light"] .subpage-logo--icon.logo--light { display: block !important; }
}

.subpage-main {
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.subpage-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.subpage-section {
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.subpage-section h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.subpage-section p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-beige);
    line-height: 1.7;
    opacity: 0.85;
}

.subpage-section a {
    color: var(--color-gold);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.subpage-section a:hover { opacity: 1; }


/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--color-bg);
    padding: 70px 0 1.5rem;
    position: relative;
    z-index: 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding-top: 10px;
}

.footer__copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-beige);
    opacity: 0.5;
}

.footer__copyright {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-beige);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer__link:hover {
    opacity: 1;
}

.footer__sep {
    font-size: 0.75rem;
    color: var(--color-beige);
    opacity: 0.3;
    margin: 0 0.25rem;
}
