:root {
    --ink: #141414;
    --ink-soft: #252525;
    --paper: #f6f2ea;
    --paper-deep: #ebe2d4;
    --white: #ffffff;
    --muted: #77716a;
    --muted-light: #c9c2b8;
    --bronze: #b18452;
    --bronze-dark: #805c37;
    --green: #31584c;
    --brick: #8d463a;
    --line-dark: rgba(255, 255, 255, 0.13);
    --line-light: rgba(20, 20, 20, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    --font-main: "Outfit", Arial, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

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

.section-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 20, 0.78);
    backdrop-filter: blur(16px);
}

.header-container {
    width: min(1240px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(177, 132, 82, 0.75);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.brand-copy {
    display: grid;
    gap: 1px;
    color: var(--white);
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.02em;
}

.brand-copy small {
    max-width: 260px;
    color: var(--muted-light);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.header-cta {
    border: 1px solid rgba(177, 132, 82, 0.7);
    color: var(--white);
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
}

.header-cta:hover {
    background: var(--bronze);
    border-color: var(--bronze);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url("assets/cafe_bg.png");
    background-size: cover;
    background-position: center;
    filter: saturate(0.8) contrast(1.05);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 20, 20, 0.94) 0%, rgba(20, 20, 20, 0.78) 46%, rgba(20, 20, 20, 0.5) 100%),
        linear-gradient(180deg, rgba(20, 20, 20, 0.2) 0%, rgba(20, 20, 20, 1) 100%);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 70px;
    align-items: center;
    padding: 150px 0 84px;
}

.eyebrow {
    display: inline-flex;
    color: var(--bronze);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-copy h1 {
    max-width: 760px;
    font-family: var(--font-display);
    font-size: clamp(58px, 8vw, 112px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0;
    margin-bottom: 28px;
}

.hero-lead {
    max-width: 650px;
    color: var(--paper);
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.25;
    font-weight: 600;
}

.hero-note {
    max-width: 560px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 0;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.btn-primary {
    background: var(--bronze);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--bronze-dark);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--bronze);
}

.authority-panel {
    border: 1px solid var(--line-dark);
    background: rgba(20, 20, 20, 0.72);
    box-shadow: var(--shadow);
    padding: 30px;
}

.authority-monogram {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(177, 132, 82, 0.7);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
}

.panel-kicker {
    color: var(--bronze);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.authority-panel h2 {
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.04;
    margin-bottom: 16px;
}

.authority-panel p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.authority-panel dl {
    display: grid;
    gap: 1px;
    margin-top: 28px;
    background: var(--line-dark);
}

.authority-panel dl div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
    background: rgba(20, 20, 20, 0.92);
    padding: 16px 0;
}

.authority-panel dt {
    color: var(--paper);
    font-size: 29px;
    font-weight: 900;
}

.authority-panel dd {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.statement-band {
    background: var(--green);
    color: var(--white);
}

.statement-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 34px;
    align-items: center;
    padding: 34px 0;
}

.statement-grid p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.statement-grid strong {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 600;
}

.vision-section,
.about-section {
    background: var(--paper);
}

.split-layout,
.proof-layout,
.about-layout,
.cafe-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
    padding: 104px 0;
}

.section-heading h2,
.method-header h2,
.proof-copy h2,
.cafe-copy h2,
.about-copy h2,
.contact-layout h2 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: 0;
}

.text-stack {
    display: grid;
    gap: 22px;
    color: #4d4741;
    font-size: 19px;
}

.strong-line {
    border-left: 3px solid var(--brick);
    padding-left: 20px;
    color: var(--ink);
    font-weight: 800;
}

.method-section,
.contact-section {
    background: var(--ink);
    color: var(--white);
}

.method-section {
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.method-section .section-container {
    padding: 104px 0;
}

.method-header {
    max-width: 850px;
    margin-bottom: 54px;
}

.method-header p {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
}

.method-item {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 28px;
}

.method-item span {
    color: var(--bronze);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 52px;
}

.method-item h3 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.method-item p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
}

.proof-section {
    background: var(--paper-deep);
}

.proof-copy p,
.cafe-copy p,
.about-copy p,
.contact-layout p {
    margin-top: 22px;
    color: #514a43;
    font-size: 18px;
}

.proof-list {
    display: grid;
    border-top: 1px solid var(--line-light);
}

.proof-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
    border-bottom: 1px solid var(--line-light);
    padding: 28px 0;
}

.proof-row strong {
    color: var(--brick);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.proof-row p {
    color: #514a43;
    font-size: 17px;
}

.cafe-section {
    background: #fcfaf5;
}

.cafe-layout {
    align-items: center;
}

.cafe-image {
    position: relative;
}

.cafe-image::before {
    content: "";
    position: absolute;
    inset: 24px -24px -24px 24px;
    border: 1px solid rgba(49, 88, 76, 0.34);
}

.cafe-image img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.86;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: #514a43;
    font-size: 17px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    background: var(--green);
}

.about-layout {
    grid-template-columns: 320px 1fr;
    align-items: center;
}

.about-signature {
    min-height: 360px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-light);
    background:
        linear-gradient(135deg, rgba(177, 132, 82, 0.14), transparent 52%),
        var(--paper-deep);
}

.about-signature span {
    font-family: var(--font-display);
    font-size: 100px;
    color: var(--green);
}

.contact-layout {
    max-width: 790px;
    padding: 104px 0;
    text-align: center;
}

.contact-layout .eyebrow {
    justify-content: center;
}

.contact-layout p {
    color: rgba(255, 255, 255, 0.68);
}

.btn-contact {
    margin-top: 32px;
    background: var(--white);
    color: var(--ink);
}

.btn-contact:hover {
    background: var(--bronze);
    color: var(--white);
}

.main-footer {
    background: #0e0e0e;
    color: var(--white);
    border-top: 1px solid var(--line-dark);
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0;
}

.footer-layout p {
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .nav-menu,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu.mobile-active {
        position: fixed;
        inset: 76px 0 auto;
        display: grid;
        gap: 0;
        background: rgba(20, 20, 20, 0.98);
        border-bottom: 1px solid var(--line-dark);
        padding: 16px 24px 24px;
    }

    .nav-menu.mobile-active .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--line-dark);
        font-size: 17px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-layout,
    .split-layout,
    .proof-layout,
    .cafe-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .authority-panel {
        max-width: 560px;
    }

    .method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-signature {
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .section-container,
    .header-container {
        width: min(100% - 32px, 1180px);
    }

    .brand-copy small {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-layout {
        padding: 122px 0 64px;
    }

    .hero-copy h1 {
        font-size: 58px;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .statement-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .split-layout,
    .proof-layout,
    .cafe-layout,
    .about-layout,
    .method-section .section-container,
    .contact-layout {
        padding: 72px 0;
    }

    .method-grid,
    .proof-row {
        grid-template-columns: 1fr;
    }

    .method-item {
        min-height: auto;
    }

    .method-item span {
        margin-bottom: 34px;
    }

    .cafe-image::before {
        inset: 14px -10px -10px 14px;
    }

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