@font-face {
    font-family: RussoOne;
    src: url('../fonts/RussoOne-Regular.ttf') format('truetype');
    font-display: swap;
}
:root {
    color-scheme: light dark;
    --paper: #faf8f4;
    --surface: #fff;
    --ink: #29262e;
    --muted: #655f6d;
    --accent: #70429b;
    --orange: #e99838;
    --line: #ded8e3;
    --glass-bg: rgba(250,248,244,.96);
    --apple-black: var(--ink);
    --apple-white: var(--paper);
    --apple-blue: var(--accent);
    --apple-gray: var(--muted);
    --navbar-height: 80px;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-secondary-color: var(--muted);
}
body {
    margin: 0;
    padding-top: var(--navbar-height);
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { line-height: 1.2; text-wrap: balance; }
h1,h2 { letter-spacing: -.035em; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 95px; }
.text-muted { color: var(--muted) !important; }
.bg-primary { background-color: var(--accent) !important; }
.navbar-apple {
    min-height: var(--navbar-height);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.studio-logo { display: block; width: 206px; height: auto; background: transparent; }
.navbar-apple .nav-link { color: var(--ink); font-size: .95rem; padding: .65rem 1rem !important; }
.navbar-apple .nav-link:hover { color: var(--accent); }
.hero-section { padding: 80px 20px; text-align: center; overflow: hidden; }
.hero-title { font-size: clamp(2.25rem,5vw,4.4rem); font-weight: 750; margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(1.1rem,2.2vw,1.5rem); color: var(--muted); max-width: 760px; margin: 0 auto 30px; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 24px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; align-items: center; }
.btn-apple { display: inline-block; background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: 10px; padding: 12px 24px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.btn-apple:hover { background: #593278; color: #fff; }
.btn-link-apple,.btn-link-apple-small { color: var(--accent); font-weight: 600; text-decoration: none; }
.btn-link-apple:hover,.btn-link-apple-small:hover { text-decoration: underline; }
.section-heading { font-size: clamp(2rem,4vw,3rem); font-weight: 700; }
.apple-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.apple-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; height: 100%; }
.apple-card h3 { font-size: 1.4rem; }
.card-description { font-size: 1rem; margin: 16px 0 24px; }
.project-card-art { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.art-caption { color: var(--muted); font-size: .8rem; letter-spacing: .02em; margin: 14px 0 0; }
.member-role { color: var(--accent); font-size: .9rem; font-weight: 650; }
.social-icon { display: inline-block; text-decoration: none; border-bottom: 2px solid var(--orange); padding: 6px 0; }
.apple-footer { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; }
.btn-scroll-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); opacity: 0; visibility: hidden; z-index: 1040; }
.btn-scroll-top.show { opacity: 1; visibility: visible; }
.arrow-up { display: inline-block; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); transform: rotate(45deg); }
/* Контент остаётся доступным при отключённом JS и reduced motion. */
.reveal { opacity: 1; }
@media (prefers-color-scheme: dark) {
    :root { --paper: #201e24; --surface: #2b2831; --ink: #f4eff7; --muted: #c1b9ca; --accent: #d1a7f4; --line: #49414f; --glass-bg: rgba(32,30,36,.97); }
    .btn-apple { background: #8050a5; color: white; }
    .btn-apple:hover { background: #9160b5; }
    .bg-primary { background-color: #8050a5 !important; }
    .studio-logo { filter: invert(1) hue-rotate(180deg); }
    .navbar-toggler-icon { filter: invert(1); }
    .navbar-toggler { border-color: var(--line); }
    .text-success { color: #8bd5ad !important; }
}
@media (max-width: 991px) { .apple-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) {
    .apple-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .hero-section { padding: 48px 16px; }
    .apple-card { padding: 24px; }
    .studio-logo { width: 185px; }
    .navbar-collapse { padding: 10px 0; }
    .hero-links { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
