/* Angela Kirby Consulting — site styles, ported from the approved design mockup
   (docs/reference/angela-kirby-design.html). Fonts: DM Serif Display + Inter. */
        :root {
            --midnight: #0C2340;
            --slate: #2E5A88;
            --goldenrod: #B8860B;
            --gold-light: #D4A843;
            --parchment: #E8DCC8;
            --warm-bg: #FAFAF7;
            --warm-cream: #F5F0E8;
            --alert-red: #8B2020;
            --alert-bg: #FDF6F3;
            --text-primary: #1A1A1A;
            --text-secondary: #4A5568;
            --text-muted: #718096;
            --border: #E2DDD5;
            --white: #FFFFFF;
            --display: 'DM Serif Display', Georgia, serif;
            --body: 'Inter', system-ui, sans-serif;
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--body); color: var(--text-primary); background: var(--warm-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
        .container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

        /* Nav */
        nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,250,247,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: all 0.3s; }
        nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(0,0,0,0.04); }
        nav .container { display: flex; justify-content: space-between; align-items: center; height: 68px; }
        .nav-brand { text-decoration: none; }
        .nav-brand-name { font-family: var(--display); font-size: 1.15rem; color: var(--midnight); display: block; line-height: 1.2; }
        .nav-brand-tag { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goldenrod); font-weight: 600; }
        .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
        .nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
        .nav-links a:hover { color: var(--midnight); }
        .nav-cta { background: var(--midnight) !important; color: white !important; padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 600 !important; }
        .nav-cta:hover { background: #0a1c33 !important; }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
        .mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--midnight); margin: 5px 0; border-radius: 1px; }

        /* Hero */
        .hero { padding: 11rem 0 6rem; background: linear-gradient(175deg, var(--midnight) 0%, #122D4F 55%, var(--slate) 100%); color: white; position: relative; overflow: hidden; }
        .hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--warm-bg)); }
        .hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
        .hero-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
        .hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold-light); }
        .hero h1 { font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; }
        .hero h1 em { font-style: italic; color: var(--gold-light); }
        .hero-text { font-size: 1.02rem; color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.85; }
        .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
        .btn-gold { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--goldenrod); color: white; padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: all 0.25s; border: none; cursor: pointer; }
        .btn-gold:hover { background: #9A7209; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,0.3); }
        .btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: rgba(255,255,255,0.85); padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 0.92rem; border: 1px solid rgba(255,255,255,0.25); transition: all 0.25s; }
        .btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }
        .hero-photo { display: flex; justify-content: flex-end; }
        .hero-photo img { width: 340px; height: 420px; object-fit: cover; object-position: center top; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.3); border: 3px solid rgba(255,255,255,0.1); }

        /* Urgency Banner */
        .urgency { padding: 3rem 0; background: var(--alert-bg); border-bottom: 1px solid #E8D5CD; }
        .urgency .container { max-width: 920px; }
        .urgency-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--alert-red); margin-bottom: 1rem; }
        .urgency-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--alert-red); }
        .urgency h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--midnight); line-height: 1.3; margin-bottom: 1.25rem; }
        .urgency p { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 1rem; line-height: 1.85; }
        .urgency-cta { margin-top: 1.5rem; }

        /* What States Need */
        .needs { padding: 5.5rem 0; background: var(--white); }
        .needs-header { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
        .needs-header .eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goldenrod); margin-bottom: 0.75rem; }
        .needs-header h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--midnight); margin-bottom: 0.75rem; }
        .needs-header p { color: var(--text-secondary); font-size: 1rem; }
        .needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
        .need-card { padding: 2.25rem 2rem; border: 1px solid var(--border); border-radius: 10px; background: var(--warm-bg); transition: all 0.3s; position: relative; overflow: hidden; }
        .need-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--goldenrod); transform: scaleX(0); transition: transform 0.3s; }
        .need-card:hover { border-color: var(--goldenrod); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.05); }
        .need-card:hover::before { transform: scaleX(1); }
        .need-card h3 { font-family: var(--display); font-size: 1.1rem; color: var(--midnight); margin-bottom: 0.6rem; }
        .need-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
        .need-card .tag { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--goldenrod); margin-bottom: 0.75rem; }

        /* How I Work */
        .how { padding: 5.5rem 0; background: var(--midnight); color: white; position: relative; overflow: hidden; }
        .how::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(46,90,136,0.3) 0%, transparent 60%); pointer-events: none; }
        .how .container { position: relative; z-index: 2; }
        .how-header { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
        .how-header .eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.75rem; }
        .how-header h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: white; margin-bottom: 0.75rem; }
        .how-header p { color: rgba(255,255,255,0.65); font-size: 1rem; }
        .how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
        .how-card { padding: 2rem 1.75rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); transition: all 0.3s; }
        .how-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(212,168,67,0.3); }
        .how-card h3 { font-family: var(--display); font-size: 1.05rem; color: var(--gold-light); margin-bottom: 0.5rem; }
        .how-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

        /* Philosophy */
        .philosophy { padding: 4.5rem 0; background: var(--warm-cream); text-align: center; }
        .philosophy blockquote { font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-style: italic; color: var(--midnight); max-width: 740px; margin: 0 auto; line-height: 1.65; position: relative; }
        .philosophy blockquote::before { content: open-quote; font-size: 4rem; color: var(--parchment); position: absolute; top: -1.5rem; left: -1rem; font-family: var(--display); line-height: 1; }
        .philosophy cite { display: block; margin-top: 1.25rem; font-family: var(--body); font-style: normal; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

        /* About */
        .about { padding: 5.5rem 0; background: var(--warm-bg); }
        .about .container { display: grid; grid-template-columns: 0.38fr 1fr; gap: 4rem; align-items: start; }
        .about-sidebar { position: sticky; top: 100px; }
        .about-photo { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); margin-bottom: 1.5rem; }
        .about-links { display: flex; flex-direction: column; gap: 0.6rem; }
        .about-link { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
        .about-link:hover { color: var(--goldenrod); }
        .about-link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--goldenrod); }
        .about-content .eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goldenrod); margin-bottom: 0.75rem; }
        .about-content h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--midnight); line-height: 1.3; margin-bottom: 1.5rem; }
        .about-content p { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 1.15rem; line-height: 1.85; }
        .cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
        .cred { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.82rem; color: var(--text-secondary); }
        .cred::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--goldenrod); flex-shrink: 0; margin-top: 0.45rem; }

        /* Substack */
        .writing { padding: 5.5rem 0; background: var(--white); }
        .writing .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
        .writing-content .eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goldenrod); margin-bottom: 0.75rem; }
        .writing-content h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); color: var(--midnight); margin-bottom: 1rem; }
        .writing-content p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.8; }
        .writing-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
        .btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--midnight); padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.88rem; border: 2px solid var(--border); transition: all 0.25s; }
        .btn-outline:hover { border-color: var(--midnight); }
        .writing-card { background: var(--warm-bg); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; text-align: center; }
        .writing-card-logo { width: 56px; height: 56px; border-radius: 12px; background: #FF6719; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
        .writing-card-logo svg { width: 28px; height: 28px; color: white; }
        .writing-card h3 { font-family: var(--display); font-size: 1.2rem; color: var(--midnight); margin-bottom: 0.25rem; }
        .writing-card .author { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
        .writing-card .tagline { font-size: 0.88rem; font-style: italic; color: var(--text-secondary); line-height: 1.6; }

        /* Contact */
        .contact { padding: 5.5rem 0; background: var(--warm-bg); }
        .contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
        .contact-content .eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goldenrod); margin-bottom: 0.75rem; }
        .contact-content h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--midnight); margin-bottom: 1rem; }
        .contact-content > p { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 2rem; line-height: 1.8; }
        .contact-item { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
        .contact-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--warm-cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .contact-icon svg { width: 18px; height: 18px; color: var(--goldenrod); }
        .contact-item span, .contact-item a { font-size: 0.92rem; color: var(--text-primary); }
        .contact-item a { text-decoration: none; font-weight: 500; transition: color 0.2s; }
        .contact-item a:hover { color: var(--goldenrod); }
        .contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--midnight); margin-bottom: 0.35rem; }
        .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 6px; font-family: var(--body); font-size: 0.92rem; color: var(--text-primary); background: var(--warm-bg); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--goldenrod); box-shadow: 0 0 0 3px rgba(184,134,11,0.08); }
        .form-group textarea { resize: vertical; min-height: 110px; }
        .form-submit { width: 100%; padding: 0.85rem; background: var(--midnight); color: white; border: none; border-radius: 6px; font-family: var(--body); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.25s; }
        .form-submit:hover { background: #0a1c33; }

        /* Footer */
        footer { padding: 3rem 0; background: var(--midnight); color: rgba(255,255,255,0.45); text-align: center; }
        footer .container { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
        .footer-brand { font-family: var(--display); font-size: 1rem; color: white; }
        .footer-tag { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.5rem; }
        footer p { font-size: 0.8rem; }
        .footer-links { display: flex; gap: 1.5rem; list-style: none; }
        .footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
        .footer-links a:hover { color: var(--gold-light); }

        /* Animations */
        .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .fade-in.visible { opacity: 1; transform: translateY(0); }

        /* Responsive */
        @media (max-width: 968px) {
            .hero .container { grid-template-columns: 1fr; text-align: center; }
            .hero-eyebrow { justify-content: center; }
            .hero-text { margin: 0 auto 2.25rem; }
            .hero-actions { justify-content: center; }
            .hero-photo { justify-content: center; margin-top: 2rem; }
            .hero-photo img { width: 280px; height: 350px; }
            .needs-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
            .about .container, .writing .container, .contact .container { grid-template-columns: 1fr; }
            .about-sidebar { position: static; display: grid; grid-template-columns: auto 1fr; gap: 2rem; }
            .about-photo { width: 200px; }
        }
        @media (max-width: 640px) {
            .nav-links { display: none; }
            .mobile-toggle { display: block; }
            .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--warm-bg); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1rem; }
            .hero { padding: 9rem 0 5rem; }
            .needs-grid, .how-grid, .cred-grid { grid-template-columns: 1fr; }
            .form-row { grid-template-columns: 1fr; }
            .about-sidebar { grid-template-columns: 1fr; }
            .about-photo { width: 100%; max-width: 280px; }
        }

/* --- Wagtail rich-text wrappers: keep ported single-paragraph blocks tidy --- */
.hero-text { margin-bottom: 2.5rem; }
.hero-text p { margin: 0 0 1rem; color: rgba(255,255,255,0.78); font-size: 1.02rem; line-height: 1.85; }
.hero-text p:last-child { margin-bottom: 0; }
.needs-header p, .how-header p, .writing-content > p, .contact-content > p { margin-bottom: 0.75rem; }
