/* ==========================================================================
   Homemade Iced Coffee — Landing page styles
   Original design. Warm coffee palette. Kept in a separate stylesheet.
   ========================================================================== */

:root {
    --coffee-dark: #2b1d16;
    --coffee-deep: #3a2820;
    --coffee-mid: #6f4e37;
    --coffee-accent: #c07a3e;
    --coffee-accent-dark: #a5652f;
    --cream: #f7f1e8;
    --cream-soft: #fbf6ef;
    --sand: #efe3d3;
    --ink: #33291f;
    --muted: #7c6d5f;
    --border: #e7dccc;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background-color: var(--cream-soft);
    line-height: 1.65;
    margin: 0;
}

h1, h2, h3, h4, .serif {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    color: var(--coffee-dark);
    line-height: 1.15;
    font-weight: 600;
}

a { color: var(--coffee-accent-dark); }

.container-narrow { max-width: 820px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.container-wide { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 20px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coffee-accent);
}

/* Buttons */
.btn-pour {
    display: inline-block;
    background: var(--coffee-accent);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(192, 122, 62, 0.3);
}
.btn-pour:hover { background: var(--coffee-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--coffee-dark);
    font-weight: 600;
    border: 2px solid var(--coffee-mid);
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-ghost:hover { background: var(--coffee-dark); color: #fff; border-color: var(--coffee-dark); }

/* Header / nav */
.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
.brand {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--coffee-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand .brand-mark {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--coffee-accent);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.brand span.accent { color: var(--coffee-accent); }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a {
    color: var(--coffee-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.main-nav a:hover { color: var(--coffee-accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--coffee-dark); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%); padding: 64px 0 72px; }
.hero .container-wide { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--coffee-deep); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.9rem; color: var(--muted); }
.hero-meta strong { color: var(--coffee-dark); display: block; font-size: 1.05rem; font-family: 'Fraunces', serif; }
.hero-visual {
    background: radial-gradient(circle at 50% 40%, #4a342600 0%, #2b1d1600 60%), var(--coffee-mid);
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(43, 29, 22, 0.5);
    display: flex; align-items: center; justify-content: center;
}
.hero-visual .glass {
    font-size: clamp(6rem, 16vw, 10rem);
    line-height: 1;
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.25));
}
.hero-visual .visual-tag {
    position: absolute; bottom: 18px; left: 18px; right: 18px;
    background: rgba(43, 29, 22, 0.55);
    color: #f7f1e8;
    backdrop-filter: blur(4px);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.85rem;
}

/* Section shells */
.section { padding: 64px 0; }
.section--tint { background: var(--cream); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0 14px; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 640px; }

/* Recipe card */
.recipe-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 44px -26px rgba(43, 29, 22, 0.4);
    overflow: hidden;
}
.recipe-card__head { padding: 30px 34px; border-bottom: 1px solid var(--border); background: var(--cream-soft); }
.recipe-card__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 16px; }
.recipe-card__meta div { font-size: 0.85rem; color: var(--muted); }
.recipe-card__meta strong { display: block; font-family: 'Fraunces', serif; color: var(--coffee-dark); font-size: 1.1rem; }
.recipe-card__body { padding: 30px 34px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
.recipe-card__body h3 { font-size: 1.3rem; margin: 0 0 16px; }

.servings-control { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.servings-control button {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--coffee-mid); background: #fff; color: var(--coffee-dark);
    font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.servings-control button:hover { background: var(--coffee-mid); color: #fff; }
.servings-control output { font-weight: 700; font-family: 'Fraunces', serif; min-width: 90px; text-align: center; }

.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li {
    padding: 11px 0 11px 30px;
    border-bottom: 1px dashed var(--border);
    position: relative;
    font-size: 0.98rem;
}
.ingredients li::before {
    content: "\2022";
    color: var(--coffee-accent);
    position: absolute; left: 6px; top: 9px; font-size: 1.3rem;
}
.ingredients .amount { font-weight: 700; color: var(--coffee-dark); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
    position: relative;
    padding: 0 0 22px 52px;
    margin-bottom: 4px;
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--coffee-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: 'Fraunces', serif;
}
.steps li:not(:last-child)::after {
    content: ""; position: absolute; left: 16px; top: 38px; bottom: 6px;
    width: 2px; background: var(--sand);
}

/* Tips / variations grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tip-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -14px rgba(43,29,22,0.25); }
.tip-card .tip-icon {
    width: 50px; height: 50px; border-radius: 14px; background: var(--sand); color: var(--coffee-accent-dark);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
}
.tip-card h4 { font-size: 1.12rem; margin: 0 0 8px; }
.tip-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none;
    padding: 20px 40px 20px 0; font-size: 1.08rem; font-weight: 600;
    font-family: 'Fraunces', serif; color: var(--coffee-dark); cursor: pointer; position: relative;
}
.faq-q::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--coffee-accent); transition: transform 0.2s ease;
}
.faq-q[aria-expanded="true"]::after { content: "\2013"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; color: var(--muted); }
.faq-a__inner { padding: 0 0 20px; }

/* Newsletter / CTA */
.cta {
    background: var(--coffee-dark);
    color: var(--cream);
    border-radius: 22px;
    padding: 46px 40px;
    text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #d9c8b6; max-width: 520px; margin: 10px auto 24px; }
.cta form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta input[type="email"] {
    flex: 1 1 280px; max-width: 340px;
    padding: 13px 18px; border-radius: 50px; border: none; font-size: 1rem;
}
.cta .form-note { font-size: 0.8rem; color: #b9a591; margin-top: 14px; }
#newsletterSuccess { display: none; margin-top: 16px; color: #9fe0a8; font-weight: 600; }

/* Footer */
.site-footer { background: var(--coffee-dark); color: #c9b8a6; padding: 56px 0 28px; font-size: 0.92rem; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h5 { color: #fff; font-family: 'Fraunces', serif; font-size: 1.1rem; margin: 0 0 16px; }
.site-footer a { color: #d9c8b6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-disclaimer {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 18px; margin-top: 34px; font-size: 0.82rem; color: #b9a591; line-height: 1.6;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 30px; padding-top: 20px; text-align: center; color: #a3907d; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
    .hero .container-wide { grid-template-columns: 1fr; }
    .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
    .recipe-card__body { grid-template-columns: 1fr; gap: 28px; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .main-nav { display: none; }
    .main-nav.is-open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--cream); padding: 18px 20px; border-bottom: 1px solid var(--border); gap: 16px;
    }
    .nav-toggle { display: inline-block; }
    .site-header .container-wide { position: relative; }
    .card-grid { grid-template-columns: 1fr; }
    .site-footer .footer-grid { grid-template-columns: 1fr; }
}
