/* =====================================================
   AGENT 008
   ГЛАВНЫЙ ФАЙЛ ДИЗАЙНА

   Здесь можно менять:
   цвета, размеры, шрифты, расстояния и эффекты.
===================================================== */


/* =====================================================
   01. ГЛАВНЫЕ НАСТРОЙКИ
===================================================== */

:root {

    /* ЦВЕТА */

    --color-background: #080808;
    --color-surface: #111111;
    --color-surface-light: #1a1a1a;

    --color-text: #f5f5f5;
    --color-text-muted: #8d8d8d;

    --color-accent: #d9d9d9;
    --color-border: rgba(255, 255, 255, 0.13);


    /* ШРИФТЫ */

    --font-main: "Manrope", sans-serif;
    --font-display: "Orbitron", sans-serif;


    /* РАЗМЕРЫ */

    --page-padding: clamp(20px, 6vw, 100px);

    --header-height: 88px;

    --content-width: 1440px;


    /* СКРУГЛЕНИЯ */

    --radius-small: 4px;
    --radius-medium: 12px;
    --radius-large: 24px;


    /* АНИМАЦИИ */

    --transition-fast: 0.25s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);


    /* НАСТРОЙКИ ОБЪЕКТА: ЦИФРЫ 008 */

    --number-size: clamp(110px, 24vw, 340px);

    --number-spacing: -0.08em;


    /* НАСТРОЙКИ ОБЪЕКТА: ОБЪЕКТИВ */

    --lens-size: clamp(180px, 35vw, 480px);

    --lens-opacity: 0.65;

    --lens-speed: 12s;


    /* СВЕЧЕНИЕ */

    --glow-opacity: 0.45;

}


/* =====================================================
   02. СБРОС СТИЛЕЙ
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {

    background: var(--color-background);

    color: var(--color-text);

    font-family: var(--font-main);

    font-size: 14px;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid white;
    outline-offset: 5px;
}

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

::selection {
    background: white;
    color: black;
}


/* =====================================================
   03. ЭКРАН ЗАГРУЗКИ
===================================================== */

.loader {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: grid;

    place-items: center;

    background: #050505;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

}

.loader.is-hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}

.loader__content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 22px;

}

.loader__number {

    font-family: var(--font-display);

    font-size: clamp(60px, 15vw, 130px);

    font-weight: 800;

    letter-spacing: -0.09em;

    padding-right: 0.09em;

    color: #e9e9e9;

    background:
        linear-gradient(
            120deg,
            #656565 0%,
            #ffffff 22%,
            #777777 38%,
            #ffffff 50%,
            #888888 68%,
            #f5f5f5 82%,
            #5c5c5c 100%
        );

    background-size: 250% 100%;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: chromeFlow 3s linear infinite;

}

.loader__line {

    width: 180px;

    height: 1px;

    background: rgba(255, 255, 255, 0.15);

    overflow: hidden;

    position: relative;

}

.loader__line::after {

    content: "";

    position: absolute;

    inset: 0;

    background: white;

    transform: translateX(-100%);

    animation: loadingLine 1.2s ease forwards;

}

.loader__text {

    font-family: var(--font-display);

    font-size: 9px;

    letter-spacing: 0.22em;

    color: var(--color-text-muted);

}


/* =====================================================
   04. ОБЩИЕ СВЕТОВЫЕ ЭФФЕКТЫ
===================================================== */

.ambient-light {

    position: fixed;

    z-index: -1;

    top: 15%;

    right: -250px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(94, 70, 110, 0.09) 0%,
            rgba(52, 80, 110, 0.04) 35%,
            transparent 70%
        );

    filter: blur(30px);

    pointer-events: none;

}


/* =====================================================
   05. ШАПКА
===================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: var(--header-height);

    padding: 0 var(--page-padding);

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--color-border);

    z-index: 100;

    background: rgba(8, 8, 8, 0.861);

    backdrop-filter: blur(15px);

}

.header__logo {

    font-family: var(--font-display);

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -0.08em;

}

.header__logo span,
.footer__logo span {
    color: #858585;
}

.navigation {

    display: flex;

    align-items: center;

    gap: clamp(18px, 3vw, 48px);

}

.navigation__link {

    position: relative;

    color: var(--color-text-muted);

    font-size: 11px;

    transition: color var(--transition-fast);

}

.navigation__link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 1px;

    background: white;

    transform: scaleX(0);

    transform-origin: right;

    transition: transform var(--transition-fast);

}

.navigation__link:hover,
.navigation__link.active {

    color: white;

}

.navigation__link:hover::after,
.navigation__link.active::after {

    transform: scaleX(1);

    transform-origin: left;

}

.header__button {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 18px;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-small);

    font-size: 11px;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);

}

.header__button span {

    transition: transform var(--transition-fast);

}

.header__button:hover {

    color: black;

    background: white;

    border-color: white;

}

.header__button:hover span {

    transform: translate(3px, -3px);

}

.menu-toggle {

    display: none;

    border: none;

    background: none;

    color: white;

    cursor: pointer;

}


/* =====================================================
   06. ГЛАВНЫЙ ЭКРАН
===================================================== */

.hero {

    min-height: 100svh;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding:
        calc(var(--header-height) + 35px)
        var(--page-padding)
        28px;

    overflow: hidden;

    isolation: isolate;

}

.hero__grid {

    position: absolute;

    inset: 0;

    z-index: -2;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );

    pointer-events: none;

}

.hero__corner {

    position: absolute;

    width: 28px;

    height: 28px;

    opacity: 0.5;

    pointer-events: none;

}

.hero__corner--left {
    left: calc(var(--page-padding) - 15px);
    top: 115px;

    border-top: 1px solid white;
    border-left: 1px solid white;
}

.hero__corner--right {

    right: var(--page-padding);

    bottom: 90px;

    border-right: 1px solid white;

    border-bottom: 1px solid white;

}

.hero__topline,
.hero__bottomline {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-family: var(--font-display);

    font-size: 9px;

    letter-spacing: 0.15em;

    color: var(--color-text-muted);

}

.status {

    display: flex;

    align-items: center;

    gap: 10px;

}

.status__dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #b7b7b7;

    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);

    animation: statusPulse 2s ease-in-out infinite;

}

.hero__main {

    width: 100%;

    max-width: var(--content-width);

    margin: 55px auto 65px;

    position: relative;

    z-index: 2;

    text-align: center;

}

.hero__number-wrap {

    position: relative;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 15px;

}

.hero__number {

    position: relative;

    z-index: 1;

    font-family: var(--font-display);

    font-size: var(--number-size);

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: var(--number-spacing);

    padding-right: 0.08em;

    color: #d9d9d9;

    background:
        linear-gradient(
            115deg,
            #626262 0%,
            #ffffff 15%,
            #858585 28%,
            #f8f8f8 40%,
            #777777 51%,
            #ffffff 65%,
            #777777 80%,
            #eeeeee 100%
        );

    background-size: 240% 100%;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.4))
        drop-shadow(0 15px 40px rgba(255, 255, 255, 0.05));

    animation:
        chromeFlow 8s linear infinite,
        numberAppear 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;

}

.hero__side-note {

    position: absolute;

    top: 50%;

    z-index: 2;

    font-family: var(--font-display);

    font-size: 8px;

    line-height: 1.8;

    letter-spacing: 0.18em;

    color: #777;

    text-align: left;

}

.hero__side-note--left {

    right: calc(100% + 25px);

    transform: translateY(-50%);

}

.hero__side-note--right {

    left: calc(100% + 25px);

    transform: translateY(-50%);

}

.hero__lens-flare {

    position: absolute;

    z-index: 3;

    top: 45%;

    left: 0;

    width: 100%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent
        );

    filter: blur(2px);

    opacity: 0;

    pointer-events: none;

    animation: lensFlare 1.5s ease 1.2s forwards;

}

.hero__signature {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    margin-top: 22px;

}

.hero__signature p {

    font-size: clamp(12px, 1.3vw, 16px);

    font-weight: 500;

    letter-spacing: 0.3em;

}

.hero__signature-line {

    display: block;

    width: clamp(20px, 4vw, 65px);

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #777
    );

}

.hero__signature-line:last-child {

    transform: rotate(180deg);

}

.hero__description {

    margin-top: 25px;

    font-size: clamp(13px, 1.5vw, 16px);

    line-height: 1.9;

    color: #999;

    font-weight: 300;

}

.hero__actions {

    margin-top: 34px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

}


/* =====================================================
   07. КНОПКИ
===================================================== */

.button {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    padding: 0 22px;

    font-size: 11px;

    font-weight: 600;

    border: 1px solid transparent;

    cursor: pointer;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);

}

.button:hover {

    transform: translateY(-3px);

}

.button:active {

    transform: translateY(-1px) scale(0.98);

}

.button--primary {

    position: relative;

    overflow: hidden;

    color: #080808;

    background: #f1f1f1;

    border-color: #f1f1f1;

}

.button--primary::before {

    content: "";

    position: absolute;

    top: -100%;

    left: -60%;

    width: 35%;

    height: 300%;

    background: rgba(255, 255, 255, 0.8);

    transform: rotate(25deg);

    transition: left 0.6s ease;

}

.button--primary:hover::before {

    left: 130%;

}

.button--primary > span {

    position: relative;

    z-index: 1;

}

.button__icon {

    font-size: 16px;

    transition: transform var(--transition-fast);

}

.button--primary:hover .button__icon {

    transform: translate(3px, -3px);

}

.button--text {

    color: #aaa;

    background: transparent;

    border-color: transparent;

}

.button--text:hover {

    color: white;

}

.button--text span {

    transition: transform var(--transition-fast);

}

.button--text:hover span {

    transform: translateY(3px);

}


/* =====================================================
   08. ОБЪЕКТИВ
===================================================== */

.lens {

    position: absolute;

    z-index: -1;

    top: 50%;

    left: 50%;

    width: var(--lens-size);

    aspect-ratio: 1;

    opacity: var(--lens-opacity);

    transform: translate(-50%, -50%);

    pointer-events: none;

    animation: lensFloat 8s ease-in-out infinite;

}

.lens__ring {

    position: absolute;

    inset: 0;

    border-radius: 50%;

}

.lens__ring--outer {

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 0 50px rgba(255, 255, 255, 0.02),
        inset 0 0 50px rgba(255, 255, 255, 0.02);

}

.lens__ring--middle {

    inset: 9%;

    border: 1px solid rgba(255, 255, 255, 0.13);

    background:
        conic-gradient(
            from 0deg,
            transparent,
            rgba(100, 130, 255, 0.13),
            transparent,
            rgba(255, 100, 190, 0.12),
            transparent,
            rgba(80, 230, 220, 0.12),
            transparent
        );

    animation: lensRotate 30s linear infinite;

}

.lens__ring--inner {

    inset: 21%;

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, 0.025),
        0 0 35px rgba(255, 255, 255, 0.02);

}

.lens__glass {

    position: absolute;

    inset: 28%;

    overflow: hidden;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.15);

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 255, 255, 0.12),
            transparent 25%
        ),
        radial-gradient(
            circle at center,
            #111 0%,
            #070707 55%,
            #171717 100%
        );

    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.06),
        0 0 60px rgba(0, 0, 0, 0.6);

}

.lens__reflection {

    position: absolute;

    inset: -50%;

    background:
        conic-gradient(
            from 30deg,
            transparent 0deg,
            rgba(90, 130, 255, 0.1) 60deg,
            transparent 90deg,
            rgba(255, 80, 190, 0.12) 170deg,
            transparent 210deg,
            rgba(80, 255, 230, 0.1) 280deg,
            transparent 320deg
        );

    filter: blur(12px);

    animation: lensRotate var(--lens-speed) linear infinite;

}

.lens__iris {

    position: absolute;

    inset: 30%;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.13);

    box-shadow: 0 0 25px rgba(255, 255, 255, 0.04);

}

.lens__spark {

    position: absolute;

    top: 24%;

    right: 18%;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 10px white,
        0 0 25px rgba(180, 200, 255, 0.8);

    animation: sparkPulse 3s ease-in-out infinite;

}


/* =====================================================
   09. НИЖНЯЯ ПОЛОСА ГЛАВНОГО ЭКРАНА
===================================================== */

.scroll-indicator {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #aaa;

    transition: color var(--transition-fast);

}

.scroll-indicator:hover {

    color: white;

}

.scroll-indicator__arrow {

    font-size: 17px;

    animation: arrowBounce 1.5s ease-in-out infinite;

}


/* =====================================================
   10. ОБЩИЕ СЕКЦИИ
===================================================== */

.section {

    position: relative;

    padding:
        clamp(100px, 13vw, 190px)
        var(--page-padding);

}

.section__heading {

    max-width: var(--content-width);

    margin: 0 auto 75px;

}

.eyebrow {

    display: inline-block;

    margin-bottom: 25px;

    font-family: var(--font-display);

    font-size: 9px;

    letter-spacing: 0.2em;

    color: #858585;

}

.section__heading h2,
.contact__main h2 {

    font-size: clamp(42px, 7vw, 100px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.065em;

}

.section__heading h2 span,
.contact__main h2 span {

    color: #777;

}

.section__description {

    max-width: 420px;

    margin-top: 25px;

    color: #929292;

    font-size: 13px;

    line-height: 1.9;

}


/* =====================================================
   11. ОБО МНЕ
===================================================== */

.about__content {
    max-width: var(--content-width);
    width: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);

    align-items: center;
    gap: clamp(30px, 6vw, 90px);
}

.about__visual {
    width: 100%;
    min-width: 0;
}

.about__text {
    width: 100%;
    max-width: 500px;
    min-width: 0;
    justify-self: start;
}


.about__frame {

    position: relative;

    padding: 15px;

    border: 1px solid var(--color-border);

}

.about__placeholder {

    aspect-ratio: 4 / 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 30%,
            rgba(255, 255, 255, 0.1),
            transparent 60%
        ),
        linear-gradient(
            145deg,
            #252525,
            #0b0b0b 65%
        );

}

.about__placeholder-number {

    font-family: var(--font-display);

    font-size: clamp(70px, 12vw, 140px);

    font-weight: 800;

    letter-spacing: -0.1em;

    color: #d9d9d9;

    opacity: 0.7;

}

.about__placeholder-text {

    text-align: center;

    font-family: var(--font-display);

    font-size: 9px;

    letter-spacing: 0.2em;

    color: #777;

}

.about__frame-label {

    display: block;

    padding-top: 14px;

    font-family: var(--font-display);

    font-size: 8px;

    letter-spacing: 0.13em;

    color: #777;

}

.about__text {

    max-width: 500px;

}

.about__small-title {

    display: inline-block;

    margin-bottom: 25px;

    font-size: 10px;

    letter-spacing: 0.2em;

    color: #999;

}

.about__lead {

    margin-bottom: 25px;

    font-size: clamp(22px, 2.7vw, 35px);

    line-height: 1.5;

    letter-spacing: -0.04em;

}

.about__paragraph {

    margin-bottom: 18px;

    color: #999;

    font-size: 13px;

    line-height: 2;

}

.about__signature {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 45px;

    padding-top: 20px;

    border-top: 1px solid var(--color-border);

}

.about__signature > span:first-child {

    font-family: var(--font-display);

    font-size: 12px;

    letter-spacing: 0.1em;

}

.about__signature-symbol {

    font-size: 25px;

    color: #888;

}


/* =====================================================
   12. ПОРТФОЛИО
===================================================== */

.portfolio {

    background:
        linear-gradient(
            180deg,
            #080808 0%,
            #0d0d0d 50%,
            #080808 100%
        );

}

.portfolio__grid {

    max-width: var(--content-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: clamp(30px, 5vw, 75px) clamp(20px, 4vw, 55px);

}

.photo-card {

    min-width: 0;

}

.photo-card--large {

    margin-top: 0;

}

.photo-card--small {

    margin-top: 100px;

}

.photo-card__image {

    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #161616;

}

.photo-card--small .photo-card__image {

    aspect-ratio: 4 / 5;

}

.photo-card__image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter: saturate(0.75) brightness(0.8);

    transform: scale(1.001);

    transition:
        transform 1s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.7s ease;

}

.photo-card__image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.35)
        );

    pointer-events: none;

}

.photo-card:hover .photo-card__image img {

    transform: scale(1.055);

    filter: saturate(1) brightness(1);

}

.photo-card__index {

    position: absolute;

    top: 20px;

    left: 20px;

    z-index: 2;

    font-family: var(--font-display);

    font-size: 10px;

    letter-spacing: 0.15em;

    color: white;

}

.photo-card__zoom {

    position: absolute;

    right: 20px;

    bottom: 20px;

    z-index: 2;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(8px);

    transition:
        background var(--transition-fast),
        color var(--transition-fast);

}

.photo-card:hover .photo-card__zoom {

    color: black;

    background: white;

}

.photo-card__info {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding-top: 22px;

}

.photo-card__info h3 {

    font-size: clamp(18px, 2vw, 25px);

    font-weight: 400;

    letter-spacing: -0.04em;

}

.photo-card__info p {

    margin-top: 6px;

    color: #858585;

    font-size: 11px;

}

.photo-card__category {

    padding-top: 7px;

    font-family: var(--font-display);

    font-size: 8px;

    letter-spacing: 0.1em;

    color: #777;

    white-space: nowrap;

}

.portfolio__note {

    max-width: var(--content-width);

    margin: 70px auto 0;

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    border: 1px solid var(--color-border);

    color: #999;

    font-size: 11px;

}

.portfolio__note-symbol {

    font-size: 20px;

    color: #ddd;

}


/* =====================================================
   13. НАПРАВЛЕНИЯ СЪЁМОК
===================================================== */

.services__list {

    max-width: var(--content-width);

    margin: 0 auto;

    border-top: 1px solid var(--color-border);

}

.service {

    min-height: 125px;

    display: grid;

    grid-template-columns: 70px 1fr 1fr 35px;

    align-items: center;

    gap: 20px;

    border-bottom: 1px solid var(--color-border);

    transition:
        padding var(--transition-medium),
        background var(--transition-medium);

}

.service:hover {

    padding-left: 20px;

    padding-right: 20px;

    background: rgba(255, 255, 255, 0.025);

}

.service__number {

    font-family: var(--font-display);

    font-size: 10px;

    color: #777;

}

.service__name {

    font-size: clamp(20px, 3vw, 36px);

    font-weight: 400;

    letter-spacing: -0.05em;

}

.service__description {

    color: #858585;

    font-size: 12px;

}

.service__arrow {

    font-size: 21px;

    text-align: right;

    transition: transform var(--transition-fast);

}

.service:hover .service__arrow {

    transform: translate(4px, -4px);

}


/* =====================================================
   14. КОНТАКТЫ
===================================================== */

.contact {

    min-height: 75vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 75% 70%,
            rgba(100, 100, 100, 0.07),
            transparent 50%
        );

}

.contact__main {

    position: relative;

    z-index: 2;

    max-width: var(--content-width);

    width: 100%;

    margin: 0 auto;

}

.contact__main h2 {

    font-size: clamp(45px, 8vw, 115px);

}

.contact__main > p {

    margin-top: 30px;

    max-width: 400px;

    color: #999;

    font-size: 13px;

    line-height: 1.9;

}

.contact__button {

    margin-top: 35px;

}

.contact__stamp {

    position: absolute;

    right: -50px;

    bottom: 5%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    transform: rotate(-15deg);

    opacity: 0.08;

    pointer-events: none;

}

.contact__stamp span:first-child {

    font-family: var(--font-display);

    font-size: clamp(100px, 22vw, 300px);

    font-weight: 800;

    letter-spacing: -0.1em;

}

.contact__stamp span:last-child {

    font-family: var(--font-display);

    font-size: 10px;

    letter-spacing: 0.2em;

}


/* =====================================================
   15. ПОДВАЛ
===================================================== */

.footer {

    min-height: 100px;

    padding: 25px var(--page-padding);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--color-border);

}

.footer__logo {

    font-family: var(--font-display);

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -0.08em;

}

.footer__copyright,
.footer__tagline,
.footer__top {

    font-family: var(--font-display);

    font-size: 8px;

    letter-spacing: 0.1em;

    color: #777;

}

.footer__top {

    transition: color var(--transition-fast);

}

.footer__top:hover {

    color: white;

}


/* =====================================================
   16. АНИМАЦИЯ ПОЯВЛЕНИЯ ЭЛЕМЕНТОВ
===================================================== */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);

}

.reveal.is-visible {

    opacity: 1;

    transform: translateY(0);

}


/* =====================================================
   17. KEYFRAMES — АНИМАЦИИ
===================================================== */

@keyframes chromeFlow {

    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -140% 50%;
    }

}


@keyframes loadingLine {

    to {
        transform: translateX(0);
    }

}


@keyframes numberAppear {

    from {

        opacity: 0;

        transform: scale(0.92) translateY(15px);

        filter: blur(10px);

    }

    to {

        opacity: 1;

        transform: scale(1) translateY(0);

        filter: blur(0);

    }

}


@keyframes lensFlare {

    0% {

        opacity: 0;

        transform: scaleX(0.1);

    }

    30% {

        opacity: 0.8;

    }

    100% {

        opacity: 0;

        transform: scaleX(1.5);

    }

}


@keyframes lensRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes lensFloat {

    0%,
    100% {

        margin-top: 0;

    }

    50% {

        margin-top: -15px;

    }

}


@keyframes sparkPulse {

    0%,
    100% {

        opacity: 0.3;

        transform: scale(0.7);

    }

    50% {

        opacity: 1;

        transform: scale(1.5);

    }

}


@keyframes statusPulse {

    0%,
    100% {

        opacity: 0.5;

    }

    50% {

        opacity: 1;

    }

}


@keyframes arrowBounce {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(5px);

    }

}


/* =====================================================
   18. АДАПТАЦИЯ ПОД ПЛАНШЕТЫ
===================================================== */

@media (max-width: 1000px) {

    .hero__side-note {

        display: none;

    }

    .about__content {

        grid-template-columns: 1fr 0.9fr;

        gap: 45px;

    }

    .photo-card__category {

        display: none;

    }

}


/* =====================================================
   19. АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
===================================================== */

@media (max-width: 700px) {

    :root {

        --header-height: 72px;

        --number-size: clamp(115px, 31vw, 210px);

        --lens-size: 300px;

    }

    .header {

        height: var(--header-height);

    }

    .navigation {

        position: fixed;

        top: var(--header-height);

        left: 0;

        right: 0;

        bottom: 0;

        padding: 50px var(--page-padding);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 30px;

        background: rgba(8, 8, 8, 0.98);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition-fast),
            visibility var(--transition-fast),
            transform var(--transition-fast);

    }

    .navigation.is-open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }

    .navigation__link {

        font-size: 24px;

    }

    .header__button {

        margin-left: auto;

        margin-right: 20px;

        padding: 9px 12px;

    }

    .menu-toggle {

        display: flex;

        flex-direction: column;

        gap: 6px;

        padding: 10px;

    }

    .menu-toggle span {

        display: block;

        width: 23px;

        height: 1px;

        background: white;

        transition: transform var(--transition-fast);

    }

    .menu-toggle.is-active span:first-child {

        transform: translateY(3.5px) rotate(45deg);

    }

    .menu-toggle.is-active span:last-child {

        transform: translateY(-3.5px) rotate(-45deg);

    }

    .hero {

        min-height: 100svh;

        padding-top: calc(var(--header-height) + 25px);

        padding-bottom: 25px;

    }

    .hero__topline,
    .hero__bottomline {

        font-size: 7px;

        letter-spacing: 0.08em;

    }

    .hero__edition,
    .hero__bottomline > span:last-child {

        display: none;

    }

    .hero__main {

        margin: 55px auto;

    }

    .hero__signature {

        gap: 10px;

    }

    .hero__signature p {

        font-size: 10px;

        letter-spacing: 0.17em;

    }

    .hero__actions {

        flex-direction: column;

        gap: 10px;

    }

    .hero__actions .button {

        width: min(100%, 280px);

    }

    .section {

        padding-top: 100px;

        padding-bottom: 100px;

    }

    .section__heading {

        margin-bottom: 45px;

    }

    .about__content {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .about__visual {

        max-width: 440px;

    }

    .portfolio__grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .photo-card--small {

        margin-top: 0;

    }

    .photo-card__category {

        display: block;

    }

    .service {

        min-height: 100px;

        grid-template-columns: 35px 1fr 25px;

        gap: 12px;

    }

    .service__description {

        display: none;

    }

    .service__name {

        font-size: 23px;

    }

    .contact {

        min-height: 65vh;

    }

    .contact__stamp {

        right: -25px;

        bottom: 0;

    }

    .footer {

        flex-wrap: wrap;

        justify-content: space-between;

    }

    .footer__tagline {

        display: none;

    }

}


/* =====================================================
   20. ДОСТУПНОСТЬ: УМЕНЬШЕННОЕ ДВИЖЕНИЕ
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

    .reveal {

        opacity: 1;

        transform: none;

    }
}
/* =========================================
   AGENT 008 — ПОРТРЕТ НИКИ
========================================= */

.about__visual {
    width: 100%;
    min-width: 0;
}

.about__frame {
    position: relative;
    width: 100%;
    padding: 15px;
    overflow: hidden;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ФОТОГРАФИЯ */

.about__photo {
    display: block;
    width: 88%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: contrast(1.04);
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */

.about__frame:hover .about__photo {
    transform: scale(1.025);
}

/* ПОДПИСЬ */

.about__frame-label {
    display: block;
    margin-top: 15px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #080808;
    color: #a0a0a0;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 768px) {
    .about__frame-label {
        font-size: 9px;
        letter-spacing: 2px;
    }
}
   /* =========================================
   AGENT 008 — COSMIC BACKGROUND
========================================= */

.space-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
}

/* Звёздное небо */
.space-stars {
    position: absolute;
    inset: 0;
    opacity: 0.55;

    background-image:
        radial-gradient(circle, #fff 1px, transparent 1.5px),
        radial-gradient(circle, #ddd 1px, transparent 1.5px),
        radial-gradient(circle, #fff 1.2px, transparent 1.8px);

    background-size:
        137px 151px,
        193px 211px,
        271px 257px;

    background-position:
        0 0,
        61px 83px,
        127px 39px;

    animation: starsTwinkle 5s ease-in-out infinite alternate;
}

/* Мягкое серебристое свечение */
.space-glow {
    position: absolute;
    width: min(75vw, 900px);
    aspect-ratio: 1;
    top: 35%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(180, 190, 210, 0.05),
        rgba(100, 110, 130, 0.02) 35%,
        transparent 70%
    );

    filter: blur(30px);
}

/* Контейнер комет */
.comets-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Серебристая комета */
.comet {
    position: absolute;

    width: var(--comet-length, 130px);
    height: 2px;

    border-radius: 50%;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(220, 225, 240, 0.2) 35%,
        rgba(255, 255, 255, 0.95) 100%
    );

    box-shadow: 0 0 8px rgba(220, 230, 255, 0.25);

    transform-origin: center;
    animation: cometFlight var(--comet-duration, 2s) linear forwards;
}

/* Голова кометы */
.comet::after {
    content: "";

    position: absolute;
    right: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: white;

    box-shadow:
        0 0 7px 2px rgba(255, 255, 255, 0.65),
        0 0 15px rgba(200, 220, 255, 0.35);

    transform: translateY(-50%);
}

/* Комета летит сверху справа вниз влево */
@keyframes cometFlight {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(145deg);
    }

    10% {
        opacity: 0.9;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translate(-45vw, 45vh) rotate(145deg);
    }
}

/* Мерцание звёзд */
@keyframes starsTwinkle {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 0.8;
    }
}

/* Космический фон позади сайта */
#pageShell {
    position: relative;
    z-index: 1;
}

/* Учитываем настройки уменьшенного движения */
@media (prefers-reduced-motion: reduce) {
    .space-stars {
        animation: none;
    }

    .comet {
        display: none;
        animation: none;
    }
}


/* =========================================
   AGENT 008 — MOBILE MENU
========================================= */

@media (max-width: 700px) {

/* ========================================
   MOBILE MENU — PUSH CONTENT DOWN
   AGENT 008
======================================== */

@media (max-width: 700px) {

    /* Шапка всегда остаётся на месте */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1002;
    }

    /* Не двигаем весь сайт вместе с шапкой */
    #pageShell {
        position: relative;
        z-index: 2;
        transform: none;
    }

    /* Плавно сдвигаем содержимое сайта вниз */
    #pageShell main,
    #pageShell .footer {
        transform: translateY(0);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    /* Когда меню открыто, содержимое опускается */
    #pageShell.menu-open main,
    #pageShell.menu-open .footer {
        transform: translateY(300px);
    }

}

    /*
       Меню размещается над страницей.
       Оно не должно исчезать за сдвигаемым контентом.
    */

    .header {
        z-index: 1002;
    }

    #navigation {
        position: absolute;

        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: auto;

        z-index: 1003;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 30px;
        padding: 35px var(--page-padding);

        background: rgba(8, 8, 8, 0.98);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    #navigation.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    #navigation .navigation__link {
        font-size: 24px;
    }

    #menuToggle {
        position: relative;
        z-index: 1004;
    }
}
/* Профессия над логотипом 008 */

.hero__topline {
    position: relative;
}

.hero__profession {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-family: 'Manrope', sans-serif;
    font-size: 50px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.92);

    white-space: nowrap;
    z-index: 2;
}

/* Телефоны и небольшие экраны */

@media (max-width: 700px) {
    .hero__profession {
        top: 28px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }
}

/* Плавная адаптация надписи «ФОТОГРАФ» */
@media (min-width: 701px) and (max-width: 990px) {
    .hero__profession {
        top: 35px;
        font-size: clamp(30px, 4.5vw, 44px);
        letter-spacing: 0.12em;
        transition:
            top 0.5s ease,
            font-size 0.5s ease,
            letter-spacing 0.5s ease;
    }
}

/* =========================================
   AGENT 008 — DOCUMENTS PAGE
========================================= */

.documents-page {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 110px);
}

.documents-page .section__heading {
    margin-bottom: 65px;
}

.documents-page .section__heading h1 {
    font-size: clamp(42px, 7vw, 100px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.065em;
}

.documents-page .section__heading h1 span {
    color: #777;
}

.documents-list {
    max-width: var(--content-width);
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}

.document-card {
    display: grid;
    grid-template-columns: 65px 1fr 35px;
    align-items: center;
    gap: 25px;

    min-height: 145px;
    padding: 25px 10px;

    border-bottom: 1px solid var(--color-border);

    transition:
        padding var(--transition-medium),
        background var(--transition-medium);
}

.document-card:hover {
    padding-left: 25px;
    padding-right: 25px;
    background: rgba(255, 255, 255, 0.025);
}

.document-card__number {
    font-family: var(--font-display);
    font-size: 11px;
    color: #777;
    letter-spacing: 0.12em;
}

.document-card__content h2 {
    font-size: clamp(16px, 2vw, 23px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.5;
    transition: color var(--transition-fast);
}

.document-card:hover .document-card__content h2 {
    color: #fff;
}

.document-card__content p {
    margin-top: 8px;
    max-width: 600px;
    color: #858585;
    font-size: 12px;
    line-height: 1.8;
}

.document-card__arrow {
    font-size: 22px;
    color: #777;
    text-align: right;
    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.document-card:hover .document-card__arrow {
    color: white;
    transform: translate(4px, -4px);
}

.documents-note {
    max-width: var(--content-width);
    margin: 55px auto 0;
    padding: 22px;

    display: flex;
    align-items: flex-start;
    gap: 15px;

    border: 1px solid var(--color-border);
    color: #888;
}

.documents-note__symbol {
    color: #ccc;
    font-size: 17px;
}

.documents-note p {
    font-size: 11px;
    line-height: 1.9;
}

.footer__legal {
    font-family: var(--font-display);
    font-size: 8px;
    letter-spacing: 0.1em;
    color: #777;
    transition: color var(--transition-fast);
}

.footer__legal:hover {
    color: white;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 700px) {

    .documents-page {
        padding-top: calc(var(--header-height) + 75px);
    }

    .documents-page .section__heading {
        margin-bottom: 45px;
    }

    .document-card {
        grid-template-columns: 30px 1fr 22px;
        gap: 12px;
        min-height: 125px;
        padding: 22px 0;
    }

    .document-card:hover {
        padding-left: 5px;
        padding-right: 5px;
    }

    .document-card__content h2 {
        font-size: 16px;
    }

    .document-card__content p {
        font-size: 11px;
    }

    .documents-note {
        padding: 16px;
    }

    .footer__legal {
        order: 5;
    }

}

/* ================================
   PRIVACY POLICY
================================ */

.privacy-document {
    width: 100%;
    max-width: 900px;
    margin: 65px auto 0;
    padding-bottom: 80px;
}

.privacy-document__date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 55px;
}

.privacy-section {
    padding: 0 0 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 22px;
}

.privacy-section p,
.privacy-section li {
    color: rgba(255, 255, 255, 0.66);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 400;
}

.privacy-section p {
    margin-bottom: 16px;
}

.privacy-section ul {
    padding-left: 22px;
    margin: 15px 0 20px;
}

.privacy-section li {
    padding-left: 5px;
    margin-bottom: 9px;
}

.privacy-section li::marker {
    color: rgba(255, 255, 255, 0.5);
}

.privacy-section strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-section a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
    transition: 0.3s ease;
}

.privacy-section a:hover {
    text-decoration-color: #ffffff;
}

.documents-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: 0.3s ease;
    margin-bottom: 60px;
}

.documents-back:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

.documents-back span {
    font-size: 18px;
}

@media (max-width: 768px) {
    .privacy-document {
        margin-top: 40px;
        padding-bottom: 45px;
    }

    .privacy-document__date {
        margin-bottom: 35px;
        font-size: 10px;
    }

    .privacy-section {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .privacy-section h2 {
        font-size: 14px;
        line-height: 1.6;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 13px;
        line-height: 1.8;
    }

    .documents-back {
        font-size: 9px;
    }
}

/* =========================================
   AGENT 008 — LEGAL PAGES FINAL LAYOUT
========================================= */

/* Убираем старый внешний отступ страницы */

body.documents-page {
    min-height: 100vh;
    padding-top: 0;
}

/* Центральная сетка */

.documents-content {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding:
        calc(var(--header-height) + 85px)
        var(--page-padding)
        80px;
}

/* Верхняя строка */

.documents-page__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 35px;
}

.documents-page__label,
.documents-page__number {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.18em;
    color: #858585;
}

/* Заголовок */

.documents-page__title {
    max-width: 1050px;
    font-size: clamp(38px, 6.5vw, 88px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.065em;
    margin-bottom: 25px;
}

.documents-page__title span {
    color: #777;
}

/* Описание */

.documents-page__subtitle {
    max-width: 650px;
    color: #929292;
    font-size: 14px;
    line-height: 1.9;
}

/* Текст политики */

.privacy-document {
    width: 100%;
    max-width: 900px;
    margin: 75px 0 0;
    padding-bottom: 60px;
}

/* Шапка */

.documents-page .header {
    height: var(--header-height);
    padding: 0 var(--page-padding);
}

.documents-page .header__logo {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.documents-page .header__logo span {
    color: #858585;
}

.documents-page .navigation__link {
    font-size: 11px;
}

/* Мобильная версия */

@media (max-width: 700px) {

    .documents-content {
        padding:
            calc(var(--header-height) + 55px)
            var(--page-padding)
            50px;
    }

    .documents-page__top {
        margin-bottom: 25px;
    }

    .documents-page__label,
    .documents-page__number {
        font-size: 7px;
    }

    .documents-page__title {
        font-size: clamp(34px, 9vw, 55px);
        line-height: 1.15;
    }

    .documents-page__subtitle {
        font-size: 12px;
    }

    .privacy-document {
        margin-top: 45px;
    }

}

/* =========================================
   LEGAL DOCUMENT TEXT
========================================= */

.legal-section {
    margin-bottom: 55px;
}

.legal-section h2 {
    margin-bottom: 22px;
    color: #a5a5a5;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    line-height: 1.7;
}

.legal-section p,
.legal-section li {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
}

.legal-section p {
    margin-bottom: 17px;
}

.legal-section ul {
    padding-left: 22px;
    margin: 15px 0 20px;
}

.legal-section li {
    padding-left: 5px;
    margin-bottom: 9px;
}

.legal-section strong {
    color: #e5e5e5;
    font-weight: 600;
}

.legal-section a {
    color: #e5e5e5;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.documents-note {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 25px;
    margin-top: 75px;
}

.documents-note span {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: #777;
}

.documents-note p {
    margin-top: 15px;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .legal-section {
        margin-bottom: 40px;
    }

    .legal-section h2 {
        font-size: 9px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 12px;
        line-height: 1.9;
    }
}
