/*
 * Sydney Hrouda's site, every page but the homepage: Main Street theme
 * (her pick, Nov 9 2026; Wade: one look across her whole site).
 * Style guide: presence/brand/agents/sydney/STYLE.md. Colors: BRAND.md only;
 * gold is fill and line only. Blog 3 only. Header and footer sit outside
 * #main-content and stay shared, matching her homepage.
 */
@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-variable-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-italic-variable-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

#main-content {
    --ms-forest: #254033;
    --ms-gold: #c9ae74;
    --ms-ink: #262624;
    --ms-slab: "Alfa Slab One", Rockwell, Georgia, serif;
    --ms-sans: "Work Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
    --ms-stripes: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 36px, transparent 36px 72px);
    --ms-brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Cpath d='M0 .75H64M0 16.75H64M16 0V16M48 16V32' fill='none' stroke='%23254033' stroke-opacity='.085' stroke-width='1.5'/%3E%3C/svg%3E");
    --bl-font: var(--ms-slab);
    --bl-sans: var(--ms-sans);
    --font-sans: var(--ms-sans);
    --font-serif: var(--ms-slab);
    font-family: var(--ms-sans);
}

/* Headings: Alfa Slab One, sentence case, one weight. */
#main-content :is(h1, h2),
#main-content .hero-headline,
#main-content .page-hero h1,
#main-content .ar-hero h1 {
    font-family: var(--ms-slab); font-weight: 400; font-variation-settings: normal;
    text-transform: none; letter-spacing: 0; line-height: 1.04;
}
#main-content .entry-content h3, #main-content .ar-ch-body h3, #main-content .card h3 { font-family: var(--ms-slab); font-weight: 400; line-height: 1.12; }
#main-content h4 { font-family: var(--ms-sans); font-weight: 600; }
#main-content .btn { font-family: var(--ms-sans); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* Labels: small letterspaced caps. */
#main-content :is(.page-eyebrow, .lp-kicker, .label, .entry-updated) {
    font-family: var(--ms-sans); font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
}

/* Green heroes and bands: storefront stripes instead of topo. */
#main-content :is(.page-hero, .ar-hero, .lp-callout, .lp-close)::before,
#main-content > .hero::before {
    inset: 0; opacity: 1; background: var(--ms-stripes);
}
#main-content :is(.page-hero, .ar-hero, .lp-callout, .lp-close)::after,
#main-content > .hero::after { display: none; }
#main-content .page-article .page-hero h1,
#main-content .ar-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
#main-content > .hero .hero-headline { font-size: clamp(2.75rem, 6vw, 4.9rem); max-width: 15ch; }
#main-content .lp-callout h2, #main-content .lp-close h2 { font-size: clamp(30px, 3.6vw, 48px); }

/* Photos: the shop window, a white mat with a gold outline. */
#main-content .ar-hero-photo,
#main-content > .hero .hero-photo {
    box-shadow: none; border: 14px solid #fff; outline: 2px solid var(--ms-gold); outline-offset: 7px;
}
#main-content .entry-content .figure-photo img { border: 10px solid #fff; outline: 2px solid var(--ms-gold); outline-offset: 5px; box-sizing: border-box; }

/* Cream bands: brick. */
#main-content :is(.ar-ch-alt, .lp-faq, .cream) { background-image: var(--ms-brick); }

/* Chapters: gold number markers with a charcoal slab number. */
#main-content .ar-ch-head h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; }
#main-content .ar-ch-n {
    font-family: var(--ms-slab); font-weight: 400; font-size: 18px;
    background: var(--ms-gold); color: var(--ms-ink);
}
#main-content .lp-step-n { font-family: var(--ms-slab); font-weight: 400; }
#main-content .lp-faq .faq-q { font-family: var(--ms-sans); font-weight: 600; }

/* Cards: ticket-style dashed gold rule down the left edge. */
#main-content .entry-content .card { position: relative; padding-left: 44px; }
#main-content .entry-content .card::before { content: ""; position: absolute; left: 20px; top: 18px; bottom: 18px; border-left: 2px dashed var(--ms-gold); }
#main-content .entry-content .card:has(.card-thumb) { padding-left: 0; }
#main-content .entry-content .card:has(.card-thumb)::before { display: none; }

/* Quotes: italic Work Sans on the charcoal card. */
#main-content .entry-content .quote-card p { font-family: var(--ms-sans); font-style: italic; font-weight: 500; font-size: 19px; }
#main-content .entry-content .quote-card cite { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
#main-content .entry-content blockquote:not(.quote-card) { border-left: 4px solid var(--ms-gold); font-style: italic; }

/* First-time buyer training page (template-parts/ftb-training.php), Main
   Street (Nov 18 2026): slab headings and numbers, shop-window photo, ticket
   cards, brick on cream, storefront stripes on green, gold chapter circles. */
#main-content :is(.ftb-trust, .ftb-why, .ftb-topics, .ftb-schedule) h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; }
#main-content :is(.ftb-card, .ftb-topic, .ftb-how) h3 { font-family: var(--ms-slab); font-weight: 400; line-height: 1.12; }
#main-content .ftb-card h3 { font-size: 22px; }
#main-content .ftb-topic h3 { font-size: 20px; }
#main-content .ftb-trust-photo img { box-shadow: none; border: 14px solid #fff; outline: 2px solid var(--ms-gold); outline-offset: 7px; box-sizing: border-box; }
#main-content .ftb-stats dt { font-family: var(--ms-slab); font-weight: 400; font-stretch: normal; letter-spacing: 0; }
#main-content .ftb-why { background-image: var(--ms-brick); }
#main-content .ftb-why::before { display: none; }
#main-content .ftb-card { position: relative; border-left: 0; padding-left: 48px; overflow: visible; }
#main-content .ftb-card::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; border-left: 2px dashed var(--ms-gold); }
#main-content .ftb-card::after {
    content: ""; position: absolute; top: 50%; left: -9px; right: -9px; height: 18px; margin-top: -9px; pointer-events: none;
    background: radial-gradient(circle at 0 50%, var(--bl-cream, #f5f4ee) 8.5px, transparent 9px) left / 18px 18px no-repeat,
                radial-gradient(circle at 100% 50%, var(--bl-cream, #f5f4ee) 8.5px, transparent 9px) right / 18px 18px no-repeat;
}
#main-content .ftb-topic-n {
    font-family: var(--ms-slab); font-weight: 400; font-size: 16px;
    background: var(--ms-gold); color: var(--ms-ink); box-shadow: none;
}
#main-content .ftb-how::before { opacity: 1; background: var(--ms-stripes); }
#main-content .ftb-how-n { font-family: var(--ms-slab); font-weight: 400; font-stretch: normal; font-size: 54px; }
#main-content .ftb-how-list li { border-top: 3px solid var(--ms-gold); }
#main-content .ftb-cal, #main-content .ftb-schedule-alt { border-color: var(--ms-gold); }
