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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #181818;
    --bg-elevated: #1e1e1e;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #d4a84b;
    --accent-dim: #c4952a;
    --accent-glow: rgba(212, 168, 75, 0.08);
    --border: #2a2a2a;
    --border-light: #333333;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 16px auto 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; }

/* ===== Member services ===== */
.service-shell { max-width: 920px; padding-top: 112px; padding-bottom: 72px; }
.service-shell h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 16px 0 8px; }
.service-back, .service-hint { color: var(--accent); font-size: .9rem; }
.service-intro { color: var(--text-secondary); max-width: 680px; }
.service-section { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border); }
.service-section h2, .service-list h2 { font-size: 1.3rem; margin-bottom: 18px; }
.service-form { display: grid; gap: 16px; max-width: 680px; margin: 28px 0; padding: 24px; border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--radius); }
.service-form.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.service-form label { display: grid; gap: 8px; color: var(--text-secondary); font-size: .9rem; }
.service-form input, .service-form select, .service-form textarea { width: 100%; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); padding: 11px 12px; }
.service-form textarea { min-height: 108px; resize: vertical; }
.service-form input[type=file] { padding: 8px; }
.service-form .checkbox-label { display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.service-form .checkbox-label input { width: auto; }
.service-form .btn { justify-self: start; }
.service-message { margin-top: 22px; padding: 12px 14px; border: 1px solid rgba(212,168,75,.35); color: var(--text-primary); background: var(--accent-glow); border-radius: var(--radius-sm); }
.service-message.is-error { border-color: #b85c5c; color: #ffc1c1; background: rgba(184,92,92,.1); }
.service-list { margin-top: 44px; }
.service-record, .admin-table > div { padding: 18px; margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); }
.service-record strong, .admin-table strong { display: block; }
.service-record time, .admin-table span { display: block; margin-top: 5px; color: var(--text-secondary); font-size: .85rem; }
.service-record p { margin-top: 10px; color: var(--text-secondary); }
.service-empty { color: var(--text-muted); padding: 18px 0; }
.status-pill { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 999px; background: var(--accent-glow); color: var(--accent); font-size: .75rem; }
.parameter-image { display: block; max-width: min(100%, 600px); max-height: 700px; margin-top: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.calendar-panel { width: 100%; max-width: 820px; margin: 34px auto 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.booking-page [data-day-detail], .booking-page [data-booking-form], .booking-page .service-list { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.booking-page [data-day-detail][hidden], .booking-page [data-booking-form][hidden] { display: none !important; }
.booking-page [data-booking-form] { margin-top: 28px; margin-bottom: 28px; }
.booking-page .service-message { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calendar-head h2 { font-size: 1.25rem; }
.calendar-head .btn { padding: 8px 13px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0; color: var(--text-secondary); font-size: .78rem; }
.calendar-legend .is-open { color: #f5f5f5; }.calendar-legend .is-full { color: #c89c4b; }.calendar-legend .is-closed { color: #777; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays span { padding-bottom: 3px; text-align: center; color: var(--text-muted); font-size: .72rem; }
.calendar-day { min-height: 70px; padding: 7px 6px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-secondary); color: var(--text-secondary); text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.calendar-day:not(.is-empty):not(.is-expired):not(:disabled):hover { border-color: var(--accent); transform: translateY(-1px); }
.calendar-day strong, .calendar-day small, .calendar-day em { display: block; }.calendar-day strong { font-size: .9rem; font-weight: 600; line-height: 1.1; }.calendar-day small { margin-top: 4px; font-size: .64rem; line-height: 1.25; }.calendar-day em { margin-top: 4px; color: var(--text-muted); font-size: .61rem; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-day.is-open { border-color: rgba(245,245,245,.6); color: #f5f5f5; }.calendar-day.is-full { border-color: rgba(200,156,75,.58); background: #17140e; color: #c89c4b; }.calendar-day.is-closed { color: #666; }.calendar-day.is-expired { border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.012); color: #4d4d4d; cursor: default; opacity: .58; transform: none; }.calendar-day.is-expired:hover { border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.012); color: #4d4d4d; transform: none; }.calendar-day.is-empty { border-color: transparent; background: transparent; pointer-events: none; }
.admin-booking-calendar { width: 100%; max-width: 820px; margin: 24px auto 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.admin-calendar-staff { display: grid; gap: 8px; margin-bottom: 22px; color: var(--text-secondary); font-size: .86rem; }
.admin-calendar-staff select { width: 100%; border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 11px 12px; background: var(--bg-secondary); color: var(--text-primary); }
.admin-booking-calendar .calendar-legend .is-selected { color: var(--accent); }
.admin-calendar-grid .calendar-day { min-height: 76px; }
.admin-calendar-grid .calendar-day.is-selected { border-color: var(--accent); background: linear-gradient(145deg, rgba(212,168,75,.2), rgba(212,168,75,.06)); color: #fff3cf; box-shadow: inset 0 0 0 1px rgba(212,168,75,.22); }
.admin-calendar-grid .calendar-day.is-selected:hover { border-color: #efd080; }
.admin-calendar-grid .calendar-day em { white-space: normal; line-height: 1.35; }
.admin-calendar-selection-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.admin-calendar-selection-bar strong { flex: 1 1 320px; color: var(--text-secondary); font-size: .78rem; font-weight: 500; line-height: 1.6; }
.admin-calendar-selection-bar .btn { padding: 7px 11px; font-size: .75rem; }
.admin-calendar-selection-bar .btn.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.availability-publish-form { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.owner-calendar-actions { width: 100%; max-width: 820px; margin: 18px auto 44px; padding: 17px 18px; border: 1px solid rgba(212,168,75,.34); border-radius: var(--radius-sm); background: rgba(212,168,75,.055); }
.owner-calendar-actions > strong, .owner-calendar-actions > span { display: block; }
.owner-calendar-actions > span { margin: 5px 0 13px; color: var(--text-secondary); font-size: .8rem; }
.slot-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 10px 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); }.slot-card strong,.slot-card span { display: block; }.slot-card span,.slot-card p { color: var(--text-secondary); font-size: .86rem; }.slot-card p { margin-top: 5px; }
.admin-table > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 14px; }
.admin-table em { color: var(--accent); font-size: .8rem; font-style: normal; }
.admin-table select { border: 1px solid var(--border-light); border-radius: 6px; padding: 7px; background: var(--bg-secondary); color: var(--text-primary); }
.service-form-actions, .work-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-danger { background: transparent; color: #ffaaaa; border: 1px solid rgba(255, 110, 110, .45); }
.btn-danger:hover { color: #fff; border-color: #e66; background: rgba(220, 70, 70, .16); }
.admin-stat-link { cursor: pointer; transition: var(--transition); }
.admin-stat-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.published-work-card .work-cover img { width: 100%; height: 100%; object-fit: cover; }
.published-work-card .work-cover { cursor: pointer; }
.published-work-description { margin: 12px 0; color: var(--text-secondary); font-size: .88rem; }
.published-work-audio { width: 100%; margin-top: 14px; }
.work-preview-missing { margin-top: 12px; color: var(--text-muted); font-size: .76rem; line-height: 1.5; }
@media (max-width: 680px) { .service-shell { padding: 92px 20px 48px; } .service-form.compact { grid-template-columns: 1fr; } .admin-table > div { grid-template-columns: 1fr; gap: 7px; } .calendar-panel, .admin-booking-calendar { padding: 13px; } .calendar-day { min-height: 58px; padding: 6px 4px; } .admin-calendar-grid .calendar-day { min-height: 62px; } .calendar-day strong { font-size: .82rem; } .calendar-day em { display: none; } .calendar-day small { font-size: .58rem; } .admin-calendar-selection-bar strong { flex-basis: 100%; } .slot-card { align-items: flex-start; flex-direction: column; } }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(10,10,10,0.72), rgba(10,10,10,0));
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid rgba(212, 168, 75, 0.34);
    border-radius: 8px;
    background: rgba(212, 168, 75, 0.025);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-logo:hover,
.nav-logo:focus-visible {
    border-color: rgba(212, 168, 75, 0.76);
    background: rgba(212, 168, 75, 0.09);
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.52;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-waves-bg {
    position: absolute;
    left: 52%;
    top: 57%;
    width: min(88vw, 1380px);
    height: min(74vh, 670px);
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 55%;
    opacity: 0.18;
    filter: contrast(1.08);
}

.hero-facet-logo {
    position: absolute;
    right: clamp(24px, 4.8vw, 88px);
    top: 51%;
    width: clamp(280px, 29vw, 470px);
    max-height: 78vh;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: 0.72;
    filter: drop-shadow(0 0 36px rgba(255,255,255,0.05));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(10,10,10,0.94) 0%,
            rgba(10,10,10,0.78) 32%,
            rgba(10,10,10,0.34) 61%,
            rgba(10,10,10,0.18) 82%,
            rgba(10,10,10,0.48) 100%),
        linear-gradient(180deg,
            rgba(10,10,10,0.18) 0%,
            rgba(10,10,10,0.08) 52%,
            rgba(10,10,10,0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid rgba(212, 168, 75, 0.3);
    padding: 5px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.6s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s 0.8s forwards;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 72px;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0;
    animation: fadeInUp 0.6s 1s forwards, bounceDown 2s ease-in-out 1.5s infinite;
}

.hero-scroll span { letter-spacing: 0.1em; }

@keyframes fadeInUp {
    from { opacity:0; transform: translateY(20px); }
    to { opacity:1; transform: translateY(0); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== Works ===== */
.works { background: var(--bg-primary); }

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.works-listening-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.6;
    text-align: center;
}

.work-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}

.work-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.work-cover {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
}

.work-cover-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.work-cover-placeholder::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent);
    animation: rotateGlow 8s linear infinite;
    opacity: 0.3;
}

.work-cover-placeholder i {
    position: relative;
    z-index: 1;
}

/* Real cover image - replace placeholder */
.work-cover img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.work-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-info { margin-bottom: 10px; }

.work-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-artist {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.work-genre {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.work-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.play-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.play-btn.playing {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a0a;
}

.work-waveform {
    flex: 1;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.waveform-bars {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.waveform-bars::before {
    content: '';
    display: block;
    width: 100%;
    height: 28px;
    background: repeating-linear-gradient(
        90deg,
        var(--border-light) 0px,
        var(--border-light) 2px,
        transparent 2px,
        transparent 6px
    );
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M5,15 L5,10 L8,10 L8,15 M12,15 L12,5 L15,5 L15,15 M19,15 L19,8 L22,8 L22,15 M26,15 L26,3 L29,3 L29,15 M33,15 L33,12 L36,12 L36,15 M40,15 L40,6 L43,6 L43,15 M47,15 L47,18 L50,18 L50,15 M54,15 L54,9 L57,9 L57,15 M61,15 L61,4 L64,4 L64,15 M68,15 L68,14 L71,14 L71,15 M75,15 L75,7 L78,7 L78,15 M82,15 L82,11 L85,11 L85,15 M89,15 L89,2 L92,2 L92,15 M96,15 L96,13 L99,13 L99,15 M103,15 L103,8 L106,8 L106,15 M110,15 L110,5 L113,5 L113,15 M117,15 L117,10 L120,10 L120,15 M124,15 L124,3 L127,3 L127,15 M131,15 L131,12 L134,12 L134,15 M138,15 L138,6 L141,6 L141,15 M145,15 L145,9 L148,9 L148,15 M152,15 L152,4 L155,4 L155,15 M159,15 L159,11 L162,11 L162,15 M166,15 L166,7 L169,7 L169,15 M173,15 L173,14 L176,14 L176,15 M180,15 L180,5 L183,5 L183,15 M187,15 L187,8 L190,8 L190,15 M194,15 L194,10 L197,10 L197,15' fill='%23d4a84b' opacity='0.12'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M5,15 L5,10 L8,10 L8,15 M12,15 L12,5 L15,5 L15,15 M19,15 L19,8 L22,8 L22,15 M26,15 L26,3 L29,3 L29,15 M33,15 L33,12 L36,12 L36,15 M40,15 L40,6 L43,6 L43,15 M47,15 L47,18 L50,18 L50,15 M54,15 L54,9 L57,9 L57,15 M61,15 L61,4 L64,4 L64,15 M68,15 L68,14 L71,14 L71,15 M75,15 L75,7 L78,7 L78,15 M82,15 L82,11 L85,11 L85,15 M89,15 L89,2 L92,2 L92,15 M96,15 L96,13 L99,13 L99,15 M103,15 L103,8 L106,8 L106,15 M110,15 L110,5 L113,5 L113,15 M117,15 L117,10 L120,10 L120,15 M124,15 L124,3 L127,3 L127,15 M131,15 L131,12 L134,12 L134,15 M138,15 L138,6 L141,6 L141,15 M145,15 L145,9 L148,9 L148,15 M152,15 L152,4 L155,4 L155,15 M159,15 L159,11 L162,11 L162,15 M166,15 L166,7 L169,7 L169,15 M173,15 L173,14 L176,14 L176,15 M180,15 L180,5 L183,5 L183,15 M187,15 L187,8 L190,8 L190,15 M194,15 L194,10 L197,10 L197,15' fill='%23d4a84b' opacity='0.12'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.waveform-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-dim));
    border-radius: 2px;
    opacity: 0.12;
    transition: width 0.1s linear;
}

.work-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.work-tags span {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* ===== Services ===== */
.services { background: var(--bg-secondary); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.service-card.featured {
    border-color: rgba(212, 168, 75, 0.2);
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0a0a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(212, 168, 75, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-title small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-meaning {
    min-height: 3.2em;
    margin: 0 0 20px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: left;
}

.service-features-list {
    text-align: left;
    margin-bottom: 20px;
}

.service-features-list p {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.service-features-list p i {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.service-price { margin-bottom: 24px; }

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 3px;
}

/* Service extras */
.service-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-extra-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.service-extra-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.extra-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: 10px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
}

.service-extra-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-extra-card h4 small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

.service-extra-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Service notices */
.service-notice {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-notice:last-child { margin-bottom: 0; }

.service-notice h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-notice h4 i { font-size: 0.85rem; }

.notice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notice-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.step-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

/* Service category */
.service-category {
    margin-bottom: 60px;
}

.service-category:last-child { margin-bottom: 0; }

.service-category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.service-category-header i {
    font-size: 1.2rem;
    color: var(--accent);
}

.service-category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 谭玉堂分轨混音服务标题略作强调，保持与其他服务分区统一。 */
.service-category--tanyutang .service-category-header h3 {
    font-size: 1.35rem;
}

/* ===== About ===== */
.about { background: var(--bg-primary); }

.team-manifesto,
.team-tier {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

.team-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    min-height: 410px;
    padding: clamp(30px, 6vw, 64px);
    background:
        radial-gradient(circle at 88% 28%, rgba(212, 168, 75, 0.11), transparent 22rem),
        linear-gradient(135deg, #1a1a1a, #111);
}

.team-manifesto::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(rgba(255,255,255,0.18) 0.55px, transparent 0.55px);
    background-size: 8px 8px;
    pointer-events: none;
}

.team-tier-number {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.team-manifesto-content {
    position: relative;
    z-index: 2;
}

.manifesto-stone-art {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    min-height: 285px;
    margin-left: auto;
    filter: drop-shadow(0 30px 45px rgba(0,0,0,0.55));
}

.raw-stone {
    position: absolute;
    top: 30px;
    right: 14px;
    width: 275px;
    height: 230px;
    overflow: hidden;
    clip-path: polygon(17% 7%, 72% 0, 96% 28%, 87% 75%, 58% 100%, 13% 87%, 0 43%);
    background:
        radial-gradient(circle at 67% 35%, rgba(235,202,122,0.2), transparent 21%),
        linear-gradient(137deg, #3b3935 0%, #1d1c1a 42%, #090909 100%);
    animation: stoneFloat 8s ease-in-out infinite;
}

.raw-stone::before {
    content: '';
    position: absolute;
    inset: 10px;
    clip-path: polygon(13% 11%, 70% 0, 93% 30%, 83% 73%, 55% 94%, 17% 82%, 2% 44%);
    border: 1px solid rgba(212,168,75,0.18);
    background: linear-gradient(145deg, rgba(255,255,255,0.055), transparent 48%);
}

.raw-stone::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(255,255,255,0.24) 0.7px, transparent 0.7px);
    background-size: 6px 6px;
    mix-blend-mode: soft-light;
}

.raw-stone-facet,
.raw-stone-core {
    position: absolute;
    z-index: 2;
}

.raw-stone-facet.facet-one {
    top: 0;
    left: 16%;
    width: 56%;
    height: 53%;
    clip-path: polygon(0 14%, 100% 0, 74% 100%, 18% 82%);
    border-right: 1px solid rgba(245,220,157,0.2);
    background: linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0.01));
}

.raw-stone-facet.facet-two {
    right: 3%;
    bottom: 12%;
    width: 50%;
    height: 58%;
    clip-path: polygon(34% 0, 100% 28%, 78% 100%, 0 85%);
    border-left: 1px solid rgba(212,168,75,0.15);
    background: linear-gradient(210deg, rgba(212,168,75,0.12), transparent 58%);
}

.raw-stone-core {
    top: 76px;
    left: 94px;
    width: 86px;
    height: 96px;
    clip-path: polygon(50% 0, 91% 28%, 77% 79%, 50% 100%, 18% 76%, 7% 29%);
    border: 1px solid rgba(240,202,112,0.42);
    background:
        linear-gradient(145deg, rgba(255,241,191,0.32), rgba(212,168,75,0.11) 38%, rgba(15,13,9,0.42));
    box-shadow: 0 0 45px rgba(212,168,75,0.13);
}

.crystal-chip {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(212,168,75,0.32);
    background: linear-gradient(145deg, rgba(212,168,75,0.2), rgba(20,18,13,0.25));
    transform: rotate(17deg);
}

.crystal-chip-one {
    right: 2px;
    bottom: 18px;
    width: 42px;
    height: 50px;
    clip-path: polygon(50% 0, 100% 35%, 77% 100%, 18% 82%, 0 32%);
}

.crystal-chip-two {
    left: 20px;
    bottom: 38px;
    width: 30px;
    height: 36px;
    clip-path: polygon(45% 0, 100% 40%, 70% 100%, 8% 74%, 0 24%);
}

.stone-dust {
    position: absolute;
    z-index: 4;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(212,168,75,0.62);
    box-shadow: 0 0 12px rgba(212,168,75,0.35);
}

.stone-dust-one { top: 35px; left: 32px; }
.stone-dust-two { top: 104px; right: 0; width: 3px; height: 3px; }
.stone-dust-three { bottom: 15px; left: 94px; width: 4px; height: 4px; }

@keyframes stoneFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.team-slogan {
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: clamp(2.5rem, 7vw, 5.9rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.96;
}

.team-manifesto-copy {
    max-width: 770px;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.8;
}

.team-embrace {
    margin-top: 22px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    color: var(--accent);
    font-size: clamp(0.96rem, 1.8vw, 1.12rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.team-tier {
    margin-top: 28px;
    padding: clamp(28px, 5vw, 54px);
}

.team-tier-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.team-kicker,
.team-role {
    display: block;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.team-tier-heading h3 {
    max-width: 720px;
    margin-top: 10px;
    font-size: clamp(1.55rem, 4vw, 2.75rem);
    letter-spacing: -0.035em;
    line-height: 1.16;
}

.team-tier-subtitle {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.resident-tier {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent 45%),
        var(--bg-card);
}

.resident-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.resident-card {
    position: relative;
    min-height: 390px;
    padding: clamp(24px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(212,168,75,0.3);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(212,168,75,0.055), transparent 58%), #111;
}

.resident-card::after {
    content: '';
    position: absolute;
    inset: auto -55px -110px auto;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(212,168,75,0.14);
    transform: rotate(45deg);
    pointer-events: none;
}

.resident-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.resident-card h4 {
    margin-top: 10px;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    letter-spacing: -0.07em;
    line-height: 0.95;
}

.resident-mark {
    color: rgba(212,168,75,0.22);
    font-size: clamp(3.8rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.8;
}

.resident-lead {
    max-width: 500px;
    margin-top: 30px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.65;
}

.resident-quote {
    max-width: 500px;
    margin-top: 18px;
    padding: 13px 0 13px 16px;
    border-left: 2px solid var(--accent);
    color: var(--text-primary);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-weight: 600;
    line-height: 1.7;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.team-tags span {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.collaboration-list {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.collaboration-list > span {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.collaboration-list p {
    margin-top: 9px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.8;
}

.resident-cuts-block {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}

.resident-cuts-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.resident-cuts-heading h4 {
    margin-top: 7px;
    font-size: 1.35rem;
}

.resident-cuts-heading p {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.resident-cuts-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.team-empty-state {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 124px;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.hana-cut-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #101010;
    transition: var(--transition);
}

.hana-cut-card:hover {
    border-color: rgba(212,168,75,0.48);
    transform: translateY(-2px);
}

.hana-cut-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #242424, #101010);
    cursor: pointer;
}

.hana-cut-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hana-cut-cover-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(212,168,75,0.6);
    font-size: 1.6rem;
}

.hana-cut-play {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0a;
    cursor: pointer;
}

.hana-cut-body { padding: 10px; }
.hana-cut-title { overflow: hidden; color: var(--text-primary); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.hana-cut-meta { display: block; margin-top: 3px; overflow: hidden; color: var(--text-muted); font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.hana-cut-progress { height: 2px; margin-top: 9px; overflow: hidden; background: var(--border); }
.hana-cut-progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.hana-cut-time { display: block; margin-top: 5px; color: var(--text-muted); font-size: 0.58rem; }

.guest-tier {
    border-color: rgba(212,168,75,0.48);
    background:
        radial-gradient(circle at 86% 2%, rgba(212,168,75,0.13), transparent 26%),
        linear-gradient(110deg, rgba(212,168,75,0.09), transparent 38%),
        #12110e;
    box-shadow: inset 0 1px 0 rgba(245,217,154,0.08), 0 28px 70px rgba(0,0,0,0.2);
}

.guest-tier::before {
    content: '';
    position: absolute;
    top: -210px;
    right: -150px;
    width: 510px;
    height: 510px;
    border: 1px solid rgba(212,168,75,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.guest-tier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    width: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,202,112,0.88), transparent);
    pointer-events: none;
}

.guest-tier .team-tier-heading {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(212,168,75,0.17);
}

.guest-kicker {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.guest-kicker small {
    color: rgba(212,168,75,0.72);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
}

.guest-kicker strong {
    color: #ebca7b;
    font-size: 0.88rem;
    letter-spacing: 0.13em;
}

.guest-tier #guest-title {
    font-size: clamp(2.25rem, 5vw, 3.8rem);
    text-shadow: 0 8px 30px rgba(0,0,0,0.42);
}

.guest-tier .team-tier-number {
    color: rgba(225,189,105,0.72);
    letter-spacing: 0.18em;
}

.guest-showcase {
    display: block;
}

.guest-wall-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 18px;
}

.guest-wall-heading span {
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.guest-wall-heading p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.guest-wall-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.guest-album-wall {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border-radius: var(--radius);
    background: #090909;
    box-shadow: 0 24px 64px rgba(0,0,0,0.32);
}

.wall-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1;
    background: #161616;
}

.wall-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.04);
    transition: filter 0.45s ease, transform 0.7s cubic-bezier(.2,.75,.2,1);
}

.wall-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 36%, rgba(0,0,0,0.18));
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.wall-tile:hover { z-index: 2; }
.wall-tile:hover img { filter: saturate(1.08) contrast(1.03); transform: scale(1.07); }
.wall-tile:hover::after { opacity: 0; }

.wall-tile--hero,
.wall-tile--large,
.wall-tile--wide,
.wall-tile--tall { grid-column: auto; grid-row: auto; }

.guest-wall-layout > .wall-cta {
    display: flex;
    grid-column: 1;
    grid-row: auto;
    min-height: 116px;
    aspect-ratio: auto;
    padding: clamp(20px, 2.8vw, 32px);
    border: 1px solid rgba(212,168,75,0.34);
    border-radius: var(--radius);
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background:
        radial-gradient(circle at 88% 10%, rgba(212,168,75,0.22), transparent 36%),
        linear-gradient(140deg, #211b0f, #0c0c0b 68%);
    box-shadow: inset 0 0 0 1px rgba(212,168,75,0.32);
}

.guest-wall-layout > .wall-cta::after {
    top: -12%;
    right: -20%;
    width: 70%;
    height: 70%;
    border-color: rgba(212,168,75,0.32);
}

.guest-wall-layout > .wall-cta:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(243,208,130,0.88), 0 24px 52px rgba(0,0,0,0.38); }
.guest-wall-layout > .wall-cta > i { order: 3; margin-left: auto; color: var(--accent); font-size: 1.1rem; }
.guest-wall-layout > .wall-cta > span { order: 1; margin-top: 0; color: var(--accent); font-size: 0.55rem; letter-spacing: 0.14em; }
.guest-wall-layout > .wall-cta strong { order: 2; margin: 0; font-size: clamp(1rem, 1.6vw, 1.32rem); }

.guest-signature {
    display: block;
    color: var(--accent);
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.84;
}

.guest-album-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 10px;
    margin-top: 30px;
}

.album-placeholder,
.guest-playlist-card {
    aspect-ratio: 1;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.album-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 12px;
    background:
        radial-gradient(circle at 78% 20%, rgba(212,168,75,0.1), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,0.04), transparent 55%),
        #161512;
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.album-placeholder::after {
    content: '';
    position: absolute;
    inset: -35%;
    opacity: 0;
    background: linear-gradient(115deg, transparent 36%, rgba(255,235,174,0.12) 50%, transparent 64%);
    transform: translateX(-45%) rotate(8deg);
    transition: opacity 0.3s ease, transform 0.55s ease;
}

.album-placeholder:hover {
    z-index: 2;
    border-color: rgba(212,168,75,0.48);
    box-shadow: 0 16px 35px rgba(0,0,0,0.42);
    transform: translateY(-6px) scale(1.025);
}

.album-placeholder:hover::after {
    opacity: 1;
    transform: translateX(45%) rotate(8deg);
}

.album-placeholder span { font-size: 0.65rem; letter-spacing: 0.12em; }
.album-placeholder small { font-size: 0.6rem; }

.guest-playlist-card {
    position: relative;
    display: flex;
    grid-column: 6 / span 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(18px, 2.2vw, 28px);
    border-color: rgba(212,168,75,0.46);
    background:
        radial-gradient(circle at 82% 12%, rgba(229,190,104,0.2), transparent 30%),
        linear-gradient(145deg, #211b10, #0c0c0b 62%);
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025), 0 20px 48px rgba(0,0,0,0.34);
    transition: var(--transition);
}

.guest-playlist-card::after {
    content: '';
    position: absolute;
    top: -34%;
    right: -28%;
    width: 80%;
    aspect-ratio: 1;
    border: 1px solid rgba(212,168,75,0.22);
    transform: rotate(38deg);
}

.guest-playlist-card:hover {
    border-color: rgba(238,204,127,0.8);
    background:
        radial-gradient(circle at 82% 12%, rgba(229,190,104,0.28), transparent 34%),
        linear-gradient(145deg, #292013, #0d0c0a 62%);
    box-shadow: 0 24px 56px rgba(0,0,0,0.48), 0 0 28px rgba(212,168,75,0.08);
    transform: translateY(-4px);
}

.guest-wall-layout > .wall-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    min-height: 146px;
    gap: clamp(18px, 3vw, 38px);
    background:
        linear-gradient(90deg, rgba(212,168,75,0.08), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(212,168,75,0.18), transparent 34%),
        #0e0d0a;
}

.guest-wall-layout > .wall-cta::before {
    content: 'CLICK TO LISTEN';
    position: absolute;
    right: 24px;
    bottom: 14px;
    z-index: 1;
    color: rgba(212,168,75,0.34);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.wall-cta-disc,
.wall-cta-copy,
.wall-cta-wave,
.wall-cta-action { position: relative; z-index: 2; }

.guest-wall-layout > .wall-cta > .wall-cta-disc {
    display: grid;
    width: clamp(62px, 7vw, 82px);
    aspect-ratio: 1;
    margin: 0;
    place-items: center;
    border: 1px solid rgba(239,205,126,0.45);
    border-radius: 50%;
    background:
        radial-gradient(circle, #16140f 0 19%, transparent 20%),
        repeating-radial-gradient(circle, rgba(229,194,111,0.14) 0 2px, transparent 3px 6px),
        #090909;
    color: var(--accent);
    font-size: 0.78rem;
    box-shadow: 0 0 0 8px rgba(212,168,75,0.025);
    transition: transform 0.55s cubic-bezier(.2,.75,.2,1), border-color 0.35s ease;
}

.wall-cta:hover .wall-cta-disc { border-color: rgba(246,215,143,0.85); transform: rotate(16deg) scale(1.04); }

.guest-wall-layout > .wall-cta > .wall-cta-copy {
    display: flex;
    min-width: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text-primary);
    letter-spacing: 0;
}

.wall-cta-copy small { color: var(--accent); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.15em; }
.guest-playlist-card .wall-cta-copy strong { order: 0; margin: 8px 0 7px; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.08; }
.wall-cta-copy > span { color: var(--text-secondary); font-size: 0.72rem; letter-spacing: 0; }
.wall-cta-copy > span i { margin-right: 6px; color: var(--accent); }

.guest-wall-layout > .wall-cta > .wall-cta-wave {
    display: flex;
    height: 38px;
    margin: 0;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    letter-spacing: 0;
}

.wall-cta-wave i { display: block; width: 2px; height: 34%; background: currentColor; opacity: 0.5; transition: height 0.35s ease, opacity 0.35s ease; }
.wall-cta-wave i:nth-child(2), .wall-cta-wave i:nth-child(6) { height: 56%; }
.wall-cta-wave i:nth-child(3), .wall-cta-wave i:nth-child(5) { height: 84%; }
.wall-cta-wave i:nth-child(4) { height: 100%; }
.wall-cta:hover .wall-cta-wave i { height: 76%; opacity: 0.9; }
.wall-cta:hover .wall-cta-wave i:nth-child(even) { height: 100%; }

.guest-wall-layout > .wall-cta > .wall-cta-action {
    display: inline-flex;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid rgba(212,168,75,0.34);
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.65rem;
    letter-spacing: 0;
    white-space: nowrap;
}

.guest-contact-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 102px;
    padding: clamp(16px, 2vw, 22px) clamp(20px, 2.8vw, 32px);
    overflow: hidden;
    border: 1px solid rgba(212,168,75,0.24);
    border-radius: var(--radius);
    align-items: center;
    gap: clamp(18px, 3vw, 32px);
    background: linear-gradient(100deg, rgba(212,168,75,0.055), transparent 42%), #101010;
    color: var(--text-primary);
    transition: var(--transition);
}

.guest-contact-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto auto;
    width: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,75,0.7));
}

.guest-contact-card:hover { border-color: rgba(235,200,119,0.62); background: linear-gradient(100deg, rgba(212,168,75,0.1), transparent 46%), #111; transform: translateY(-2px); }
.guest-contact-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(212,168,75,0.34); border-radius: 50%; color: var(--accent); }
.guest-contact-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.guest-contact-copy small { color: var(--accent); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.14em; }
.guest-contact-copy strong { margin: 4px 0 3px; font-size: clamp(1.02rem, 1.6vw, 1.28rem); }
.guest-contact-copy > span { color: var(--text-secondary); font-size: 0.74rem; }
.guest-contact-action { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 0.7rem; font-weight: 700; white-space: nowrap; }

.external-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.65rem;
    font-weight: 700;
}

.advisor-tier {
    padding-top: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(28px, 4vw, 44px);
    background:
        linear-gradient(rgba(212,168,75,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,168,75,0.035) 1px, transparent 1px),
        #111;
    background-size: 32px 32px;
}

.advisor-profile {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.7fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: stretch;
}

.advisor-copy .team-role { margin-top: 22px; }
.advisor-copy h3 { margin: 14px 0 18px; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.055em; line-height: 0.98; }
.advisor-copy > p { max-width: 700px; color: var(--text-secondary); font-size: 0.86rem; }
.advisor-copy .advisor-credential { margin-top: 14px; color: var(--text-primary); line-height: 1.8; }

.advisor-link-card {
    display: grid;
    min-height: 310px;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(212,168,75,0.36);
    border-radius: var(--radius);
    background: rgba(10,10,10,0.82);
    transition: var(--transition);
}

.advisor-link-card:hover { border-color: var(--accent); background: #15130e; transform: translateY(-3px); }
.advisor-link-image { display: block; min-height: 220px; overflow: hidden; background: #fff; }
.advisor-link-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(.2,.75,.2,1); }
.advisor-link-card:hover .advisor-link-image img { transform: scale(1.025); }
.advisor-link-copy { display: flex; padding: 18px 20px; flex-direction: column; color: var(--text-muted); }
.advisor-link-copy small { font-size: 0.63rem; }
.advisor-link-card strong { margin: 6px 0 14px; font-size: 1rem; letter-spacing: 0.02em; }
.advisor-link-card .external-card-action { color: var(--accent); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    aspect-ratio: 1;
    max-width: 340px;
    width: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent, rgba(42,157,110,0.06), transparent);
    animation: rotateGlow 8s linear infinite;
    opacity: 0.4;
}

.about-image-placeholder i { position: relative; z-index: 1; }

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

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Equipment */
.about-equipment {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.equipment-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 650px;
    margin: 0 auto;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 14px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.equipment-item.featured-gear {
    border-color: rgba(212, 168, 75, 0.2);
    background: rgba(212, 168, 75, 0.04);
}

.equipment-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.equipment-model {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.featured-gear .equipment-model {
    color: var(--accent);
}

.equipment-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ===== Contact ===== */
.contact { background: var(--bg-secondary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(212, 168, 75, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
}

.contact-item h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item a,
.contact-item p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-item a:hover { color: var(--accent); }

.contact-social {
    display: flex;
    gap: 10px;
    padding: 16px 18px;
}

.contact-social a,
.contact-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1.05rem;
}

.contact-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-note {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

.form-status {
    min-height: 1.5em;
    margin-top: 12px;
    color: var(--accent);
    text-align: center;
    font-size: 0.82rem;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-filing {
    margin-top: 8px;
    font-size: 0.75rem;
}

.footer-filing a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-filing a:hover,
.footer-filing a:focus-visible {
    color: var(--accent);
}

.footer-duty-note {
    margin: 12px auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 0.68rem;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-image-placeholder { max-width: 260px; }
    .works-grid { grid-template-columns: 1fr; }
    .work-card { flex-direction: column; }
    .work-cover { width: 100%; height: auto; aspect-ratio: 1; max-width: 260px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-title { font-size: 2rem; }
    .equipment-grid { grid-template-columns: repeat(3, 1fr); }
    .resident-cuts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .guest-album-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .guest-playlist-card { grid-column: 5 / span 2; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle { display: flex; }

    .nav-link {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .hero { min-height: 500px; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-scroll { margin-top: 48px; }
    .hero-waves-bg {
        left: 50%;
        top: 61%;
        width: 150vw;
        height: 62vh;
        opacity: 0.13;
    }
    .hero-facet-logo {
        right: -11%;
        top: 43%;
        width: min(58vw, 310px);
        max-height: 58vh;
        opacity: 0.28;
    }
    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(10,10,10,0.93) 0%, rgba(10,10,10,0.72) 58%, rgba(10,10,10,0.42) 100%),
            linear-gradient(180deg, rgba(10,10,10,0.12) 0%, rgba(10,10,10,0.28) 58%, rgba(10,10,10,0.94) 100%);
    }

    .form-row { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .services-grid { max-width: 100%; }
    .contact-form { padding: 24px; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .service-extras { grid-template-columns: 1fr; max-width: 400px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .team-manifesto { grid-template-columns: 1fr; }
    .manifesto-stone-art { width: min(100%, 320px); min-height: 245px; margin: -18px auto 0; }
    .raw-stone { transform: scale(0.88); transform-origin: center; }
    .resident-grid { grid-template-columns: 1fr; }
    .resident-cuts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guest-album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guest-playlist-card { grid-column: 2 / span 2; grid-row: 1 / span 2; }
    .advisor-profile { grid-template-columns: 1fr; }
    .advisor-link-card { min-height: 210px; }

    .guest-wall-layout { grid-template-columns: 1fr; }
    .guest-album-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .guest-wall-layout > .wall-cta { min-height: 116px; }
    .wall-cta-wave { display: none !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-facet-logo {
        right: -20%;
        top: 38%;
        width: 68vw;
        opacity: 0.2;
    }
    .hero-waves-bg {
        top: 65%;
        width: 185vw;
        opacity: 0.11;
    }

    .section-title { font-size: 1.65rem; }
    .about-stats { grid-template-columns: 1fr; }
    .work-card { padding: 20px; }
    .equipment-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .service-notice { padding: 20px; }
    .team-tier { padding: 24px 18px; }
    .team-tier-number { display: none; }
    .team-manifesto { padding: 30px 20px; }
    .manifesto-stone-art { min-height: 220px; transform: scale(0.86); transform-origin: center top; }
    .resident-card { min-height: 0; padding: 25px 20px; }
    .resident-card h4 { font-size: 3rem; }
    .resident-mark { font-size: 4.2rem; }
    .resident-cuts-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .resident-cuts-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .guest-album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .album-placeholder { padding: 9px; }
    .guest-playlist-card { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 2.2 / 1; }
    .guest-wall-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .guest-album-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guest-wall-layout { gap: 14px; }
    .guest-wall-layout > .wall-cta { grid-template-columns: auto minmax(0, 1fr); min-height: 0; aspect-ratio: auto; align-items: center; gap: 16px; }
    .guest-wall-layout > .wall-cta > .wall-cta-action { grid-column: 1 / -1; justify-content: center; }
    .guest-wall-layout > .wall-cta::before { display: none; }
    .guest-contact-card { grid-template-columns: auto minmax(0, 1fr); gap: 15px; }
    .guest-contact-action { grid-column: 2; }
    .guest-kicker { flex-wrap: wrap; }
}


/* ===== Accessibility & motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
    .navbar { background: rgba(10, 10, 10, 0.86); backdrop-filter: blur(14px); }
    .nav-logo { font-size: 0.92rem; }
    .nav-links { display: flex; }
    .hero-content { padding-top: var(--nav-height); }
}

/* ===== Authentication pages ===== */
.nav-account-link {
    color: var(--accent);
}

.nav-account-link:hover {
    color: #f0cb70;
    border-color: rgba(212, 168, 75, 0.38);
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 15%, rgba(212, 168, 75, 0.11), transparent 32rem),
        radial-gradient(circle at 88% 82%, rgba(85, 62, 20, 0.2), transparent 34rem),
        var(--bg-primary);
}

.auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.17;
    background-image: url('../assets/hero-waves.jpg');
    background-position: center;
    background-size: cover;
    filter: grayscale(1) contrast(1.18);
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, var(--max-width));
    min-height: var(--nav-height);
    margin: 0 auto;
    border-bottom: 1px solid rgba(212, 168, 75, 0.16);
}

.auth-home-link {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    transition: var(--transition);
}

.auth-home-link:hover { color: var(--accent); }

.auth-shell {
    display: grid;
    place-items: center;
    width: min(100% - 40px, 1120px);
    min-height: calc(100vh - var(--nav-height));
    margin: 0 auto;
    padding: 56px 0 72px;
}

.auth-card {
    position: relative;
    width: min(100%, 480px);
    padding: clamp(28px, 6vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(212, 168, 75, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(13, 13, 13, 0.92);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.035), transparent 38%);
}

.auth-brand-art {
    position: absolute;
    top: -35px;
    right: -30px;
    width: 190px;
    opacity: 0.11;
    pointer-events: none;
}

.auth-brand-art img { width: 100%; height: auto; }

.auth-eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.auth-card h1,
.member-panel h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.auth-intro,
.member-heading p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
}

.auth-mode-tabs {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 28px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
}

.auth-mode-tab {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-mode-tab:hover { color: var(--text-primary); }

.auth-mode-tab.is-active {
    border-color: rgba(212, 168, 75, 0.32);
    background: rgba(212, 168, 75, 0.1);
    color: var(--accent);
}

.auth-form {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.auth-field { margin-bottom: 18px; }

.auth-inline-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 500;
}

.auth-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
    transition: var(--transition);
}

.auth-field input::placeholder { color: var(--text-muted); }

.auth-field input:hover { border-color: #444; }

.auth-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

.auth-code-button {
    min-width: 116px;
    min-height: 50px;
    justify-content: center;
    padding: 10px 14px;
    white-space: nowrap;
}

.auth-code-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.auth-submit { min-height: 50px; margin-top: 4px; }
.auth-submit:disabled { cursor: wait; opacity: 0.65; }

.auth-status,
.auth-message,
.auth-note {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    font-size: 0.84rem;
}

.auth-status {
    min-height: 1.5em;
    color: var(--text-secondary);
}

.auth-status.is-success,
.member-info-card strong.is-success { color: #73d7a2; }
.auth-status.is-error,
.auth-message.is-error { color: #ff9191; }

.auth-message {
    padding: 12px 14px;
    border: 1px solid rgba(255, 113, 113, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(110, 18, 18, 0.18);
    overflow-wrap: anywhere;
}

.auth-note {
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.member-shell { align-items: start; }

.auth-loading {
    margin-top: min(20vh, 160px);
    color: var(--text-secondary);
    text-align: center;
}

.auth-guard-error {
    width: min(100%, 720px);
    margin: min(16vh, 130px) auto 0;
}

.member-panel {
    width: 100%;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(212, 168, 75, 0.23);
    border-radius: var(--radius-lg);
    background: rgba(13, 13, 13, 0.91);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.member-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.member-heading .btn { flex: 0 0 auto; }

.member-info-grid,
.member-coming-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.member-info-card,
.member-coming-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
}

.member-info-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.member-info-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.94rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.member-coming-grid { margin-top: 16px; }

.member-coming-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-color: rgba(212, 168, 75, 0.2);
}

.member-coming-number {
    display: block;
    margin-bottom: 32px;
    color: var(--accent);
    font: 600 0.76rem/1 var(--font);
    letter-spacing: 0.12em;
}

.member-coming-card h2 {
    margin-bottom: 9px;
    font-size: 1.15rem;
}

.member-coming-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

@media (max-width: 680px) {
    .auth-header { width: min(100% - 32px, var(--max-width)); }
    .auth-shell { width: min(100% - 28px, 1120px); padding: 30px 0 48px; }
    .auth-card { padding: 28px 22px; }
    .auth-brand-art { width: 150px; }
    .auth-inline-field { grid-template-columns: 1fr; }
    .auth-code-button { width: 100%; }
    .member-panel { padding: 26px 20px; }
    .member-heading { align-items: flex-start; flex-direction: column; }
    .member-heading .btn { width: 100%; justify-content: center; }
    .member-info-grid,
    .member-coming-grid { grid-template-columns: 1fr; }
}

/* ===== Member center and admin workspace ===== */
[data-auth-account-link]:not([data-auth-ready="true"]) {
    visibility: hidden;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 48px, 1280px);
    min-height: 72px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(212, 168, 75, 0.17);
}

.account-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
}

.account-home-link,
.account-user-name {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.account-home-link:hover { color: var(--accent); }

.account-user-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(212, 168, 75, 0.35);
    border-radius: 4px;
    background: rgba(212, 168, 75, 0.08);
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.account-role-badge.is-admin {
    border-color: rgba(116, 202, 170, 0.38);
    background: rgba(68, 160, 126, 0.1);
    color: #82d8b8;
}

.account-signout {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.78rem;
}

.account-shell {
    width: min(100% - 48px, 1280px);
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 54px 0 80px;
}

.member-content,
.admin-layout { width: 100%; }

.account-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 210px;
    padding: 20px 0 44px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.account-welcome h1,
.admin-heading h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.account-welcome p,
.admin-heading p {
    color: var(--text-secondary);
}

.account-welcome img {
    width: min(25vw, 190px);
    height: auto;
    opacity: 0.52;
    filter: saturate(0.8) contrast(1.08);
}

.account-feature-message {
    margin-top: 20px;
    padding: 12px 14px;
    border-left: 2px solid var(--accent);
    background: rgba(212, 168, 75, 0.07);
    color: #e6c875;
    font-size: 0.84rem;
}

.member-primary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.account-card,
.admin-stat-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(19, 19, 19, 0.9);
}

.account-card-feature {
    display: flex;
    min-height: 250px;
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
}

.account-card-index,
.account-section-heading span,
.admin-sidebar-heading span,
.admin-stat-card > span {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.account-card h2 {
    margin: 34px 0 9px;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.account-card p {
    max-width: 46ch;
    margin-bottom: 26px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.account-card .btn { margin-top: auto; }

.account-section {
    margin-top: 52px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.account-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.account-section-heading h2 {
    margin-top: 4px;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.member-quick-grid,
.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-quick-link {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 14px;
    min-height: 92px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.account-quick-link:hover {
    border-color: rgba(212, 168, 75, 0.48);
    background: rgba(212, 168, 75, 0.05);
}

.account-quick-link > span {
    grid-row: 1 / 3;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
}

.account-quick-link strong {
    font-size: 0.94rem;
    letter-spacing: 0;
}

.account-quick-link small {
    color: var(--text-muted);
    font-size: 0.73rem;
}

.account-detail-list {
    border-top: 1px solid var(--border);
}

.account-detail-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) 1fr;
    gap: 18px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
}

.account-detail-list dt {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.account-detail-list dd {
    min-width: 0;
    color: var(--text-primary);
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.admin-shell { padding-top: 34px; }

.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 24px;
    min-height: calc(100vh - 130px);
    padding-right: 22px;
    border-right: 1px solid var(--border);
}

.admin-sidebar-heading {
    display: grid;
    gap: 5px;
    padding: 12px 10px 24px;
}

.admin-sidebar-heading strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.admin-nav {
    display: grid;
    gap: 4px;
}

.admin-nav a,
.admin-nav button {
    width: 100%;
    min-height: 42px;
    padding: 10px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-align: left;
    cursor: pointer;
}

.admin-nav a:hover,
.admin-nav button:hover,
.admin-nav .is-active {
    border-left-color: var(--accent);
    background: rgba(212, 168, 75, 0.055);
    color: var(--text-primary);
}

.admin-content { min-width: 0; }

.admin-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0 30px;
    border-bottom: 1px solid var(--border);
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #82d8b8;
    font-size: 0.76rem;
    white-space: nowrap;
}

.admin-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #59bf94;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.admin-stat-card {
    padding: 20px;
}

.admin-stat-card strong {
    display: block;
    margin: 22px 0 4px;
    color: var(--text-primary);
    font-size: 2rem;
    line-height: 1;
}

.admin-stat-card p {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.admin-menu-toggle { display: none; }

/* ===== Owner account management ===== */
.account-create-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(19, 19, 19, 0.9);
}

.account-create-form label,
.account-row-controls label {
    display: grid;
    gap: 7px;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.account-create-form input,
.account-row-controls select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    outline: none;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
}

.account-create-form input:focus,
.account-row-controls select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

.account-create-form .btn { align-self: end; min-height: 44px; }
.account-create-form + .service-hint { margin-top: 12px; }
.account-management-message.is-success { border-color: rgba(89,191,148,.48); color: #9fe1c6; background: rgba(68,160,126,.1); }

.account-management-list {
    display: grid;
    gap: 10px;
}

.account-management-row {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(280px, auto);
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(19, 19, 19, 0.9);
}

.account-row-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.account-row-identity strong,
.account-row-identity small { display: block; }
.account-row-identity strong { font-size: 0.92rem; }
.account-row-identity small { margin-top: 4px; color: var(--text-muted); font-size: 0.7rem; overflow-wrap: anywhere; }

.account-state {
    color: #ffaaaa;
    font-size: 0.74rem;
    white-space: nowrap;
}

.account-state.is-active { color: #82d8b8; }

.account-row-controls {
    display: grid;
    grid-template-columns: 112px 96px auto;
    align-items: end;
    gap: 9px;
}

.account-row-controls .btn { min-height: 44px; padding: 9px 14px; }
.account-lock-note { color: var(--text-muted); font-size: 0.75rem; text-align: right; }
.account-list-loading { padding: 24px; border: 1px dashed var(--border); color: var(--text-muted); text-align: center; }

@media (max-width: 920px) {
    .account-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .account-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .account-user-name { margin-left: auto; }
    .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .admin-layout {
        display: block;
    }

    .admin-menu-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
        margin-bottom: 18px;
        padding: 10px;
        border: 1px solid var(--border-light);
        border-radius: 6px;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .admin-menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: var(--accent);
    }

    .admin-sidebar {
        position: static;
        display: none;
        min-height: 0;
        margin-bottom: 24px;
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .admin-sidebar.is-open { display: block; }
    .admin-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .account-management-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .account-row-controls,
    .account-lock-note {
        grid-column: 1 / -1;
    }

    .account-lock-note { text-align: left; }
}

@media (max-width: 680px) {
    .account-header,
    .account-shell { width: min(100% - 28px, 1280px); }

    .account-header-actions { gap: 10px 12px; }
    .account-home-link { order: 1; }
    .account-user-name { order: 2; margin-left: auto; max-width: 110px; }
    .account-role-badge { order: 3; }
    .account-signout { order: 4; width: 100%; justify-content: center; }
    .account-shell { padding: 30px 0 56px; }

    .account-welcome {
        min-height: 180px;
        padding-top: 8px;
    }

    .account-welcome img {
        position: absolute;
        right: -22px;
        width: 135px;
        opacity: 0.16;
    }

    .account-welcome h1,
    .admin-heading h1 { font-size: 2rem; }

    .member-primary-grid,
    .member-quick-grid,
    .admin-action-grid,
    .admin-stat-grid { grid-template-columns: 1fr; }

    .account-card-feature { min-height: 230px; padding: 22px; }
    .account-section { margin-top: 38px; }
    .account-section-heading { align-items: flex-start; flex-direction: column; }
    .account-section-heading .btn { width: 100%; justify-content: center; }

    .account-detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-heading { align-items: flex-start; flex-direction: column; }
    .admin-nav { grid-template-columns: 1fr; }

    .account-create-form { grid-template-columns: 1fr; padding: 18px; }
    .account-management-row { grid-template-columns: 1fr; align-items: start; }
    .account-state { grid-row: 2; }
    .account-row-controls { grid-column: auto; grid-template-columns: 1fr; width: 100%; }
    .account-lock-note { grid-column: auto; }
}

/* ===== Mobile-first content compression ===== */
.mobile-action-nav,
.mobile-disclosure {
    display: none;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--nav-height) + 12px);
        scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .section {
        padding: 54px 0;
        scroll-margin-top: var(--nav-height);
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-desc {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .mobile-action-nav {
        position: fixed;
        z-index: 900;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 10px;
        display: grid;
        min-height: 58px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 6px;
        border: 1px solid rgba(212, 168, 75, 0.22);
        border-radius: 16px;
        background: rgba(12, 12, 12, 0.92);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-section-link {
        display: flex;
        min-width: 0;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 11px;
        color: var(--text-muted);
        font-size: 0.62rem;
        flex-direction: column;
        transition: var(--transition);
    }

    .mobile-section-link i {
        font-size: 0.86rem;
    }

    .mobile-section-link.active,
    .mobile-section-link:focus-visible {
        background: rgba(212, 168, 75, 0.12);
        color: var(--accent);
    }

    .mobile-booking-link {
        color: #0a0a0a;
        background: var(--accent);
    }

    .mobile-booking-link.active,
    .mobile-booking-link:focus-visible {
        color: #0a0a0a;
        background: #e6bd62;
    }

    .mobile-disclosure {
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 12px;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
        color: var(--text-secondary);
        font: inherit;
        font-size: 0.76rem;
        cursor: pointer;
    }

    .mobile-disclosure i {
        color: var(--accent);
        font-size: 0.68rem;
    }

    /* Works: one horizontal lane instead of four tall stacked cards. */
    .works-grid {
        display: flex;
        max-width: none;
        gap: 14px;
        margin: 0;
        padding: 0 2px 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .works-grid::-webkit-scrollbar,
    .resident-cuts-grid::-webkit-scrollbar {
        display: none;
    }

    .work-card {
        flex: 0 0 min(82vw, 320px);
        gap: 12px;
        padding: 14px;
        scroll-snap-align: start;
    }

    .work-cover {
        width: 100%;
        max-width: none;
        margin: 0;
        aspect-ratio: 1;
    }

    .work-info {
        margin-bottom: 7px;
    }

    .work-player {
        margin-bottom: 0;
    }

    .works-listening-note {
        margin-top: 10px;
        text-align: left;
    }

    /* Services: compact summary cards with on-demand details. */
    .service-category {
        margin-bottom: 42px;
    }

    .service-category-header {
        justify-content: flex-start;
        margin-bottom: 18px;
    }

    .service-category-header h3 {
        font-size: 1.05rem;
    }

    .service-category--tanyutang .service-category-header h3 {
        font-size: 1.1rem;
    }

    .services-grid {
        gap: 12px;
        margin-bottom: 16px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 6px 12px;
        align-items: center;
        padding: 17px 16px 15px;
        text-align: left;
    }

    .service-card:hover {
        transform: none;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .service-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 0.98rem;
    }

    .service-title small {
        font-size: 0.68rem;
    }

    .service-desc {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 0.76rem;
    }

    .service-meaning {
        min-height: 0;
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 7px 0 2px;
        padding: 9px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
        font-size: 0.76rem;
        line-height: 1.55;
    }

    .service-price {
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
        text-align: right;
    }

    .service-price .price {
        display: block;
        font-size: 1.35rem;
    }

    .service-price .price-unit {
        display: block;
        margin: 1px 0 0;
        font-size: 0.68rem;
    }

    .service-card .mobile-card-toggle {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 7px;
    }

    .service-features-list {
        display: none;
        grid-column: 1 / -1;
        grid-row: 4;
        margin: 4px 0 0;
        padding: 9px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
    }

    .service-card.mobile-expanded .service-features-list {
        display: block;
    }

    .service-card > .btn-block {
        min-height: 44px;
        grid-column: 1 / -1;
        grid-row: 5;
        justify-content: center;
        margin-top: 2px;
    }

    .service-category--tanyutang .service-card > .btn-block {
        grid-row: 4;
    }

    .service-extras {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: none;
        margin-bottom: 16px;
    }

    .service-extra-card {
        padding: 16px 12px;
    }

    .service-extra-card h4 {
        font-size: 0.9rem;
    }

    .service-extra-card .btn {
        width: 100%;
        min-height: 40px;
        justify-content: center;
        padding: 8px 10px;
    }

    .service-notice {
        padding: 14px 16px;
        margin-bottom: 10px;
    }

    .service-notice h4 {
        margin-bottom: 0;
    }

    .service-notice .mobile-notice-toggle {
        display: flex;
        width: 100%;
        margin-top: 10px;
    }

    .service-notice > .notice-grid,
    .service-notice > .process-steps {
        display: none;
        margin-top: 12px;
    }

    .service-notice.mobile-expanded > .notice-grid {
        display: flex;
    }

    .service-notice.mobile-expanded > .process-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* About: shorter introductions, swipeable cuts and expandable archives. */
    .team-manifesto {
        min-height: 0;
        padding: 25px 20px;
    }

    .team-slogan {
        margin-bottom: 14px;
        font-size: 2.15rem;
    }

    .team-manifesto-copy {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .team-embrace {
        margin-top: 15px;
        font-size: 0.86rem;
    }

    .manifesto-stone-art {
        min-height: 122px;
        margin: -40px auto -68px;
        transform: scale(0.54);
        transform-origin: center;
    }

    .team-tier {
        margin-top: 18px;
        padding: 21px 18px;
    }

    .team-tier-heading {
        margin-bottom: 20px;
    }

    .team-tier-heading h3 {
        margin-top: 7px;
        font-size: 1.4rem;
    }

    .resident-grid {
        gap: 11px;
    }

    .resident-card {
        min-height: 0;
        padding: 18px 17px;
    }

    .resident-card h4 {
        font-size: 2.45rem;
    }

    .resident-mark {
        font-size: 3.3rem;
    }

    .resident-lead {
        margin-top: 14px;
        font-size: 0.9rem;
    }

    .resident-card .resident-quote,
    .resident-card .team-tags {
        display: none;
    }

    .resident-card.mobile-expanded .resident-quote,
    .resident-card.mobile-expanded .team-tags {
        display: flex;
    }

    .resident-card.mobile-expanded .resident-quote {
        display: block;
    }

    .resident-card .mobile-profile-toggle {
        display: flex;
        width: 100%;
        margin-top: 15px;
    }

    .resident-cuts-block {
        margin-top: 24px;
        padding-top: 22px;
    }

    .resident-cuts-heading {
        margin-bottom: 13px;
    }

    .resident-cuts-grid {
        display: flex;
        gap: 10px;
        padding-bottom: 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hana-cut-card {
        flex: 0 0 126px;
        scroll-snap-align: start;
    }

    .resident-collaboration-list {
        display: none;
        margin-top: 14px;
    }

    .resident-tier.mobile-collaboration-expanded .resident-collaboration-list {
        display: block;
    }

    .resident-tier .mobile-collaboration-toggle {
        display: flex;
        width: 100%;
        margin-top: 16px;
    }

    .guest-tier .team-tier-heading {
        padding-bottom: 18px;
    }

    .guest-album-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .guest-album-wall .wall-tile:nth-child(n + 7) {
        display: none;
    }

    .guest-album-wall.mobile-expanded .wall-tile:nth-child(n + 7) {
        display: block;
    }

    .guest-wall-layout .mobile-wall-toggle {
        display: flex;
        width: 100%;
    }

    .guest-wall-layout > .wall-cta {
        min-height: 104px;
    }

    .advisor-copy .advisor-credential {
        display: none;
    }

    .advisor-copy.mobile-expanded .advisor-credential {
        display: block;
    }

    .advisor-copy .mobile-advisor-toggle {
        display: flex;
        width: 100%;
        margin-top: 14px;
    }

    .advisor-link-card {
        min-height: 0;
    }

    .advisor-link-image {
        min-height: 145px;
    }

    .about-equipment {
        margin-top: 34px;
    }

    .equipment-grid .equipment-item:not(.mobile-priority-gear) {
        display: none;
    }

    /* 参考级监听设备在移动端始终置顶显示，不被“查看全部”折叠。 */
    .equipment-grid .equipment-item.mobile-priority-gear {
        display: flex;
        order: -1;
    }

    .about-equipment.mobile-expanded .equipment-grid .equipment-item {
        display: flex;
    }

    .about-equipment .mobile-equipment-toggle {
        display: flex;
        width: 100%;
        margin-top: 12px;
    }

    .contact-form {
        padding: 20px;
    }

    .footer {
        padding-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .guest-album-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding-right: 13px;
        padding-left: 13px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-price .price {
        font-size: 1.18rem;
    }
}
