/* ============================================================
   Cedar Oven — Beirut
   Warm artisan bakery: cream / wheat / terracotta
   Class names are prefixed where Mobius CSS already uses the
   same name (.btn, .card).
   ============================================================ */

:root {
    --cream: #FBF6EC;
    --cream-deep: #F4E9D6;
    --wheat: #E8D3AB;
    --wheat-deep: #CDAF79;
    --terracotta: #B55631;
    --terracotta-deep: #97431F;
    --ink: #33251C;
    --ink-soft: #6E5A49;
    --line: rgba(168, 130, 79, .26);
    --shadow: 0 20px 44px -34px rgba(74, 47, 26, .55);
    --radius: 22px;
    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --font-body: "Karla", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
    margin: 0;
    padding: 0;
    overflow-x: visible;
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.012em;
    color: var(--ink);
    margin: 0;
}

p {
    margin: 0;
}

::selection {
    background: var(--wheat);
    color: var(--ink);
}

/* layout mount points: keep the utility CSS from Mobius out of their way */
nav.site-header {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
}

main {
    display: block;
}

footer.site-footer {
    margin: 0;
}

button {
    font-family: var(--font-body);
}

/* ---------- layout helpers ---------- */

.wrap {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(52px, 8vw, 92px) 0;
}

section[id] {
    scroll-margin-top: 96px;
}

.section--wheat {
    background: linear-gradient(180deg, #F7EEDF 0%, #F2E4CB 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 46ch;
    margin: 0 auto clamp(28px, 4.5vw, 46px);
    text-align: center;
}

.section-head h2 {
    font-size: clamp(30px, 5.2vw, 44px);
}

.section-head p {
    margin-top: 12px;
    color: var(--ink-soft);
}

/* ---------- buttons ---------- */

.co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.co-btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.co-btn--primary {
    background-color: var(--terracotta);
    color: #FFF8EE;
    box-shadow: 0 14px 28px -16px rgba(140, 60, 26, .85);
}

.co-btn--primary:hover,
.co-btn--primary:focus-visible {
    background-color: var(--terracotta-deep);
    transform: translateY(-1px);
}

.co-btn--ghost {
    background-color: transparent;
    color: var(--ink);
    border-color: rgba(120, 85, 45, .38);
}

.co-btn--ghost:hover,
.co-btn--ghost:focus-visible {
    background-color: #FFFCF6;
    border-color: rgba(120, 85, 45, .6);
    transform: translateY(-1px);
}

.co-btn--cream {
    background-color: #FDF7EC;
    color: var(--terracotta-deep);
    box-shadow: 0 18px 34px -22px rgba(40, 15, 5, .8);
}

.co-btn--cream:hover,
.co-btn--cream:focus-visible {
    background-color: #FFFFFF;
    transform: translateY(-1px);
}

.co-btn--sm {
    padding: 10px 18px;
    font-size: 13.5px;
    gap: 7px;
}

.co-btn--sm svg {
    width: 15px;
    height: 15px;
}

.co-btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 999px;
}

/* small "placeholder" note shown next to every WhatsApp button */
.wa-note {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    border: 1px dashed rgba(181, 86, 49, .45);
    border-radius: 999px;
    background-color: rgba(181, 86, 49, .07);
    color: var(--terracotta-deep);
    font-size: 11.5px;
    line-height: 1.5;
    letter-spacing: .04em;
}

/* ---------- sticky header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background-color: rgba(251, 246, 236, .93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 11px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid rgba(168, 130, 79, .3);
    border-radius: 50%;
    background: linear-gradient(160deg, #FAEFD8, #EFDCB8);
    color: var(--terracotta);
}

.brand-mark svg {
    width: 19px;
    height: 19px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.1;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header-note {
    font-size: 10.5px;
    line-height: 1.2;
    color: var(--ink-soft);
    letter-spacing: .02em;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 9vw, 104px) 0 clamp(56px, 9vw, 104px);
    background: linear-gradient(180deg, #F7EDDC 0%, #FBF6EC 72%);
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(78deg, rgba(168, 130, 79, .13) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-78deg, rgba(168, 130, 79, .1) 0 1px, transparent 1px 36px);
    -webkit-mask-image: radial-gradient(130% 95% at 50% 0%, #000 18%, transparent 76%);
    mask-image: radial-gradient(130% 95% at 50% 0%, #000 18%, transparent 76%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    background-image: radial-gradient(circle at 9px 9px, rgba(168, 130, 79, .16) 2px, transparent 2.6px);
    background-size: 30px 30px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000);
    mask-image: linear-gradient(180deg, transparent, #000);
    opacity: .8;
}

.hero-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    width: min(700px, 132vw);
    height: min(700px, 132vw);
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(214, 168, 96, .34) 0%, rgba(214, 168, 96, .12) 46%, transparent 72%);
}

.hero-glow::after {
    content: "";
    position: absolute;
    inset: 13%;
    border-radius: 50%;
    border: 1px solid rgba(168, 130, 79, .24);
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--terracotta-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(48px, 12vw, 96px);
    line-height: 1.02;
    letter-spacing: -.025em;
}

.hero-tagline {
    max-width: 32ch;
    margin: 20px auto 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 2.4vw, 21px);
    line-height: 1.55;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 34px;
}

/* ---------- what we bake ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(18px, 3vw, 28px);
}

.co-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: #FFFCF6;
    box-shadow: var(--shadow);
}

.co-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--wheat-deep), var(--terracotta), var(--wheat-deep));
    opacity: .8;
}

.co-card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border: 1px solid rgba(168, 130, 79, .25);
    border-radius: 16px;
    background: linear-gradient(160deg, #FAEFD8, #EFDCB8);
    color: var(--terracotta);
}

.co-card-icon svg {
    width: 32px;
    height: 32px;
}

.co-card h3 {
    margin-bottom: 8px;
    font-size: clamp(23px, 3vw, 27px);
}

.co-card p {
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ---------- opening hours ---------- */

.hours-block {
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid rgba(168, 130, 79, .32);
    border-radius: 26px;
    background: linear-gradient(155deg, #F4E5C8 0%, #EBD8B3 58%, #E6CFA4 100%);
    box-shadow: var(--shadow);
    text-align: center;
}

.hours-label {
    margin-bottom: 12px;
    color: var(--terracotta-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hours-time {
    font-family: var(--font-display);
    font-size: clamp(27px, 5.4vw, 46px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
}

.hours-line {
    max-width: 40ch;
    margin: 18px auto 0;
    color: #5E4633;
    font-size: 15.5px;
}

/* ---------- where we are ---------- */

.where-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: #FFFCF6;
    box-shadow: var(--shadow);
}

.where-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: none;
    border: 1px solid rgba(168, 130, 79, .25);
    border-radius: 50%;
    background: linear-gradient(160deg, #FAEFD8, #EFDCB8);
    color: var(--terracotta);
}

.where-icon svg {
    width: 30px;
    height: 30px;
}

.where-card h2 {
    font-size: clamp(26px, 4vw, 36px);
}

.where-sub {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.addr-placeholder {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(181, 86, 49, .55);
    color: var(--terracotta-deep);
    font-size: 14px;
    letter-spacing: .01em;
}

/* ---------- WhatsApp CTA band ---------- */

.cta-band {
    padding: clamp(46px, 8vw, 88px) 0;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 68px) clamp(24px, 5vw, 56px);
    border-radius: 28px;
    background: radial-gradient(120% 140% at 50% -20%, #C86A3F 0%, #B55631 46%, #99441F 100%);
    box-shadow: 0 30px 60px -40px rgba(120, 50, 20, .9);
    color: #FDF7EC;
    text-align: center;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-radial-gradient(circle at 50% -35%, rgba(255, 248, 238, .1) 0 1px, transparent 1px 42px);
    opacity: .8;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    color: #FFF8EE;
    font-size: clamp(30px, 5.2vw, 46px);
}

.cta-text {
    max-width: 44ch;
    margin: 14px auto 0;
    color: rgba(255, 248, 238, .84);
    font-size: 15.5px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

.cta-note {
    color: rgba(255, 248, 238, .74);
    font-size: 11.5px;
    letter-spacing: .04em;
}

/* ---------- footer ---------- */

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background-color: #F2E6D2;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

.footer-copy {
    color: var(--ink-soft);
    font-size: 12.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 620px) {
    .where-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .header-inner {
        gap: 10px;
        padding: 10px 16px;
    }

    .brand-name {
        font-size: 20px;
    }

    .co-btn--sm {
        padding: 9px 14px;
        font-size: 13px;
    }

    .wrap,
    .footer-inner {
        padding: 0 18px;
    }

    .wa-note {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .brand-mark {
        width: 27px;
        height: 27px;
    }

    .brand-mark svg {
        width: 16px;
        height: 16px;
    }

    .brand-name {
        font-size: 18px;
    }

    .header-note {
        font-size: 9.5px;
    }

    .co-btn--sm {
        padding: 8px 12px;
        font-size: 12.5px;
        gap: 5px;
    }

    .co-btn--sm svg {
        width: 13px;
        height: 13px;
    }

    .co-btn {
        padding: 13px 20px;
        font-size: 14.5px;
    }
}

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

    * {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
    }
}
