:root {
    --ink: #14211c;
    --ink-soft: #4d5a54;
    --paper: #f3efe6;
    --white: #fffcf7;
    --line: rgba(20, 33, 28, 0.12);
    --green: #1b4336;
    --green-deep: #12261f;
    --header: 76px;
    --gutter: clamp(1.25rem, 4vw, 4.5rem);
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 0% -10%, rgba(255, 255, 255, 0.85), transparent 55%),
        var(--paper);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--green);
    color: var(--paper);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 50;
    background: var(--white);
    color: var(--ink);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    color: var(--ink);
    background: rgba(243, 239, 230, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line);
}

body.home .site-header {
    color: #fff;
    background: linear-gradient(to bottom, rgba(8, 14, 12, 0.55), transparent);
    box-shadow: none;
}

body.home .site-header.is-scrolled,
body.home .site-header.is-open {
    color: var(--ink);
    background: rgba(243, 239, 230, 0.94);
    box-shadow: 0 1px 0 var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.nav {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: inherit;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-header.is-solid .nav a:hover,
.site-header.is-scrolled .nav a:hover,
.site-header.is-open .nav a:hover {
    background: rgba(20, 33, 28, 0.06);
}

.nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.16);
}

.site-header.is-solid .nav a[aria-current="page"],
.site-header.is-scrolled .nav a[aria-current="page"],
.site-header.is-open .nav a[aria-current="page"] {
    background: rgba(20, 33, 28, 0.08);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    place-items: center;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    position: relative;
    transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.site-header.is-open .menu-bars {
    background: transparent;
}

.site-header.is-open .menu-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-open .menu-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    flex-shrink: 0;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8, 14, 12, 0.82) 0%, rgba(8, 14, 12, 0.28) 46%, rgba(8, 14, 12, 0.22) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    padding: 0 var(--gutter) 11vh;
}

.kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0.15em 0 0.2em;
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(3.6rem, 8vw, 7.4rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.lede {
    max-width: 34rem;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
}

.btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1.6rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.btn:hover {
    background: #fff;
}

.section,
.page {
    flex-shrink: 0;
}

.section {
    padding: 5.5rem var(--gutter) 5rem;
}

.section-head {
    width: min(1440px, 100%);
    margin: 0 auto 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.section-head h2,
.about h1,
.contact-copy h1 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.section-head h2 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.section-note {
    margin: 0;
    max-width: 22rem;
    color: var(--ink-soft);
    font-weight: 300;
    font-size: 1.05rem;
}

.gallery {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.tile {
    grid-column: span 4;
    min-width: 0;
}

.tile.wide {
    grid-column: span 8;
}

.tile.full {
    grid-column: span 12;
}

.shot {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #d9d3c8;
    cursor: zoom-in;
}

.tile.wide .shot {
    aspect-ratio: 16 / 11;
}

.tile.full .shot {
    aspect-ratio: 2.35 / 1;
}

.shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 12, 0);
    transition: background 0.35s ease;
}

.shot:hover img {
    transform: scale(1.045);
}

.shot:hover::after {
    background: rgba(8, 14, 12, 0.16);
}

.page {
    padding: calc(var(--header) + 3.5rem) var(--gutter) 5rem;
}

.about,
.contact {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about h1,
.contact-copy h1 {
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    margin-bottom: 1rem;
}

.about p,
.contact-copy p {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ink-soft);
    max-width: 38rem;
}

.about a,
.contact-copy a {
    color: var(--green);
    font-weight: 500;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(20, 33, 28, 0.14);
}

.contact-form {
    display: grid;
    gap: 0.35rem;
    padding: 1.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(20, 33, 28, 0.06);
}

.field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.field label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--ink);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
    border-color: rgba(20, 33, 28, 0.45);
}

.submit {
    justify-self: start;
    margin-top: 0.4rem;
    border: 0;
    background: var(--green);
    color: var(--paper);
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    cursor: pointer;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 500;
}

.submit:hover {
    background: #16382d;
}

.site-footer {
    margin-top: auto;
    background: var(--green-deep);
    color: #efeae2;
    padding: 2.5rem var(--gutter) 0;
}

.footer-top {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
}

.site-footer .brand {
    color: #efeae2;
}

.socials {
    display: flex;
    gap: 0.6rem;
}

.socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #efeae2;
    border: 1px solid rgba(239, 234, 226, 0.28);
    text-decoration: none;
}

.socials a:hover {
    background: #efeae2;
    color: var(--green-deep);
}

.socials svg {
    width: 18px;
    height: 18px;
}

.socials svg path {
    fill: currentColor;
    fill-rule: evenodd;
}

.footer-bottom {
    border-top: 1px solid rgba(239, 234, 226, 0.14);
    padding: 1rem 0 1.2rem;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(239, 234, 226, 0.72);
}

.footer-bottom p {
    margin: 0;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    grid-template-rows: 1fr auto;
    justify-items: center;
    align-items: center;
    padding: 4.5rem 5.5rem 1.35rem;
    background: #0c110f;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: calc(100svh - 8.5rem);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
    top: 1.1rem;
    right: 1.1rem;
}

.lightbox-prev {
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-count {
    margin: 0.85rem 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

@media (max-width: 980px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .tile,
    .tile.wide,
    .tile.full {
        grid-column: span 1;
    }

    .tile.full {
        grid-column: span 2;
    }

    .shot,
    .tile.wide .shot {
        aspect-ratio: 4 / 5;
    }

    .tile.full .shot {
        aspect-ratio: 16 / 9;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-height: 70vh;
        order: -1;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: grid;
    }

    .nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.4rem var(--gutter) 1rem;
        background: rgba(243, 239, 230, 0.98);
        color: var(--ink);
        box-shadow: 0 16px 30px rgba(20, 33, 28, 0.08);
    }

    .site-header.is-open .nav {
        display: flex;
    }

    .nav a {
        padding: 0.85rem 0.2rem;
    }

    .section-head,
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 16vw, 4.4rem);
    }

    .lightbox {
        padding: 4.25rem 3.4rem 1.1rem;
    }
}

@media (max-width: 560px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .tile,
    .tile.wide,
    .tile.full {
        grid-column: auto;
    }

    .tile.full .shot {
        aspect-ratio: 16 / 10;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .shot img,
    .menu-bars,
    .menu-bars::before,
    .menu-bars::after {
        transition: none;
    }
}
