:root {
    --background: #eeece8;
    --panel-dark: #0d0d0d;
    --panel-light: #f7f5f2;
    --text: #101010;
    --muted: rgba(255,255,255,0.75);
    --line: rgba(255,255,255,0.18);
    --accent: #4D5D53;
    --site-header-height: 77px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(25, 37, 31, 0.08);
    background: rgba(245, 242, 235, 0.92);
    backdrop-filter: blur(14px);
}

.site-header-inner,
.site-footer-inner {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand-block p {
    margin: 0;
    display: inline-block;
}

.brand-block a {
    color: #111111;
    text-decoration: none;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.brand-block span {
    color: #111111;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-2px);
    display: inline-block;
}

.brand-block .dot {
    color: var(--accent);
    margin: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #505b54;
    font-size: 12px;
    font-weight: 600;
}

.dot {
    color: var(--accent);
    margin: 0;
}

.site-nav a {
    color: #505b54;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:not(.nav-cta):hover {
    color: #111111;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 19px;
    border-radius: 999px;
    background: #111111;
    color: #f5f2eb !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-cta span {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
    display: inline-block;
}

.site-footer {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(245, 242, 235, 0.92);
}

.site-footer-inner {
    min-height: 90px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: #131313;
}

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

.footer-brand,
.footer-copy,
.footer-role {
    font-size: 13px;
    letter-spacing: -0.02em;
}

.footer-brand {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.05em;
}

.footer-copy {
    text-align: center;
    color: rgba(66, 66, 66, 0.8);
    font-size: 11px;
    margin-top: 2px;
}

.footer-role {
    text-align: right;
    color: rgba(19, 19, 19, 0.8);
}

main {
    padding: 0 0 2.5rem;
}

#hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: calc(100svh - var(--site-header-height));
    margin: 0;
    overflow: hidden;
    background: #f4f3f1;
}

.hero-visual {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 57%;
    overflow: hidden;
}

.hero-visual::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 18%;
    content: "";
    background: linear-gradient(90deg, #fff9f9, rgba(244, 243, 241, 0));
    pointer-events: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
}

.hero-copy {
    width: min(62%, 720px);
    padding: 0 0 20px max(36px, calc((100% - 1160px) / 2));
}

.hero-intro {
    margin: 0 0 50px;
    color: #77736f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-intro span {
    padding: 0 5px;
    color: var(--accent);
}

.hero-copy h1 {
    margin: 0;
    color: #151515;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(6rem, 13vw, 11rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.105em;
}

.hero-subtitle {
    max-width: 360px;
    margin: 20px 0 0 4px;
    color: #5f5c58;
    font-size: 14px;
    line-height: 1.7;
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: max(36px, calc((100% - 1160px) / 2));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f4c48;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    animation: bounce 2s infinite;
}

.hero-scroll:hover {
    color: var(--accent);
}

.hero-scroll span {
    font-size: 16px;
}

#about {
    scroll-margin-top: calc(var(--site-header-height) + 16px);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    min-height: 560px;
    width: min(1060px, calc(100% - 80px));
    margin: 112px auto 0;
    background: var(--panel-light);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(34, 28, 24, 0.07);
    border: 1px solid rgba(17, 17, 17, 0.045);
}

.about-visual {
    position: relative;
    min-height: 560px;
    background: #e6e1d8;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    filter: contrast(0.98) saturate(0.82);
}

.about-copy {
    background: var(--panel-light);
    color: var(--text);
    padding: 4rem clamp(2.4rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-copy .eyebrow {
    margin: 0 0 1.1rem;
    color: #555550;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.about-copy .eyebrow::before {
    background: var(--accent);
}

.eyebrow {
    margin: 0 0 1rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    display: inline-block;
}

.about-copy h2 {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(2.7rem, 4vw, 4.15rem);
    line-height: 0.98;
    letter-spacing: -0.075em;
    font-weight: 700;
    max-width: 540px;
}

.footer-brand a {
    color: black;
    text-decoration: none;
}

.description {
    margin: 1.45rem 0 0;
    color: #5e5b57;
    font-size: 0.96rem;
    line-height: 1.8;
    max-width: 490px;
}

.description.secondary {
    margin-top: 0.85rem;
}

.cta {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: fit-content;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.78rem 1.15rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
    background: #65001a;
    transform: translateY(-2px);
}

.cta span {
    font-size: 1.1rem;
    line-height: 1;
    transform: translateY(-1px);
    display: inline-block;
}

#gallery {
    scroll-margin-top: 6rem;
}

.gallery-section {
    padding: 104px 0 80px;
}

.gallery-heading {
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto 34px;
}

.gallery-heading .eyebrow {
    margin: 0;
    color: #111111;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.gallery-heading .eyebrow::before {
    background: #6e6e6e;
}

.gallery-heading h2 {
    margin: 12px 0 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(2.5rem, 3.4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.07em;
}

.gallery-carousel {
    position: relative;
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto;
}

.gallery-viewport {
    width: min(1112px, calc(100vw - 80px));
    margin-inline: auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 34px;
    width: 100%;
    overflow-x: auto;
    padding: 0 max(0px, calc((100% - 1200px) / 2));
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    flex: 0 0 clamp(230px, 25.3vw, 292px);
    height: clamp(390px, 43.8vw, 504px);
    margin: 0;
    overflow: hidden;
    background: #d7d6d1;
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1);
}


.gallery-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--panel-light);
    color: var(--accent);
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 4px 16px rgba(34, 28, 24, 0.15);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-arrow:hover {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(34, 28, 24, 0.22);
}

.gallery-arrow-previous {
    left: 4px;
}

.gallery-arrow-next {
    right: 4px;
}

#socials {
    scroll-margin-top: 6rem;
}

.social-section {
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto;
    padding: 68px 0 104px;
}

.socials-panel {
    padding: 38px;
    background: transparent;
    color: #101010;
}

.socials-heading {
    margin-bottom: 40px;
}

.socials-heading .eyebrow {
    margin: 0;
    color: #555550;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.socials-heading .eyebrow::before {
    background: var(--accent);
}

.socials-heading h2 {
    margin: 12px 0 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.07em;
}

.socials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.social-tile {
    flex: 0 1 112px;
    min-width: 150px;
    min-height: 150wpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 8px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.socials-grid a.social-tile {
    color: inherit;
    text-decoration: none;
}

.socials-grid a.social-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.social-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 93, 83, 0.28);
    background: #f7f5f2;
}

.social-tile i {
    width: 36px;
    height: 36px;
    color: var(--accent);
    font-size: 34px;
    line-height: 36px;
    flex: none;
}

.social-name {
    color: #151515;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.social-hint {
    color: #77736f;
    font-size: 10px;
    line-height: 1.2;
}

@media (max-width: 900px) {
    #hero {
        min-height: calc(100svh - var(--site-header-height));
    }

    .hero-visual {
        width: 61%;
    }

    .hero-copy {
        width: 66%;
    }

    .hero-intro {
        margin-bottom: 38px;
    }

    .hero-copy h1 {
        font-size: clamp(6rem, 15vw, 9rem);
    }

    #about {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 440px;
    }

    .about-copy {
        padding: 2.8rem 2rem 3rem;
    }

    .about-copy h2 {
        max-width: 100%;
    }

    .gallery-section {
        padding: 82px 0 60px;
    }

    .gallery-track {
        gap: 22px;
    }

    .gallery-card {
        flex-basis: clamp(220px, 36vw, 280px);
        height: clamp(360px, 58vw, 460px);
    }

}

@media (max-width: 560px) {
    :root {
        --site-header-height: 86px;
    }

    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .site-header-inner,
    .site-footer-inner,
    .gallery-heading,
    .social-section {
        width: calc(100% - 36px);
    }

    .gallery-carousel {
        width: calc(100% - 36px);
    }

    .gallery-viewport {
        width: calc(100vw - 80px);
    }

    #hero {
        width: 100%;
        min-height: calc(100svh - var(--site-header-height));
    }

    .hero-visual {
        width: 78%;
    }

    .hero-visual::before {
        width: 54%;
        background: linear-gradient(90deg, #f4f3f1 0%, rgba(244, 243, 241, 0.94) 20%, rgba(244, 243, 241, 0) 100%);
    }

    .hero-copy {
        width: 90%;
        padding: 0 0 34px 5%;
    }

    .hero-intro {
        margin-bottom: 34px;
        font-size: 9px;
        letter-spacing: 0.11em;
    }

    .hero-copy h1 {
        font-size: clamp(5.3rem, 22vw, 7.5rem);
    }

    .hero-subtitle {
        max-width: 250px;
        margin-top: 16px;
        font-size: 12px;
    }

    .hero-scroll {
        left: 5%;
        bottom: 24px;
    }

    #about {
        width: calc(100% - 36px);
        margin-top: 56px;
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 0;
        height: min(112vw, 420px);
    }

    .about-copy {
        padding: 30px 24px 34px;
    }

    .about-copy h2 {
        font-size: clamp(2.5rem, 10vw, 3.25rem);
    }

    .description {
        font-size: 0.9rem;
    }

    .site-nav {
        gap: 20px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: left;
    }

    .footer-copy {
        text-align: left;
    }

    .gallery-section {
        padding: 66px 0 44px;
    }

    .gallery-heading {
        margin-bottom: 24px;
    }

    .gallery-heading h2 {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .gallery-track {
        gap: 14px;
    }

    .gallery-card {
        flex-basis: min(74vw, 300px);
        height: min(112vw, 440px);
    }

    .social-section {
        padding: 44px 0 60px;
    }

    .socials-panel {
        padding: 24px 16px;
    }

    .socials-grid {
        gap: 8px;
    }

    .social-tile {
        flex-basis: calc((100% - 16px) / 3);
        min-height: 116px;
        padding: 12px 5px;
    }

    .social-tile i {
        width: 32px;
        height: 32px;
        font-size: 30px;
        line-height: 32px;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .gallery-arrow-previous {
        left: 6px;
    }

    .gallery-arrow-next {
        right: 6px;
    }

    .eyebrow {
        letter-spacing: 0.16em;
    }
}
