/* ==========================================================================
   Kehillah Kedoshah Zikhron Zvi — stylesheet
   Dark deco · purples & fuchsias · Pimpernel + Strawberry Thief unaltered
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/Fraunces-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/Fraunces-VariableItalic.ttf") format("truetype-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Chelsea Studio";
    src: url("../fonts/ChelseaStudioA_Normal.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
    /* Dark grounds */
    --bg-deep:   #170611;
    --bg-panel:  #240a1c;
    --bg-card:   #371229;
    --bg-lift:   #4a1838;

    /* Lines & rules */
    --line:        #5a2a48;
    --line-strong: #8d3a66;

    /* Type colors on dark */
    --ink:      #f1dccc;
    --ink-soft: #d6b1a6;
    --ink-mute: #9a7273;

    /* Jewel accents */
    --wine:        #611c40;
    --magenta:     #9d345a;
    --fuchsia:     #c75889;
    --fuchsia-hi:  #e376a3;
    --rose:        #d76680;
    --pink:        #ecb0bd;

    /* Gold */
    --gold:        #c79f50;
    --gold-pale:   #e6c780;
    --gold-deep:   #856a2e;

    /* Type */
    --font-display: "Chelsea Studio", "Trade Gothic", "Futura", "Avenir Next", "Helvetica Neue", sans-serif;
    --font-serif:   "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Hoefler Text", Georgia, serif;

    /* Layout */
    --measure: 38rem;
    --measure-wide: 56rem;
    --gutter: 2rem;
    --rule: 1px;
}

/* --- Reset & base --------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }

html {
    font-size: 17px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--fuchsia-hi);
    text-decoration-color: rgba(227, 118, 163, 0.4);
    text-underline-offset: 0.2em;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a:hover {
    color: var(--pink);
    text-decoration-color: var(--pink);
}

::selection { background: var(--fuchsia); color: var(--bg-deep); }

/* --- Pattern bands (full bleed, hard edges, originals) -------------------- */
.band {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 var(--gold-deep),
        inset 0 -1px 0 var(--gold-deep);
    border-top: 4px solid var(--gold-deep);
    border-bottom: 4px solid var(--gold-deep);
}
.band--pimpernel {
    height: 110px;
    background-image: url("../images/pimpernel.jpg");
    background-size: 280px;
    background-repeat: repeat;
}
.band--strawberry {
    height: 240px;
    background-image: url("../images/strawberry-thief.png");
    background-size: 380px;
    background-repeat: repeat;
}

/* --- Deco diamond divider ------------------------------------------------- */
.diamond-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto 2rem;
    max-width: var(--measure);
    padding: 0 var(--gutter);
    gap: 0.9rem;
}
.diamond-rule::before,
.diamond-rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.diamond-rule span {
    color: var(--gold);
    font-size: 0.6rem;
    letter-spacing: 0.6em;
}
.diamond-rule span::before { content: "◆ ◆ ◆"; }

/* --- Header --------------------------------------------------------------- */
.site-header {
    background-color: var(--bg-deep);
    border-top: 4px solid var(--gold-deep);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 1.3rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--ink);
}
.brand:hover .brand-name { color: var(--fuchsia-hi); }
.brand img {
    width: 56px;
    height: auto;
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    color: var(--ink);
    transition: color 0.18s ease;
}
.brand-sub {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.62rem;
    color: var(--gold);
    margin-top: 0.32rem;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.site-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.18s, border-color 0.18s;
}
.site-nav a:hover {
    color: var(--ink);
    border-bottom-color: var(--fuchsia);
}
.site-nav a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: var(--gold);
}

/* --- Page eyebrow & title ------------------------------------------------- */
.page-head {
    max-width: 76rem;
    margin: 3rem auto 2rem;
    padding: 0 var(--gutter);
}

/* --- Sacred Seasons closing text ---------------------------------------- */
.sacred-closing {
    max-width: 76rem;
    margin: 2.5rem auto 3.5rem;
    padding: 0 var(--gutter);
}
.sacred-closing p {
    font-family: var(--font-serif);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
    max-width: none;
}
.sacred-closing a {
    color: var(--fuchsia-hi);
    text-decoration-color: rgba(227, 118, 163, 0.4);
}

/* --- Kiddush info block (kiddush.html) ----------------------------------- */
.kiddush-info {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 32rem;
}
.kiddush-info h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 1rem;
    color: var(--gold-pale);
    margin: 0 0 0.4rem;
    line-height: 1.2;
    border-bottom: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.kiddush-info h2::after {
    content: "";
    display: inline-block;
    flex: 1;
    min-width: 28px;
    height: 1px;
    background: var(--line);
}
.kiddush-info h2 + p { margin-top: 0; }
.kiddush-info > h2:not(:first-child) { margin-top: 1.4rem; }
.kiddush-info p {
    margin: 0.3rem 0;
    color: var(--ink);
}
.kiddush-info .muted-italic {
    color: var(--ink-mute);
    font-style: italic;
    font-variation-settings: "opsz" 18, "wght" 400;
    font-size: 1rem;
}
.kiddush-info .meal-note {
    color: var(--ink-soft);
    margin-top: 1.2rem;
    font-size: 1rem;
}
.kiddush-info .emphasis-line {
    color: var(--ink);
    margin-top: 1.5rem;
    font-weight: 500;
}
.kiddush-info .closing-note {
    color: var(--ink-soft);
    margin-top: 0.8rem;
    font-size: 1rem;
}

/* --- Upcoming dates (services.html) -------------------------------------- */
.upcoming-dates {
    margin: 1.6rem 0 1.4rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: var(--bg-panel);
}
.upcoming-month {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
    font-size: 0.7rem;
    margin: 0 0 0.45rem;
}
.upcoming-list {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    font-size: 1rem;
    margin: 0;
}

/* --- Namesake block (welcome.html) --------------------------------------- */
.namesake-hebrew {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70px;
    margin: 0 0 1.4rem;
    opacity: 0.95;
}
.namesake-heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.15rem;
    color: var(--gold-pale);
    margin: 0 0 1rem;
    line-height: 1.3;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.7rem;
}
.namesake-sub {
    display: inline-block;
    margin-top: 0.35rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    color: var(--ink-soft);
}
.namesake-p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 1em;
}
.namesake-p:last-child { margin-bottom: 0; }
.i-pink {
    color: var(--pink);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
}

/* --- Editorial hero (welcome.html) — text left, image right -------------- */
.editorial {
    max-width: 76rem;
    margin: 3rem auto 1rem;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr minmax(360px, 460px);
    gap: 3rem;
    align-items: start;
}
.editorial-text {
    padding-top: 0.5rem;
}
.editorial-text .eyebrow {
    margin-bottom: 1rem;
}
.editorial-text .page-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 1.2rem;
}
.editorial-text .page-lede {
    font-size: 1.18rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    max-width: none;
}
.editorial-image {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.editorial-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.editorial-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Two-column section (services & kiddush) ----------------------------- */
.two-col {
    max-width: 72rem;
    margin: 2rem auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.two-col-image {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
}
.two-col-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.two-col-image img {
    display: block;
    width: 100%;
    height: auto;
}
.two-col-image figcaption {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    color: var(--gold);
    text-align: center;
    padding: 0.7rem 0.5rem 0.4rem;
    margin: 0;
}

/* --- Clergy portraits (clergy.html) -------------------------------------- */
.clergy-block {
    max-width: 60rem;
    margin: 2rem auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.6rem;
    align-items: start;
}
.clergy-block + .clergy-block {
    margin-top: 1rem;
}
.clergy-portrait {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
}
.clergy-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.clergy-portrait img {
    display: block;
    width: 100%;
    height: auto;
}
.clergy-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}
.clergy-bio h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.15rem;
    color: var(--gold-pale);
    margin: 0 0 1rem;
    line-height: 1.2;
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.6rem;
}
.clergy-bio p { margin: 0 0 1em; }
.clergy-bio strong {
    color: var(--gold-pale);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.clergy-bio em {
    color: var(--pink);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
}

/* --- Sacred Seasons gallery ---------------------------------------------- */
.gallery {
    max-width: 76rem;
    margin: 2.5rem auto 3rem;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    align-items: start;
}
.gallery-item {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
    overflow: hidden;
}
.gallery-item::before {
    content: "";
    position: absolute;
    top: 8px; left: 8px; right: 8px;
    height: 1px;
    background: var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.gallery-image {
    border: 1px solid var(--gold-deep);
    line-height: 0;
}
.gallery-image img {
    display: block;
    width: 100%;
    height: auto;
}
.gallery-caption {
    padding: 0.9rem 1rem 0.6rem;
    text-align: center;
    border-top: 1px solid var(--line);
    margin-top: 0;
}
.gallery-caption .label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    color: var(--gold);
    margin: 0 0 0.2rem;
    display: block;
}
.gallery-caption .name {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
    color: var(--ink);
    margin: 0;
}

@media (max-width: 820px) {
    .editorial { grid-template-columns: 1fr; gap: 2rem; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .clergy-block { grid-template-columns: 1fr; gap: 1.2rem; }
    .clergy-portrait { max-width: 240px; margin: 0 auto; }
    .clergy-bio { text-align: left; hyphens: none; }
    .gallery { grid-template-columns: 1fr; }
}

.eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.42em;
    font-size: 0.7rem;
    color: var(--gold);
    margin: 0 0 1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.4vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 0.8rem;
}

.page-lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: var(--measure);
    margin: 0;
}

/* --- Main content prose --------------------------------------------------- */
.prose {
    max-width: 76rem;
    margin: 2rem auto;
    padding: 0 var(--gutter);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
    color: var(--ink);
}
.prose--wide { max-width: 76rem; }
.prose p {
    margin: 0 0 1em;
    max-width: var(--measure);
}
.prose blockquote { max-width: var(--measure); }
.prose h2, .prose h3 { max-width: var(--measure-wide); }

.prose h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.15rem;
    color: var(--gold-pale);
    margin: 2.6rem 0 1.1rem;
    line-height: 1.2;
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.6rem;
}
.prose h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.95rem;
    color: var(--fuchsia-hi);
    margin: 1.6rem 0 0.5rem;
    text-align: left;
}

.prose em {
    color: var(--pink);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
}
.prose strong {
    color: var(--gold-pale);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.prose blockquote {
    margin: 2rem 0;
    padding: 1.2rem 1.6rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    color: var(--ink-soft);
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
    text-align: left;
    text-indent: 0;
    background: var(--bg-panel);
}

/* --- Hero (home page) — flush left, image right ------------------------- */
.hero {
    max-width: 84rem;
    margin: 0 auto;
    padding: 3rem var(--gutter) 3.5rem;
    background-color: var(--bg-deep);
    display: grid;
    grid-template-columns: minmax(auto, 38rem) minmax(380px, 480px);
    gap: 3rem;
    align-items: center;
    justify-content: center;
}
.hero-text {
    text-align: left;
}
.hero-mark {
    width: clamp(220px, 26vw, 300px);
    height: auto;
    margin: 0 0 1.4rem -0.4rem;
    display: block;
    filter: drop-shadow(0 0 14px rgba(199, 88, 137, 0.18));
}
.hero-name {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 1.2rem;
}
.hero-name-large {
    display: inline-block;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1;
    margin-top: 0.2em;
}
.hero-tagline {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.82rem;
    color: var(--gold);
    margin: 0 0 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    max-width: 36rem;
}
.hero-tagline::before,
.hero-tagline::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.hero-tagline::after { flex: 1; max-width: 80px; }
.hero-blurb {
    font-style: italic;
    font-variation-settings: "opsz" 24, "wght" 400;
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
    max-width: 32rem;
}
.hero-image {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
    margin: 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    /* For very-tall portrait orientation, constrain height so it doesn't overwhelm */
    max-height: 760px;
    /* Shrink box to actual image width so there's no empty space beside the photo */
    width: fit-content;
    justify-self: end;
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.hero-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 744px;  /* 760 - 16 padding */
    object-fit: contain;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        padding: 2.5rem var(--gutter) 2.5rem;
    }
    .hero-image {
        max-width: 360px;
        margin: 0 auto;
        max-height: none;
    }
    .hero-image img { max-height: none; width: 100%; height: auto; }
    .hero-mark { margin-left: 0; }
}

/* --- Card grids ----------------------------------------------------------- */
.cards {
    max-width: 76rem;
    margin: 3rem auto 4rem;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.card {
    position: relative;
    background-color: var(--bg-panel);
    border: 1px solid var(--line);
    padding: 1.7rem 1.5rem 1.5rem;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.18s, border-color 0.18s, background-color 0.18s;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.card::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--fuchsia), var(--gold));
}
.card::after {
    content: "";
    position: absolute;
    top: 6px; left: 6px;
    width: 10px; height: 10px;
    border-top: 1px solid var(--gold);
    border-left: 1px solid var(--gold);
    opacity: 0.55;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--fuchsia);
    background-color: var(--bg-card);
}
.card-eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.66rem;
    color: var(--gold);
}
.card-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.4rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.1;
}
.card-body {
    font-size: 0.97rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0.2rem 0 0;
}

/* --- Schedule (services) -------------------------------------------------- */
.schedule {
    max-width: var(--measure);
    margin: 2rem auto 1rem;
    padding: 0 var(--gutter);
}
.schedule-note {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
    margin: 0 0 1.4rem;
    font-size: 0.72rem;
}
.schedule-note em {
    color: var(--ink-mute);
    font-style: normal;
    letter-spacing: 0.18em;
}
.schedule dl {
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.schedule .row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.05rem 0 1rem;
    border-bottom: 1px solid var(--line);
}
.schedule .row:last-child { border-bottom: 0; }
.schedule dt {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0;
    text-align: left;
}
.schedule dt small {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-variation-settings: "opsz" 18, "wght" 400;
    font-size: 0.84rem;
    color: var(--ink-mute);
    letter-spacing: 0;
    text-transform: none;
    margin-top: 0.2rem;
}
.schedule dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--fuchsia-hi);
    letter-spacing: 0.06em;
    text-align: right;
    white-space: nowrap;
}
.schedule .row--final dt,
.schedule .row--final dd {
    color: var(--gold-pale);
}

/* --- Forms ---------------------------------------------------------------- */
.form-wrap {
    max-width: var(--measure);
    margin: 2rem 0 3rem max(var(--gutter), calc(50vw - 38rem + var(--gutter)));
    padding: 2.4rem 2.4rem 2.2rem;
    background-color: var(--bg-panel);
    border: 1px solid var(--line);
    position: relative;
}
.form-wrap::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--fuchsia), var(--gold));
}
.form-wrap::after {
    content: "";
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.form-wrap > * { position: relative; z-index: 1; }

.field {
    margin-bottom: 1.3rem;
    display: flex;
    flex-direction: column;
}
.field label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    font-size: 0.72rem;
    margin-bottom: 0.55rem;
}
.field input,
.field textarea {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    color: var(--ink);
    background-color: var(--bg-deep);
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    line-height: 1.4;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--fuchsia);
    box-shadow: 0 0 0 3px rgba(199, 88, 137, 0.18);
}
.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.btn {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.85rem;
    background-color: var(--bg-deep);
    color: var(--ink);
    border: 1px solid var(--gold);
    padding: 0.95rem 1.8rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.btn:hover {
    background-color: var(--magenta);
    color: var(--ink);
    border-color: var(--gold-pale);
}

.form-note {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 1.1rem;
    line-height: 1.5;
    font-style: italic;
    font-variation-settings: "opsz" 18, "wght" 400;
}

.field--hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* --- Donation ------------------------------------------------------------- */
.donation-frame {
    max-width: var(--measure);
    margin: 2.4rem 0 2.4rem max(var(--gutter), calc(50vw - 38rem + var(--gutter)));
    padding: 2.4rem 2.4rem;
    background-color: var(--bg-panel);
    border: 1px solid var(--line);
    text-align: left;
    position: relative;
}
.donation-frame::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--fuchsia), var(--gold));
}
.donation-frame::after {
    content: "";
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.donation-frame > * { position: relative; z-index: 1; }
.donation-frame h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.35rem;
    color: var(--ink);
    margin: 0 0 0.6rem;
}
.donation-frame .small {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 1.4rem 0 0;
    max-width: 28rem;
}

/* Direct PayPal link — visible fallback below the embedded button */
.paypal-direct-link {
    margin: 1.2rem 0 0;
}
.paypal-direct-link .btn {
    display: inline-block;
}

#paypal-container,
[id^="paypal-container-"] {
    margin: 1.2rem 0 0.5rem;
    min-height: 50px;
    display: block;
}

/* --- Panel + image (contact form, donation frame) ----------------------- */
.panel-with-image {
    max-width: 76rem;
    margin: 2rem auto 3rem;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 38rem) minmax(320px, 420px);
    gap: 3rem;
    align-items: start;
}
.panel-with-image > .form-wrap,
.panel-with-image > .donation-frame {
    margin: 0;
    max-width: none;
}
.panel-image {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
    margin: 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.panel-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.panel-image img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 820px) {
    .panel-with-image { grid-template-columns: 1fr; gap: 2rem; }
    .panel-image { max-width: 420px; margin: 0 auto; }
}

/* --- Kiddush card with Strawberry Thief at full saturation --------------- */
.menu-card {
    max-width: var(--measure);
    margin: 2.4rem auto 1.5rem;
    padding: 0;
    border: 1px solid var(--line);
    position: relative;
    background-color: var(--bg-panel);
}
.menu-card::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--fuchsia), var(--gold));
    z-index: 2;
}
.menu-card-pattern {
    height: 130px;
    background-image: url("../images/strawberry-thief.png");
    background-size: 280px;
    background-repeat: repeat;
    border-bottom: 4px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px var(--gold-deep);
}
.menu-card-body {
    padding: 2rem 2rem 2rem;
    text-align: center;
    position: relative;
}
.menu-card-body::before {
    content: "";
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.menu-card-body > * { position: relative; z-index: 1; }
.menu-card-body h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.3rem;
    color: var(--ink);
    margin: 0 0 0.7rem;
}
.menu-card-body p {
    margin: 0.5rem auto;
    max-width: 30rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* --- Footer with Strawberry Thief banner --------------------------------- */
.footer-banner {
    height: 200px;
    background-image: url("../images/strawberry-thief.png");
    background-size: 360px;
    background-repeat: repeat;
    border-top: 4px solid var(--gold-deep);
    border-bottom: 4px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px var(--gold-deep);
}

.site-footer {
    background-color: var(--bg-deep);
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 4px solid var(--gold-deep);
}

.footer-inner {
    max-width: 60rem;
    margin: 0 auto;
    padding: 2.6rem var(--gutter) 2.4rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}
.footer-deer {
    width: 80px;
    opacity: 0.95;
}
.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
}
.footer-text strong {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    font-weight: 400;
    display: block;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.footer-text a {
    color: var(--gold-pale);
    text-decoration-color: rgba(230, 199, 128, 0.35);
}
.footer-text a:hover {
    color: var(--ink);
    text-decoration-color: var(--ink);
}
.footer-meta {
    margin-top: 0.7rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    color: var(--ink-mute);
}
.footer-meta a { letter-spacing: 0.22em; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .site-nav ul { justify-content: center; gap: 0.9rem 1.2rem; }
    .brand-text { align-items: center; text-align: center; }
    .hero { padding: 2.5rem var(--gutter) 3rem; }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.4rem;
    }
    .footer-deer { margin: 0 auto; }
    .schedule .row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .schedule dd { text-align: left; }
    .form-wrap, .donation-frame { padding: 1.6rem 1.4rem; }
    .menu-card-body { padding: 1.6rem 1.4rem; }
    .band--strawberry { height: 160px; }
    .footer-banner { height: 130px; }
}

@media (max-width: 460px) {
    html { font-size: 16px; }
    .brand img { width: 48px; }
    .brand-name { font-size: 0.85rem; }
    .brand-sub { font-size: 0.58rem; }
    .site-nav a { font-size: 0.72rem; }
}

@media print {
    body { background: white; color: black; }
    .site-header, .site-footer, .footer-banner, .band { display: none; }
}
