:root {
    --rose: #b5838d;
    --rose-dark: #8f636d;
    --cream: #fffaf7;
    --sand: #f3e9e4;
    --charcoal: #3d3436;
    --muted: #857b7d;
}

body {
    font-family: 'Lato', -apple-system, 'Segoe UI', sans-serif;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

a { color: var(--rose-dark); }
a:hover { color: var(--charcoal); }

/* --- navigation --------------------------------------------------------- */

.site-nav {
    background: rgba(255, 250, 247, 0.96);
    border-bottom: 1px solid var(--sand);
    backdrop-filter: blur(6px);
}

.navbar-brand {
    font-size: 1.6rem;
    color: var(--charcoal) !important;
}

.site-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
    color: var(--charcoal) !important;
    padding: 0.5rem 0.9rem !important;
}

.site-nav .nav-link:hover { color: var(--rose-dark) !important; }

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

.btn-primary {
    background: var(--rose);
    border-color: var(--rose);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 0.6rem 1.4rem;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
}

.btn-outline-primary {
    color: var(--rose-dark);
    border-color: var(--rose);
}

.btn-outline-primary:hover {
    background: var(--rose);
    border-color: var(--rose);
}

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

.hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--sand);
    color: #fff;
    text-align: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(61, 52, 54, 0.25), rgba(61, 52, 54, 0.5));
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.5rem;
}

.hero p.lead {
    font-weight: 300;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.page-header {
    background: var(--sand);
    padding: 3.5rem 0;
    text-align: center;
}

.page-header h1 { margin-bottom: 0.25rem; }

/* --- gallery ------------------------------------------------------------ */

.cake-card {
    display: block;
    background: #fff;
    border: 1px solid var(--sand);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    color: inherit;
}

.cake-card:hover {
    box-shadow: 0 12px 30px rgba(61, 52, 54, 0.14);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.cake-card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    background: var(--sand);
}

.cake-card-body { padding: 1rem 1.1rem 1.25rem; }
.cake-card-body h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.cake-card-body .summary { font-size: 0.88rem; color: var(--muted); }

.category-filter .btn {
    border-radius: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0.25rem 0.5rem 0;
}

/* --- content blocks ----------------------------------------------------- */

.block-heading { margin-top: 2.5rem; }
.rich-text { max-width: 46rem; }
.rich-text p { line-height: 1.8; }

figure.photo-block { margin: 2.5rem 0; }
figure.photo-block img { width: 100%; height: auto; }
figure.photo-block figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    padding-top: 0.5rem;
    font-style: italic;
}

.photo-row img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.testimonial {
    border-left: 3px solid var(--rose);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2.5rem 0;
    max-width: 44rem;
}

.testimonial blockquote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.testimonial .attribution { font-size: 0.85rem; color: var(--muted); }

.price-guide table { max-width: 34rem; }
.price-guide td { border-top: 1px solid var(--sand); padding: 0.6rem 0; }
.price-guide td:last-child { text-align: right; white-space: nowrap; }

.cta-band {
    background: var(--sand);
    padding: 3rem 1rem;
    text-align: center;
    margin: 3rem 0;
}

/* --- order pages -------------------------------------------------------- */

.order-panel {
    background: #fff;
    border: 1px solid var(--sand);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-panel h2, .order-panel h3 { font-size: 1.35rem; }

.timeline { list-style: none; padding-left: 0; margin: 0; }

.timeline li {
    border-left: 2px solid var(--sand);
    padding: 0 0 1rem 1.25rem;
    position: relative;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
}

.timeline li.done::before { background: #7fa87f; }

.message {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    max-width: 85%;
}

.message.from-becca { background: var(--sand); }
.message.from-customer { background: #eef3ef; margin-left: auto; }
.message .meta { font-size: 0.75rem; color: var(--muted); }

.amount-due {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    color: var(--rose-dark);
}

/* --- staff area --------------------------------------------------------- */

.staff-body { background: #f6f6f7; }
.staff-nav { background: var(--charcoal); }
.staff-nav .navbar-brand, .staff-nav .nav-link { color: #fff !important; }
.staff-panel { background: #fff; border: 1px solid #e2e2e4; padding: 1.25rem; margin-bottom: 1.25rem; }
.staff-panel h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.staff-table td { vertical-align: middle !important; }

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

.site-footer {
    background: var(--sand);
    margin-top: 4rem;
}

.footer-heading {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}

.social-link {
    font-size: 1.4rem;
    margin-right: 0.9rem;
    color: var(--charcoal);
}

.social-link:hover { color: var(--rose-dark); }
