/* ============================================
   Coffee Go Lucky — Styles
   Palette: Emerald (#064e3b) · Cream (#f7f3eb)
   Fonts: Playfair Display · Inter
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a2e26;
    background-color: #f7f3eb;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #064e3b;
    color: #f7f3eb;
    padding: 0.5rem 1rem;
    z-index: 100;
    border-radius: 0 0 4px 4px;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 0;
}

/* ─── Typography ─── */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #065f46;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1a2e26;
    margin-bottom: 1.5rem;
}

.section-title--light {
    color: #f7f3eb;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #064e3b;
    color: #f7f3eb;
    border: 1.5px solid #064e3b;
}

.btn--primary:hover {
    background: #053d2f;
    border-color: #053d2f;
}

.btn--ghost {
    background: transparent;
    color: #1a2e26;
    border: 1.5px solid #1a2e26;
}

.btn--ghost:hover {
    background: #1a2e26;
    color: #f7f3eb;
}

.btn--light {
    background: #f7f3eb;
    color: #064e3b;
    border: 1.5px solid #f7f3eb;
}

.btn--light:hover {
    background: #f0ebe0;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(247, 243, 235, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.nav__brand-mark {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #064e3b;
    border: 1.5px solid #064e3b;
    padding: 0.25rem 0.4rem;
    border-radius: 2px;
}

.nav__brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a2e26;
    letter-spacing: 0.01em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a2e26;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.25s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #064e3b;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #064e3b;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #064e3b;
    border: 1.5px solid #064e3b;
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.nav__cta:hover {
    background: #064e3b;
    color: #f7f3eb;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    margin-left: auto;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #1a2e26;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    padding: 72px 2rem 4rem;
    background: #f7f3eb;
    display: flex;
    flex-direction: column;
}

.hero__grid {
    max-width: 1280px;
    margin: 0 auto;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__content {
    padding-right: 1rem;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #065f46;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: #1a2e26;
    margin-bottom: 1.5rem;
}

.hero__headline em {
    font-style: italic;
    color: #064e3b;
}

.hero__deck {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3d5a4c;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #5a7d6d;
    flex-wrap: wrap;
}

.hero__meta a {
    color: #065f46;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.hero__meta a:hover {
    color: #064e3b;
}

.hero__meta-sep {
    color: #a8c4b8;
}

.hero__image-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    align-items: start;
}

.hero__image-hero {
    grid-column: 2;
    grid-row: 1 / 3;
    border-radius: 4px;
    overflow: hidden;
}

.hero__image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__image-stack img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.hero__scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8fa89e;
}

/* ─── STORY ─── */
.story {
    padding: 8rem 2rem;
    background: #064e3b;
}

.story__container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story__left {
    max-width: 520px;
}

.story__body {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #c8dcc8;
    margin-bottom: 1.5rem;
}

.story__body:last-child {
    margin-bottom: 0;
}

.story__right {
    position: relative;
}

.story__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.story__caption {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: #8fb89e;
}

.story__caption svg {
    opacity: 0.6;
}

/* ─── CRAFT ─── */
.craft {
    padding: 8rem 2rem;
    background: #f7f3eb;
}

.craft__container {
    max-width: 1280px;
    margin: 0 auto;
}

.craft__header {
    max-width: 560px;
    margin-bottom: 4rem;
}

.craft__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.craft__card {
    background: #fff;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 4px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.craft__card:hover {
    border-color: rgba(6, 78, 59, 0.2);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.06);
    transform: translateY(-2px);
}

.craft__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #064e3b;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: #064e3b;
}

.craft__card-title {
    font-size: 1.375rem;
    color: #1a2e26;
    margin-bottom: 0.75rem;
}

.craft__card-body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #5a7d6d;
}

/* ─── OFFERINGS ─── */
.offerings {
    padding: 8rem 2rem;
    background: #f0ebe0;
}

.offerings__container {
    max-width: 1280px;
    margin: 0 auto;
}

.offerings__header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 4rem;
}

.offerings__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.offerings__image {
    border-radius: 4px;
    overflow: hidden;
}

.offerings__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offerings__content {
    padding-top: 1rem;
}

.offerings__group {
    margin-bottom: 2.5rem;
}

.offerings__group:last-child {
    margin-bottom: 0;
}

.offerings__group-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #1a2e26;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(6, 78, 59, 0.15);
}

.offerings__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.offerings__item-name {
    display: block;
    font-weight: 500;
    color: #1a2e26;
    font-size: 0.9375rem;
}

.offerings__item-desc {
    display: block;
    font-size: 0.8125rem;
    color: #7a9e8e;
    margin-top: 0.125rem;
}

.offerings__divider {
    height: 1px;
    background: rgba(6, 78, 59, 0.1);
    margin: 2.5rem 0;
}

/* ─── VISIT ─── */
.visit {
    padding: 8rem 2rem;
    background: #064e3b;
}

.visit__container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit__left {
    max-width: 520px;
}

.visit__details {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit__detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.visit__detail svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #6ee7b7;
}

.visit__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 0.25rem;
}

.visit__detail-value {
    display: block;
    font-size: 1rem;
    color: #f7f3eb;
    line-height: 1.6;
}

.visit__detail-value a {
    color: #f7f3eb;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.visit__detail-value a:hover {
    color: #6ee7b7;
}

.visit__map {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.visit__map-link {
    display: block;
    position: relative;
}

.visit__map-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.visit__map-link:hover .visit__map-img {
    opacity: 1;
}

.visit__map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #f7f3eb;
    letter-spacing: 0.04em;
    background: rgba(6, 78, 59, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.visit__map-link:hover .visit__map-overlay {
    background: rgba(6, 78, 59, 0.2);
}

/* ─── CONTACT ─── */
.contact {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(247, 243, 235, 0.12);
    border-radius: 4px;
    padding: 2.5rem;
}

.contact__title {
    font-size: 1.75rem;
    color: #f7f3eb;
    margin-bottom: 0.5rem;
}

.contact__subtitle {
    font-size: 0.9375rem;
    color: #8fb89e;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact__fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact__field--full {
    grid-column: 1 / -1;
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8fb89e;
    margin-bottom: 0.5rem;
}

.contact__input,
.contact__textarea {
    width: 100%;
    background: rgba(247, 243, 235, 0.06);
    border: 1px solid rgba(247, 243, 235, 0.15);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #f7f3eb;
    transition: border-color 0.25s ease;
    outline: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: #5a8a72;
}

.contact__input:focus,
.contact__textarea:focus {
    border-color: #6ee7b7;
}

.contact__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6ee7b7;
}

.contact__success svg {
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: #043929;
    padding: 3rem 2rem;
}

.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7f3eb;
}

.footer__tagline {
    font-size: 0.8125rem;
    color: #6a9e84;
    margin-left: 0;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #8fb89e;
}

.footer__info a {
    color: #8fb89e;
    transition: color 0.2s ease;
}

.footer__info a:hover {
    color: #f7f3eb;
}

.footer__copy {
    width: 100%;
    font-size: 0.75rem;
    color: #4a7a64;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(247, 243, 235, 0.06);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(247, 243, 235, 0.98);
        backdrop-filter: blur(12px);
        padding: 1.5rem 2rem 2rem;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        gap: 0.5rem;
    }

    .nav__links.mobile-open .nav__link {
        padding: 0.75rem 0;
        font-size: 0.9375rem;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero__content {
        padding-right: 0;
        order: 1;
    }

    .hero__image-col {
        order: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 160px;
    }

    .hero__image-hero {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .hero__image-stack {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        gap: 0.75rem;
    }

    .story__container,
    .craft__grid,
    .offerings__split,
    .visit__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .story__left {
        max-width: 100%;
    }

    .craft__grid {
        grid-template-columns: 1fr;
    }

    .offerings__image {
        order: -1;
    }

    .offerings__image img {
        height: 300px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 72px 1.25rem 3rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .craft__card {
        padding: 1.75rem;
    }

    .contact {
        padding: 1.75rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
