:root {
    --black: #000000;
    --surface: #0A0A0A;
    --surface-light: #111111;

    --white: #F2F2F2;
    --text: #E8E8E8;
    --muted: #999999;

    --rose: #1B1C20;
    --copper: #AC6947;

    --border: #242424;

    --heading-font: "Playfair Display", serif;
    --body-font: "Inter", sans-serif;

    --max-width: 1280px;
}


/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}


body {
    background: var(--black);
    color: var(--text);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


section {
    position: relative;
}


.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 40px;
}


.eyebrow {
    margin-bottom: 18px;
    color: var(--copper);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
}


h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}


/* Focus */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 4px;
}


/* Navigation */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--black);
    border-bottom: 1px solid var(--border);
}


.navbar {
    max-width: var(--max-width);
    height: 92px;
    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
}


.brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}


.nav-links a {
    font-size: 13px;
    font-weight: 500;
}


.nav-links>a:not(.nav-button) {
    transition: color 0.2s ease;
}


.nav-links>a:not(.nav-button):hover {
    color: var(--copper);
}


.nav-button {
    padding: 12px 21px;
    background: var(--copper);
    color: var(--black);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.nav-button:hover {
    background: var(--white);
    color: var(--black);
}


.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 3px 0;
    background: var(--copper);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}


.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero */

.hero {
    max-width: var(--max-width);
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    padding: 60px 40px 100px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}


.hero-content {
    max-width: 570px;
}


.hero h1 {
    margin-bottom: 28px;

    font-family: var(--heading-font);
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
}


.hero-text {
    max-width: 490px;
    margin-bottom: 36px;

    color: var(--muted);
    font-size: 16px;
}


.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 23px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    background: var(--copper);
    color: var(--black);
}


.button-primary:hover {
    background: var(--white);
    color: var(--black);
}


.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 600;
}


.text-link span {
    transition: transform 0.2s ease;
}


.text-link:hover span {
    transform: translateX(4px);
}


.hero-categories {
    margin-top: 48px;

    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.hero-categories span {
    margin: 0 8px;
    color: var(--copper);
}


.hero-image {
    height: 680px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
}


.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Intro */

.intro {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    align-items: center;
    gap: 100px;
}


.intro-image {
    height: 650px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
}


.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.intro-content {
    max-width: 550px;
}


.intro h2,
.section-heading h2,
.occasions h2 {
    font-family: var(--heading-font);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
}


.intro-content>p:not(.eyebrow) {
    margin-top: 28px;
    color: var(--muted);
}


.feature-list {
    margin-top: 48px;
}


/* Meet the baker */

.baker.section {
    max-width: none;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.baker-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.baker-photo-placeholder {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    border: 1px solid rgba(187, 137, 105, 0.42);
    background: radial-gradient(ellipse at 50% 42%, rgba(187, 137, 105, 0.16), transparent 58%), #111;
    text-align: center;
}

.baker-monogram {
    width: 124px;
    height: 124px;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper);
    border-radius: 50%;
    color: var(--copper);
    font-family: var(--heading-font);
    font-size: 72px;
}

.baker-photo-placeholder p {
    margin: 10px 0 0;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.baker-photo-note {
    color: var(--muted);
    font-size: 12px;
}

.baker-story h2 {
    margin: 0 0 25px;
    font-family: var(--heading-font);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.baker-story>p:not(.eyebrow) {
    margin: 0 0 18px;
    color: var(--muted);
}

.baker-story .button { margin-top: 12px; }


.feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 18px;

    padding: 22px 0;

    border-top: 1px solid var(--border);
}


.feature:last-child {
    border-bottom: 1px solid var(--border);
}


.feature>span {
    color: var(--copper);
    font-size: 11px;
    font-weight: 600;
}


.feature h3 {
    margin-bottom: 4px;

    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
}


.feature p {
    color: var(--muted);
    font-size: 13px;
}


/* Bakes */

.bakes {
    max-width: none;

    padding-left: max(40px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(40px, calc((100vw - var(--max-width)) / 2));
}


.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 50px;
    margin-bottom: 60px;
}


.section-heading>p {
    max-width: 330px;

    color: var(--muted);
    font-size: 14px;
}


.bake-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 35px;
}


.bake-card {
    min-width: 0;
}


.bake-image {
    height: 500px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
}


.bake-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.bake-card:hover .bake-image img {
    transform: scale(1.025);
}


.bake-card-content {
    padding-top: 22px;
}


.card-number {
    margin-bottom: 7px;

    color: var(--copper);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
}


.bake-card h3 {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
}


.bake-card-content>p:not(.card-number) {
    max-width: 470px;
    margin-bottom: 17px;

    color: var(--muted);
    font-size: 14px;
}


.bake-card a {
    color: var(--copper);
    font-size: 12px;
    font-weight: 600;
}


.bake-card a span {
    display: inline-block;
    transition: transform 0.2s ease;
}


.bake-card a:hover span {
    transform: translateX(4px);
}


/* Gallery */

.gallery-heading {
    margin-bottom: 50px;
}


.gallery-grid {
    display: grid;

    grid-template-columns: 1.35fr 0.65fr;
    grid-template-rows: 330px 330px;

    gap: 18px;
}


.gallery-item {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border-radius: 6px;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.gallery-item:hover img {
    transform: scale(1.025);
}


.gallery-large {
    grid-row: span 2;
}


.gallery-wide {
    grid-column: 2;
}


/* Details */

.details {
    max-width: none;

    padding-left: max(40px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(40px, calc((100vw - var(--max-width)) / 2));
}


.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;

    background: var(--border);
}


.detail-card {
    min-height: 250px;
    padding: 30px;

    background: var(--black);
}


.detail-card h3 {
    margin: 45px 0 12px;

    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 500;
}


.detail-card>p:last-child {
    color: var(--muted);
    font-size: 13px;
}


/* Occasions */

.occasions {
    max-width: none;

    padding-left: max(40px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(40px, calc((100vw - var(--max-width)) / 2));

    background: var(--surface);
    color: var(--white);
}


.occasions-heading {
    max-width: 700px;
    margin-bottom: 65px;
}


.occasions .eyebrow {
    color: var(--copper);
}


.occasions h2 {
    color: var(--white);
}


.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.occasion {
    min-height: 190px;
    padding: 25px 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}


.occasion:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}


.occasion span {
    color: var(--copper);
    font-size: 10px;
}


.occasion h3 {
    margin-top: 65px;

    font-family: var(--heading-font);
    font-size: 25px;
    font-weight: 500;
}


/* CTA */

.cta {
    max-width: none;

    padding-top: 150px;
    padding-bottom: 150px;

    background: var(--surface);
    color: var(--white);

    text-align: center;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.cta-inner {
    max-width: 650px;
    margin: 0 auto;
}


.cta .eyebrow {
    color: var(--copper);
}


.cta h2 {
    margin-bottom: 25px;

    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.05;
}


.cta p:not(.eyebrow) {
    max-width: 500px;
    margin: 0 auto 35px;

    color: var(--muted);
}


.button-light {
    background: var(--copper);
    color: var(--black);
}


.button-light:hover {
    background: var(--white);
    color: var(--black);
}

.contact-form {
    max-width: 540px;
    margin: 38px auto 0;
    text-align: left;
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; color: var(--white); font-size: 14px; }
.form-field label span { color: var(--muted); }
.form-field input, .form-field textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 2px;
    background: #111; color: var(--white); font: inherit;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--copper); outline-offset: 2px; }
.contact-form button { border: 0; cursor: pointer; font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; text-align: center; background: var(--black); color: var(--white); }
.status-card { max-width: 620px; padding: 56px 36px; border: 1px solid var(--border); background: var(--surface); }
.status-card img { width: 88px; height: 88px; object-fit: cover; margin: 0 auto 28px; }
.status-card .eyebrow { color: var(--copper); }
.status-card h1 { margin: 12px 0 18px; font-family: var(--heading-font); font-size: clamp(42px, 8vw, 68px); font-weight: 500; }
.status-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 28px; }


/* Social */

.social {
    text-align: center;
}


.social-content {
    max-width: 600px;
    margin: 0 auto;
}


.social h2 {
    margin-bottom: 20px;

    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 500;
}


.social-content>p:not(.eyebrow) {
    margin-bottom: 25px;
    color: var(--muted);
}


/* Footer */

.site-footer {
    background: var(--black);
    color: var(--white);

    padding: 80px 40px 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 100px;

    padding-bottom: 70px;
}


.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-brand img {
    width: 95px;
    height: 95px;

    object-fit: contain;

    margin-bottom: 22px;
}


.footer-brand p {
    max-width: 280px;
    margin: 0;

    color: var(--copper);

    font-family: var(--heading-font);
    font-size: 18px;
    line-height: 1.5;
}


/* Footer links */

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 50px 70px;

    align-content: start;

    padding-top: 8px;
}


.footer-links>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 11px;
}


.footer-label {
    margin-bottom: 7px;

    color: var(--copper);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.5;

    transition: color 0.2s ease;
}


.footer-links a:hover {
    color: var(--white);
}


/* Footer bottom */

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.footer-credit {
    padding: 14px 18px;
    border: 1px solid rgba(187, 137, 105, 0.45);
    background: rgba(187, 137, 105, 0.08);
    text-align: right;
}

.footer-credit p {
    margin: 0 0 5px;
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 17px;
}

.footer-credit a {
    color: var(--copper);
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-credit a:hover { color: var(--white); }


.footer-bottom p {
    margin: 0;
}


.footer-bottom a {
    color: var(--copper);

    transition: color 0.2s ease;
}


.footer-bottom a:hover {
    color: var(--white);
}


/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

    will-change: opacity, transform;
}


.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Tablet */

@media (max-width: 1000px) {

    .hero {
        gap: 50px;
    }


    .intro {
        gap: 60px;
    }


    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-top {
        gap: 60px;
    }

}


/* Mobile */

@media (max-width: 850px) {

    html {
        scroll-padding-top: 78px;
    }


    .navbar {
        height: 78px;
        padding: 0 22px;
    }


    .brand img {
        width: 60px;
        height: 60px;
    }


    .menu-toggle {
        display: flex;
    }


    .nav-links {
        position: absolute;

        top: 78px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 15px 22px 25px;

        background: var(--black);

        border-bottom: 1px solid var(--border);
    }


    .nav-links.active {
        display: flex;
    }


    .nav-links a {
        padding: 13px 0;
    }


    .nav-button {
        margin-top: 8px;
        padding: 13px 18px !important;

        text-align: center;
    }


    .section {
        padding: 80px 22px;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding: 45px 22px 80px;

        display: flex;
        flex-direction: column;

        gap: 45px;
    }


    .hero h1 {
        font-size: clamp(43px, 12vw, 60px);
    }


    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;
    }


    .hero-image {
        width: 100%;
        height: 500px;
    }


    /* Intro */

    .intro {
        display: flex;
        flex-direction: column;

        gap: 50px;
    }


    .baker-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }


    .baker-photo-placeholder {
        min-height: 400px;
    }


    .intro-image {
        width: 100%;
        height: 500px;
    }


    /* Headings */

    .section-heading {
        display: block;
    }


    .section-heading>p {
        margin-top: 20px;
    }


    /* Bakes */

    .bakes {
        padding-left: 22px;
        padding-right: 22px;
    }


    .bake-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }


    .bake-image {
        height: 450px;
    }


    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 330px);
    }


    .gallery-large {
        grid-row: auto;
    }


    .gallery-wide {
        grid-column: auto;
    }


    /* Details */

    .details {
        padding-left: 22px;
        padding-right: 22px;
    }


    .details-grid {
        grid-template-columns: 1fr 1fr;
    }


    .detail-card {
        min-height: 220px;
    }


    /* Occasions */

    .occasions {
        padding-left: 22px;
        padding-right: 22px;
    }


    .occasion-grid {
        grid-template-columns: 1fr 1fr;
    }


    .occasion {
        min-height: 160px;
    }


    .occasion:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }


    .occasion h3 {
        margin-top: 50px;
    }


    /* CTA */

    .cta {
        padding: 100px 22px;
    }


    /* Social */

    .social h2 {
        font-size: 40px;
    }


    /* Footer */

    .site-footer {
        padding: 60px 22px 25px;
    }


    .footer-top {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-bottom: 50px;
    }


    .footer-brand img {
        width: 80px;
        height: 80px;
    }


    .footer-links {
        grid-template-columns: repeat(2, 1fr);

        gap: 40px 30px;

        padding-top: 0;
    }


    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .footer-credit {
        align-self: stretch;
        text-align: left;
    }

}


/* Small phones */

@media (max-width: 480px) {

    .hero-image,
    .intro-image {
        height: 400px;
    }


    .bake-image {
        height: 400px;
    }


    .gallery-grid {
        grid-template-rows: repeat(5, 300px);
    }


    .details-grid {
        grid-template-columns: 1fr;
    }


    .detail-card {
        min-height: auto;
    }


    .occasion-grid {
        grid-template-columns: 1fr;
    }


    .occasion {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }


    .footer-links {
        grid-template-columns: 1fr 1fr;

        gap: 35px 20px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }


    .button,
    .text-link span,
    .bake-image img,
    .gallery-item img,
    .menu-toggle span {
        transition: none;
    }

}
