/* Pudding Club - forest school for grown-ups
   Visual language taken from the printed leaflet: soft sage-green organic
   blobs over warm woodland photography, rough hand-lettered title, Oregano
   for the handwritten lines. Everything scoped under .pc. */

/* Display font for big headings. Pacific Northwest Letters Rough is a
   commercial font that can't be served from Google Fonts - drop the file
   in /wwwroot/fonts and it takes over automatically; until then the stack
   falls back to Oregano / Caveat so nothing looks broken. */
@font-face {
    font-family: 'PNW Letters Rough';
    src: url('/fonts/pnw-letters-rough.woff2') format('woff2'),
         url('/fonts/pnw-letters-rough.woff') format('woff');
    font-weight: 400 700;
    font-display: swap;
}

.pc {
    --pc-green: #5f7052;          /* sampled from the leaflet */
    --pc-green-dark: #45533b;
    --pc-cream: #f4efe2;
    --pc-ink: #2f2a22;
    --pc-muted: #6b6253;

    --pc-display: 'PNW Letters Rough', 'Oregano', 'Caveat', cursive;
    --pc-hand: 'Oregano', 'Caveat', cursive;
    --pc-body: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    color: var(--pc-ink);
    background: var(--pc-cream);
    font-family: var(--pc-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-x: hidden;
}

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

.pc-wrap {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.4rem;
}

.pc-narrow {
    max-width: 700px;
}

.pc-display {
    font-family: var(--pc-display);
    font-weight: 700;
    line-height: 1.02;
    margin: 0 0 0.5rem;
}

.pc-hand {
    font-family: var(--pc-hand);
    line-height: 1.2;
}

/* ---------- Hero: photo with flush corner artwork ---------- */
.pc-hero {
    position: relative;
    min-height: 86vh;
    padding: 0;
    background-color: var(--pc-green-dark);
    background-image: url('/img/pudding-club/hero.png');
    background-size: cover;
    background-position: center;
}

.pc-toplogo {
    position: absolute;
    /* clears the fixed site nav on mobile; reset to 0 on desktop below */
    top: 4.5rem;
    left: 0;
    margin: 0;
    width: 74%;
    max-width: 480px;
    line-height: 0;
}

.pc-toplogo img,
.pc-times {
    display: block;
    width: 100%;
    height: auto;
}

.pc-times {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 520px;
}

/* ---------- Intro ---------- */
.pc-intro {
    padding: 4rem 0 3rem;
}

.pc-intro p {
    font-size: 1.2rem;
    margin: 0 0 1.2rem;
}

.pc-lead {
    font-family: var(--pc-hand);
    font-size: 1.95rem;
    color: var(--pc-green-dark);
    line-height: 1.25;
}

/* ---------- Why (grounded benefits) ---------- */
.pc-why {
    padding: 0.5rem 0 3.5rem;
}

.pc-why .pc-display {
    color: var(--pc-green-dark);
    font-size: clamp(2rem, 6vw, 2.6rem);
}

.pc-why p {
    font-size: 1.15rem;
    margin: 0 0 1.1rem;
}

.pc-why p:last-child {
    margin-bottom: 0;
}

/* ---------- Green panels with organic edges ---------- */
.pc-panel {
    background: var(--pc-green);
    color: var(--pc-cream);
    padding: 4.5rem 0;
    border-radius: 2.4rem 2.4rem 0 0 / 1.6rem 1.6rem 0 0;
    margin-top: 0.5rem;
}

.pc-panel + .pc-panel {
    margin-top: 0;
    border-radius: 0;
}

.pc-panel .pc-display,
.pc-panel .pc-hand {
    color: var(--pc-cream);
}

.pc-display.pc-h2,
.pc-panel .pc-display {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
}

/* ---------- Timeline ---------- */
.pc-timeline {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
}

.pc-timeline li {
    display: flex;
    gap: 1.3rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(244, 239, 226, 0.28);
}

.pc-timeline li:first-child {
    border-top: none;
}

.pc-time {
    font-family: var(--pc-hand);
    font-size: 2rem;
    line-height: 1.1;
    flex: 0 0 3.6rem;
}

.pc-what {
    flex: 1;
}

/* ---------- Two columns + accent photo ---------- */
.pc-twocol {
    padding: 4.5rem 0;
}

.pc-twocol .pc-wrap {
    display: grid;
    gap: 2.5rem;
}

.pc-twocol .pc-display {
    color: var(--pc-green-dark);
    font-size: clamp(2rem, 6vw, 2.6rem);
}

.pc-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.pc-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.6rem;
    border-bottom: 1px solid rgba(95, 112, 82, 0.2);
}

.pc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--pc-green);
}

.pc-accent {
    margin: 2.5rem auto 0;
    max-width: 320px;
}

.pc-accent img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 52% 48% 57% 43% / 47% 52% 48% 53%;
    box-shadow: 0 0 0 6px var(--pc-cream), 0 0 0 8px var(--pc-green), 0 16px 34px rgba(20, 28, 16, 0.28);
}

/* ---------- Pricing ---------- */
.pc-pricing {
    text-align: center;
}

.pc-price-big {
    font-family: var(--pc-hand);
    font-size: clamp(3.2rem, 12vw, 5rem);
    line-height: 1;
    margin: 1.4rem 0 0.3rem;
}

.pc-price-sub {
    font-size: 1.15rem;
    margin: 0 0 1.4rem;
}

.pc-price-note {
    font-size: 1.1rem;
    max-width: 34rem;
    margin: 0 auto 1.2rem;
}

.pc-quiet {
    opacity: 0.92;
    font-style: italic;
    margin: 0;
}

/* ---------- Registration form ---------- */
.pc-register {
    padding: 5rem 0;
}

.pc-register .pc-display {
    color: var(--pc-green-dark);
    font-size: clamp(2.4rem, 8vw, 3.4rem);
}

.pc-register-sub {
    font-size: 1.15rem;
    margin: 0 0 2rem;
}

.pc-form {
    display: grid;
    gap: 1.5rem;
}

.pc-field {
    display: flex;
    flex-direction: column;
}

.pc-field label {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.pc-field input,
.pc-field select,
.pc-field textarea {
    font: inherit;
    color: var(--pc-ink);
    background: #fff;
    border: 1px solid #cfc6b1;
    border-radius: 0.5rem;
    padding: 0.8rem 0.9rem;
    width: 100%;
}

.pc-field input:focus,
.pc-field select:focus,
.pc-field textarea:focus {
    outline: 3px solid rgba(95, 112, 82, 0.35);
    border-color: var(--pc-green);
}

.pc-help {
    margin-top: 0.4rem;
    color: var(--pc-muted);
    font-size: 0.92rem;
}

.pc-consent label {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
    font-weight: 400;
}

.pc-consent input {
    margin-top: 0.3rem;
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}

.pc-submit {
    justify-self: start;
    background: var(--pc-green);
    color: var(--pc-cream);
    font-family: var(--pc-hand);
    font-size: 1.4rem;
    border: none;
    border-radius: 50% 50% 48% 52% / 64% 64% 36% 36%;
    padding: 0.8rem 2.6rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pc-submit:hover,
.pc-submit:focus {
    background: var(--pc-green-dark);
}

.pc-smallprint {
    color: var(--pc-muted);
    font-size: 0.9rem;
    margin: 0;
}

.pc-field-error {
    color: #a8362b;
    font-size: 0.92rem;
    margin-top: 0.35rem;
}

.pc-error {
    background: #f7e2df;
    border: 1px solid #d9a59d;
    color: #8f2c22;
    border-radius: 0.5rem;
    padding: 0.9rem 1.1rem;
}

.pc-error:empty {
    display: none;
}

.pc-error ul {
    margin: 0;
    padding-left: 1.1rem;
}

/* Honeypot - out of sight, out of the tab order */
.pc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Confirmation ---------- */
.pc-confirm {
    text-align: center;
    padding: 2rem 0;
}

.pc-confirm .pc-display {
    color: var(--pc-green-dark);
    font-size: clamp(2.8rem, 10vw, 4.2rem);
}

.pc-confirm p {
    font-family: var(--pc-hand);
    font-size: 1.5rem;
}

/* ---------- FAQ ---------- */
.pc-faq .pc-display {
    margin-bottom: 1.5rem;
}

.pc-q {
    padding: 1.1rem 0;
    border-top: 1px solid rgba(244, 239, 226, 0.24);
}

.pc-q:first-of-type {
    border-top: none;
}

.pc-q h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
}

.pc-q p {
    margin: 0;
    opacity: 0.96;
}

.pc-faq-cta {
    margin-top: 2.4rem;
    text-align: center;
}

.pc-faq-cta a {
    color: var(--pc-cream);
    font-family: var(--pc-hand);
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(244, 239, 226, 0.6);
    text-decoration: none;
}

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
    .pc-toplogo {
        top: 0;
        width: 46%;
        max-width: 560px;
    }

    .pc-times {
        width: 46%;
        max-width: 560px;
    }

    .pc-twocol .pc-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .pc-accent {
        grid-column: 1 / -1;
        max-width: 340px;
    }

    .pc-time {
        flex: 0 0 4.4rem;
        font-size: 2.3rem;
    }
}
