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

}


@font-face {
  font-family: 'UntitledSans-Light';
  src: url("../fonts/untitled_sans_light-webfont.woff") format("woff"),
       url("../fonts/untitled_sans_light-webfont.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AshburyW01';
  src: url('../fonts/ashburyw01-lightitalic-webfont.woff2') format('woff2'),
       url('../fonts/ashburyw01-lightitalic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;

}

@font-face {
  font-family: 'RF Dewi';
  src: url('../fonts/rfdewi-light-webfont.woff2') format('woff2'),
       url('../fonts/rfdewi-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;

}


body {
    margin: 0;
    color: #000;
    background-color: #fffdf4;
}

h1,h2,h3,h4,h5,h6 {
 margin: 0%;
}
p {
 margin: 0,0,10px;
}



/* Container
======================*/
.container {
   width: 100%;
   margin: 0 auto;
   
}

/* Header
======================*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 70px;
    padding: 0 1.2%;

    box-sizing: border-box;
    background: #fffdf4;
    border-bottom: 1px solid transparent;

    transition: border-color 0.3s ease;
}

/* Thin line after scrolling */

.site-header.scrolled {
    border-bottom-color: #bdbdbd;
}

/* Logo */

.site-logo {
    flex-shrink: 0;

    color: #000;
    text-decoration: none;

    font-family: 'AshburyW01', serif;
    font-size: 23px;
    font-weight: 400;
    word-spacing: 3px;
}

/* Arrow */

.footer-arrow {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.footer-column a:hover .footer-arrow {
    transform: translate(2px, -2px);
}

/* Desktop navigation */

.site-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.site-nav a {
    position: relative;

    color: #000;
    text-decoration: none;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 13px;
    font-weight: 300;

    transition: color 0.3s ease;
}

/* Underline animation */

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 100%;
    height: 1px;

    background: #000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-nav a:hover {
    color: #777;
}

.site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hide mobile toggle on desktop */

.menu-checkbox,
.menu-button {
    display: none;
}


/* =========================
   MOBILE NAVIGATION
========================= */

@media (max-width: 768px) {

    .site-header {
        height: 60px;
        padding: 0 20px;
    }

    .site-logo {
        font-size: 21px;
        position: relative;
        z-index: 1002;
        transition: opacity 0.3s ease;
    }

    /* Checkbox stays accessible but invisible */

    .menu-checkbox {
        display: block;
        position: fixed;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    /* Hamburger button */

    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        width: 28px;
        height: 28px;
        cursor: pointer;

        position: relative;
        z-index: 1002;
    }

    .menu-button span {
        display: block;
        width: 25px;
        height: 1px;
        background: #000;

        transition: transform 0.3s ease;
    }

    /* Full-screen menu */

    .site-nav {
        position: fixed;
        top: 60px;
        left: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        width: 100%;
        height: calc(100dvh - 60px);
        padding: 30px 20px;
        box-sizing: border-box;

        background: #fffdf4;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

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

    .site-nav a {
        font-size: 30px;
        line-height: 1.3;
    }

    /* Open menu */

    .menu-checkbox:checked + .site-header .site-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Turn hamburger into a cross */

    .menu-checkbox:checked + .site-header .menu-button span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-checkbox:checked + .site-header .menu-button span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    /* Hide logo while menu is open */

    .menu-checkbox:checked + .site-header .site-logo {
        opacity: 0;
        pointer-events: none;
    }
}


/* MOBILE — MENU */

#header {
    transition: top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
} 

@media (max-width: 768px) {

    /* Disable page scrolling when menu is open */
    body:has(#menu:checked) {
        overflow: hidden;
    }

    /* Keep header visible */
    #menu:checked ~ .site-header {
        top: 0 !important;
    }

    /* Allow scrolling inside the menu */
    #menu:checked ~ .site-header .site-nav {
        max-height: 100dvh;
        overflow-y: auto;
    }

    /* Hide header border when menu is open */
    #menu:checked ~ .site-header.scrolled {
        border-bottom-color: transparent;
    }

}

/* Intro
======================*/

.about-page {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 0 70px;

    box-sizing: border-box;
    color: #000;
}

.about-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding-bottom: 18px;
    padding-top: 30px;
    border-bottom: 1px solid #bdbdbd;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.2px;
}

.about-top a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #000;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.about-top a:hover {
    opacity: 0.45;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    column-gap: clamp(60px, 9vw, 145px);

    align-items: start;

    padding-top: 75px;
}

.about-copy {
    min-width: 0;
}

.about-eyebrow {
    display: block;
    margin-bottom: 25px;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.5px;
}


/* Main title */

.about-title {
    margin: 0 0 38px;
    padding: 0;

    font-family: 'AshburyW01', serif;
    font-size: clamp(42px, 4.5vw, 72px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -1.5px;
}


/* Description */

.about-description {
    max-width: 560px;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0.1px;
}

.about-description p {
    margin: 0 0 20px;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-signature {
    max-width: 560px;
    margin-top: 45px;
    padding-top: 17px;

    border-top: 1px solid #bdbdbd;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.3px;
}

/* Photo */

.about-photo {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    justify-self: end;
    min-width: 0;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .about-page {
        width: 92%;
        padding-top: 90px;
    }

    .about-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        column-gap: 45px;
        padding-top: 55px;
    }

    .about-copy {
        padding-top: 10px;
    }

    .about-title {
        font-size: clamp(55px, 7vw, 72px);
    }

    .about-description {
        font-size: 13px;
        line-height: 1.8;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .about-page {
        width: 92%;
        padding-top: 90px;
        padding-bottom: 45px;
    }

    .about-top {
        padding-bottom: 15px;
        padding-top: 0px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 45px;
    }

    .about-copy {
        padding-top: 0;
    }

    .about-eyebrow {
        margin-bottom: 20px;
    }

    .about-title {
        font-size: 62px;
        margin-bottom: 30px;
    }

    .about-description {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.8;
    }

    .about-description p {
        margin-bottom: 18px;
    }

    .about-signature {
        margin-top: 35px;
        padding-top: 15px;
    }

    .about-photo {
        max-width: 100%;
        justify-self: start;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 420px) {

    .about-top {
        font-size: 8px;
        letter-spacing: 0.5px;
        gap: 10px;
    }

    .about-title {
        font-size: 54px;
    }

    .about-description {
        font-size: 13px;
    }
}

@media (max-width: 650px) {
    .about-photo {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }
}



 /* Footer
======================*/

.site-footer {
    width: 100%;
    padding: 80px 2% 30px;
    box-sizing: border-box;
    color: #000;
   background-color: #fffdf4;
}

.footer-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Top line */

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.2px;
}

.footer-top {
    padding-bottom: 18px;
    border-bottom: 1px solid #bdbdbd;
}

/* Main layout */

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.6fr 0.6fr;
    gap: 60px;
    padding: 55px 0 65px;
    align-items: start;
}

/* Contact */

.footer-label {
    display: block;
    margin-bottom: 24px;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.2px;
}

.footer-contact h2 {
    margin: 0 0 30px;

    font-family: 'AshburyW01', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

/* Links */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column > a,
.footer-contact-links a {
    color: #000;
    text-decoration: none;

    font-family: 'UntitledSans-Light', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;

    transition: color 0.3s ease,
                opacity 0.3s ease;
}

.footer-column > a:hover,
.footer-contact-links a:hover {
    color: #777;
}

/* Bottom line */

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid #bdbdbd;
    color: #555;
}

/* Tablet */

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 20px 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
        padding: 40px 0 45px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact h2 {
        font-size: 46px;
    }
}

/* Small mobile */

@media (max-width: 420px) {
    .footer-top,
    .footer-bottom {
        font-size: 8px;
        letter-spacing: 0.5px;
        gap: 12px;
    }

    .footer-main {
        gap: 35px 15px;
    }

    .footer-contact h2 {
        font-size: 40px;
    }

    .footer-column > a,
    .footer-contact-links a {
        font-size: 12px;
        overflow-wrap: anywhere;
    }
}







 /* Animations
======================*/


/* Скрыть блоки до начала анимации */
.header_inner,
.intro_inner,
.gallery,
.footer,
.content {
   opacity: 0;
   transform: translateY(100px);
}

/* Анимация для появления блоков */
@keyframes fadeInUp {
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

/* Применение анимации с задержкой для каждого блока */
.header_inner {
   animation: fadeInUp 0.6s ease forwards;
   animation-delay: 0.2s;
}

.intro_inner {
   animation: fadeInUp 0.6s ease forwards;
   animation-delay: 0.4s;
}

.gallery {
   animation: fadeInUp 0.6s ease forwards;
   animation-delay: 0.6s;
}

.footer {
   animation: fadeInUp 0.6s ease forwards;
   animation-delay: 0.8s;
}

.content {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
}


/* =========================
   ABOUT — EDITORIAL REVEAL
========================= */

@keyframes aboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

@keyframes aboutPhotoReveal {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes aboutPhotoZoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

/* Top navigation */

.about-top {
    animation: aboutFadeUp 0.9s ease-out 0.1s both;
}

/* Title */

.about-eyebrow {
    animation: aboutFadeUp 0.9s ease-out 0.25s both;
}

.about-title {
    animation: aboutFadeUp 1.2s
        cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* Description */

.about-description p {
    animation: aboutFadeUp 1s
        cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-description p:nth-child(1) {
    animation-delay: 0.55s;
}

.about-description p:nth-child(2) {
    animation-delay: 0.7s;
}

.about-description p:nth-child(3) {
    animation-delay: 0.85s;
}

.about-description p:nth-child(4) {
    animation-delay: 1s;
}

.about-description p:nth-child(5) {
    animation-delay: 1.15s;
}

/* Signature */

.about-signature {
    animation: aboutFadeUp 1s ease-out 1.3s both;
}

/* Portrait */

.about-photo {
    overflow: hidden;

    animation: aboutPhotoReveal 1.6s
        cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.about-photo img {
    animation: aboutPhotoZoom 2s
        cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Accessibility */

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

    .about-top,
    .about-eyebrow,
    .about-title,
    .about-description p,
    .about-signature,
    .about-photo,
    .about-photo img {
        animation: none;
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}


