/* ============================================================================
   Public site (S4 redesign) — gallery-white minimalism modeled on
   allisonchenalphotography.com: generous whitespace, neutral palette, hairline
   rules, a serif wordmark, and the photographs doing the talking.

   Display + wordmark: Cormorant Garamond. Body/labels: Hanken Grotesk.
   Both loaded via $publicFonts (includes/public_site.php) through header.php's
   $headExtra hook. Scoped to body.section-public so admin/portal are untouched.

   Chrome (includes/public_nav.php + public_footer.php):
     masthead  — social icons left · stacked wordmark centre · client login right
     .pub-nav  — persistent section nav, position:sticky (survives past the
                 masthead); category pages stick .pub-catnav right below it,
                 offset by --navh, so switching categories never needs the
                 bottom of the page.
   ========================================================================== */

body.section-public {
    --paper:    #fdfcfa;
    --paper-2:  #f5f2ec;
    --ink:      #211e19;
    --ink-soft: #544f46;
    --muted:    #9a9285;
    --line:     #e7e2d8;
    --accent:   #a17c4a;   /* bronze — micro-marks, active states, hovers */
    --overlay-ink: #f9f6f0;
    --maxw:     1200px;
    --navh:     3.4rem;    /* .pub-nav height — .pub-catnav sticks below it */

    --serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:   "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --script: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;   /* wordmark only */

    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.section-public a { color: inherit; }

/* Shared primitives -------------------------------------------------------- */
.pub-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1.2rem;
}

.pub-section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem);
}
.pub-section.tight { padding-top: clamp(2rem, 5vw, 3.5rem); }
/* First section under the nav sits closer to it than sections do to each other */
main > .pub-section:first-child { padding-top: clamp(1.5rem, 3.5vw, 2.4rem); }

.pub-heading {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin: 0;
    text-wrap: balance;
}

.pub-center { text-align: center; }

/* A quiet text link: small caps with a hairline underline that warms on hover */
.pub-textlink {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.45em;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.pub-textlink:hover { border-color: var(--accent); color: var(--accent); }

/* Scroll reveal — sections rise in once. Respects reduced-motion. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================================
   Masthead — socials left · wordmark centre · client login right.
   Scrolls away; the section nav below it is what sticks.
   ========================================================================== */
.pub-masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.25rem, 5vw, 3.5rem) clamp(1rem, 2.5vw, 1.6rem);
    gap: 1rem;
}
.pub-masthead__side { display: flex; align-items: center; gap: 0.9rem; }
.pub-masthead__social a {
    display: inline-flex;
    color: var(--ink-soft);
    transition: color 0.2s ease, transform 0.2s ease;
}
.pub-masthead__social a:hover { color: var(--accent); transform: translateY(-1px); }
.pub-masthead__login { justify-content: flex-end; }
.pub-masthead__login a {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    padding: 0.7em 1.3em;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.pub-masthead__login a:hover { border-color: var(--ink); color: var(--paper); background: var(--ink); }

/* The wordmark reproduces the reference logo in pure CSS (no image asset):
   a script name inside a thin rectangle (::before — full width of the padded
   container, so the frame encloses the whole name with air on both sides),
   with the letterspaced PHOTOGRAPHY straddling the bottom rule — its paper
   background "cuts out" the line behind it. The S3 watermark/logo decision
   can revisit all of this. */
.pub-wordmark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
    padding: 0.7rem 3.2rem 1.8rem;   /* side padding = air between name and frame */
}
.pub-wordmark::before {
    content: "";
    position: absolute;
    inset: 0 0 0.65rem;   /* the frame encloses the entire name */
    border: 1px solid var(--ink);
    transition: border-color 0.3s ease;
    pointer-events: none;
}
.pub-wordmark:hover::before { border-color: var(--accent); }
.pub-wordmark__name {
    font-family: var(--script);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1.25;
    color: var(--ink);
    white-space: nowrap;
    position: relative;
}
.pub-wordmark__sub {
    position: absolute;
    left: 50%;
    bottom: 0.65rem;                  /* the frame's bottom rule */
    transform: translate(-50%, 50%);  /* straddle it */
    background: var(--paper);         /* the cutout */
    padding: 0 1em;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.62em;
    text-indent: 0.62em; /* re-centre: tracking adds a trailing gap */
    text-transform: uppercase;
    color: var(--ink-soft);
}

@media (max-width: 640px) {
    /* Two rows: full-width centred wordmark, then socials left / login right */
    .pub-masthead {
        grid-template-areas: "wm wm" "social login";
        grid-template-columns: 1fr 1fr;
        row-gap: 1rem;
        padding-bottom: 0.9rem;
    }
    .pub-wordmark { grid-area: wm; }
    .pub-masthead__social { grid-area: social; }
    .pub-masthead__login { grid-area: login; }
    .pub-wordmark { justify-self: center; padding: 0.5rem 1.6rem 1.5rem; }
    .pub-wordmark::before { inset: 0 0 0.55rem; }
    .pub-wordmark__name { font-size: 2.4rem; }
    .pub-wordmark__sub { font-size: 0.56rem; letter-spacing: 0.5em; text-indent: 0.5em; bottom: 0.55rem; }
    .pub-masthead__login a { border: none; padding: 0; font-size: 0.62rem; letter-spacing: 0.18em; }
    .pub-masthead__login a:hover { background: none; color: var(--accent); }
}

/* ============================================================================
   Section nav — persistent: sticks to the viewport top past the masthead.
   ========================================================================== */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.4rem, 4vw, 3.2rem);
    height: var(--navh);
    /* soft tint offsets the nav strip from the content below it */
    background: rgba(245, 242, 236, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.pub-nav a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-soft);
    padding: 0.4em 0.1em;
    position: relative;
    transition: color 0.2s ease;
}
.pub-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transition: left 0.3s ease, right 0.3s ease;
}
.pub-nav a:hover { color: var(--ink); }
.pub-nav a:hover::after,
.pub-nav a.active::after { left: 0; right: 0; }
.pub-nav a.active { color: var(--ink); }
@media (max-width: 480px) {
    .pub-nav { gap: 1.1rem; }
    .pub-nav a { font-size: 0.64rem; letter-spacing: 0.18em; }
}

/* ============================================================================
   Home hero — full-width image below the chrome, quiet centred line.
   ========================================================================== */
.pub-hero {
    position: relative;
    height: clamp(420px, 82svh, 860px);
    overflow: hidden;
}
.pub-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 12s ease-out forwards;
}
.pub-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,20,14,0.18) 0%, rgba(24,20,14,0.05) 40%, rgba(24,20,14,0.3) 100%);
}
.pub-hero__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    color: var(--overlay-ink);
    padding: 0 1.25rem clamp(2.5rem, 6vw, 4.5rem);
}
.pub-hero__inner .pub-eyebrow { color: rgba(249,246,240,0.85); margin-bottom: 0.9rem; }
.pub-hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin: 0;
    text-wrap: balance;
}
.pub-hero h1 em { font-style: italic; }
.pub-hero [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.pub-hero [data-rise="1"] { animation-delay: 0.2s; }
.pub-hero [data-rise="2"] { animation-delay: 0.38s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .pub-hero__img, .pub-hero [data-rise] { animation: none; opacity: 1; transform: none; }
}

/* Centred serif statement below the hero */
.pub-intro { max-width: 720px; margin: 0 auto; text-align: center; }
.pub-intro p {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0 0 2.2rem;
    text-wrap: balance;
}

/* ============================================================================
   Category tiles — the portfolio grid (home + portfolio landing).
   Image with the category name held in a thin-ruled box, reference-style.
   ========================================================================== */
.pub-tiles {
    display: grid;
    gap: clamp(1rem, 2.5vw, 2rem);
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pub-tiles { grid-template-columns: repeat(2, 1fr); } }

.pub-tile {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: var(--paper-2);
    aspect-ratio: 4 / 3;
}
.pub-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 0.6s ease;
    filter: saturate(0.97);
}
.pub-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24,20,14,0.18);
    transition: background 0.5s ease;
}
.pub-tile:hover img { transform: scale(1.045); filter: saturate(1.04); }
.pub-tile:hover::after { background: rgba(24,20,14,0.3); }
.pub-tile__name {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
.pub-tile__name span {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--overlay-ink);
    border: 1px solid rgba(249,246,240,0.55);
    padding: 0.8em 1.6em;
    background: rgba(24,20,14,0.12);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: background 0.4s ease, border-color 0.4s ease, letter-spacing 0.4s ease;
    text-wrap: balance;
}
.pub-tile:hover .pub-tile__name span {
    background: rgba(24,20,14,0.28);
    border-color: rgba(249,246,240,0.9);
    letter-spacing: 0.19em;
}

/* ============================================================================
   Page head — centred title + blurb (portfolio/services/about/contact).
   ========================================================================== */
.pub-pagehead { text-align: center; max-width: 760px; margin: 0 auto; }
.pub-pagehead h1, .pub-pagehead h2 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.pub-pagehead p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; margin: 1.3rem auto 0; max-width: 56ch; }

/* ============================================================================
   Category pages — album header + masonry grid. The current album is the
   centred serif title; the adjacent albums (wrapping order) flank it as
   button-like links, visually distinct from the main nav's plain labels.
   ========================================================================== */
.pub-cathead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "prev title next";
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 0 0 1.2rem;
}
.pub-cathead h1 {
    grid-area: title;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    text-align: center;
    /* sized so the longest album name stays on one line beside the buttons */
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    padding: 0.22em 0;
}
/* Flanking hairlines — engraved-stationery mark for the current album */
.pub-cathead h1::before,
.pub-cathead h1::after {
    content: "";
    width: 1.6em;
    height: 1px;
    background: var(--line);
}
.pub-catbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;   /* labels centre inside the fixed width */
    gap: 0.7em;
    width: 15rem;              /* equal width regardless of album name */
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.8em 0;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pub-catbtn .arrow { color: var(--accent); transition: color 0.25s ease; }
.pub-catbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pub-catbtn:hover .arrow { color: var(--paper); }
.pub-catbtn.prev { grid-area: prev; justify-self: start; }
.pub-catbtn.next { grid-area: next; justify-self: end; }
@media (max-width: 1024px) {
    /* Title on its own row; the album buttons pair up beneath it, equal width */
    .pub-cathead {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "title title" "prev next";
        row-gap: 1.3rem;
    }
    .pub-catbtn { width: auto; justify-self: stretch; }
}
@media (max-width: 480px) {
    .pub-catbtn { font-size: 0.6rem; letter-spacing: 0.14em; padding: 0.7em 0; }
}

.pub-catblurb {
    text-align: center;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 56ch;
    margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
}

/* Masonry image grid */
.pub-grid {
    column-count: 1;
    column-gap: clamp(1rem, 2.5vw, 2rem);
}
@media (min-width: 640px) { .pub-grid { column-count: 2; } }

.pub-shot {
    break-inside: avoid;
    margin: 0 0 clamp(1rem, 2.5vw, 2rem);
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
}
.pub-shot img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 0.6s ease;
    filter: saturate(0.97);
}
.pub-shot:hover img { transform: scale(1.04); filter: saturate(1.04); }
.pub-shot__cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.4rem 1.2rem 1rem;
    background: linear-gradient(transparent, rgba(24,20,14,0.55));
    color: var(--overlay-ink);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.pub-shot__cap b { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.04em; display: block; }
.pub-shot__cap span { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.62rem; opacity: 0.85; }
.pub-shot:hover .pub-shot__cap,
.pub-shot:focus-visible .pub-shot__cap { opacity: 1; transform: none; }

/* ============================================================================
   Services — editorial hairline rows with serif numerals.
   ========================================================================== */
.pub-svc-list { max-width: 720px; margin: clamp(2rem, 5vw, 3.2rem) auto 0; }
.pub-svc {
    text-align: center;
    padding: clamp(1.3rem, 3vw, 1.9rem) 0;
    border-top: 1px solid var(--line);
}
.pub-svc:last-child { border-bottom: 1px solid var(--line); }
.pub-svc .num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.pub-svc h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    letter-spacing: 0.02em;
    margin: 0.2rem 0 0.55rem;
}
.pub-svc p { margin: 0 auto; color: var(--ink-soft); line-height: 1.75; max-width: 58ch; font-size: 0.95rem; }

/* The keep-forever promise — the differentiator, given its own quiet moment */
.pub-svc-keep {
    max-width: 620px;
    margin: clamp(2.5rem, 6vw, 4rem) auto 0;
    text-align: center;
}
.pub-svc-keep h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.45rem, 2.8vw, 1.8rem);
    margin: 0 0 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
}
.pub-svc-keep h3::before,
.pub-svc-keep h3::after { content: ""; width: 1.4em; height: 1px; background: var(--line); }
.pub-svc-keep p { margin: 0; color: var(--ink-soft); line-height: 1.8; }

.pub-svc-note {
    max-width: 640px;
    margin: clamp(2rem, 5vw, 3rem) auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================================================
   About — portrait beside the bio; kind words below.
   ========================================================================== */
.pub-bio__grid {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    grid-template-columns: 1fr;
    max-width: 1040px;
    margin: 0 auto;
}
@media (min-width: 860px) { .pub-bio__grid { grid-template-columns: 0.85fr 1.15fr; } }
.pub-bio__portrait { max-width: 420px; margin: 0 auto; }
.pub-bio__portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.97);
}
.pub-bio__body h1, .pub-bio__body h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1.2rem; }
.pub-bio__body p {
    margin: 0 0 1.1rem;
    font-size: 1.04rem;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 54ch;
}
.pub-bio__body .signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.7rem;
    color: var(--ink);
    margin-top: 1.4rem;
}

/* Reviews — quiet cards on the soft tint */
.pub-reviews { background: var(--paper-2); }
.pub-reviews__head { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.pub-reviews__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.pub-reviews__head p { max-width: 46ch; margin: 1rem auto 0; color: var(--ink-soft); }
.pub-reviews__head .rating {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}
.pub-reviews__head .rating .stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }

.review-grid {
    column-count: 1;
    column-gap: clamp(1rem, 2vw, 1.6rem);
    max-width: 1120px;
    margin: 0 auto;
}
@media (min-width: 640px)  { .review-grid { column-count: 2; } }
@media (min-width: 1000px) { .review-grid { column-count: 3; } }

.review-card {
    break-inside: avoid;
    margin: 0 0 clamp(1rem, 2vw, 1.6rem);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 1.6rem 1.5rem 1.4rem;
}
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 0.9rem; }
.review-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 1.2rem;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.review-author svg { flex: none; display: block; }
.review-author .who { line-height: 1.25; }
.review-author .who b {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    display: block;
}
.review-author .who span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Single pull-quote (home) */
.pub-quote { max-width: 680px; margin: 0 auto; text-align: center; }
.pub-quote blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 1.4rem;
    text-wrap: balance;
}
.pub-quote figcaption {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================================================
   Contact — intro + details beside the S2 form (carried over).
   ========================================================================== */
.pub-contact__grid {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    grid-template-columns: 1fr;
    max-width: 1040px;
    margin: 0 auto;
}
@media (min-width: 900px) { .pub-contact__grid { grid-template-columns: 0.9fr 1.1fr; } }
.pub-contact__intro h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin: 0 0 1.2rem; }
.pub-contact__intro p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; max-width: 40ch; }
.pub-contact__meta { margin-top: 2rem; font-size: 0.95rem; line-height: 2; }
.pub-contact__meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.2s, color 0.2s; }
.pub-contact__meta a:hover { color: var(--accent); border-color: var(--accent); }
.pub-contact__meta .lbl { display: block; text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.64rem; color: var(--muted); margin-top: 1.1rem; }

.pub-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.6rem); }
.pub-form .field { margin-bottom: 1.15rem; }
.pub-form label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.5em;
}
.pub-form input,
.pub-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 0.75em 0.85em;
    transition: border-color 0.2s;
}
.pub-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.pub-form input:focus,
.pub-form textarea:focus { outline: none; border-color: var(--ink); }

/* Honeypot — hidden from humans, offered to bots. */
.pub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pub-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 1em 2.4em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}
.pub-btn:hover { background: var(--ink); color: var(--paper); letter-spacing: 0.3em; }
.pub-btn:active { transform: translateY(1px); }

.pub-flash {
    padding: 0.85em 1em;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid transparent;
}
.pub-flash.success { background: #eef2ec; border-color: #cdddc9; color: #2f5133; }
.pub-flash.error   { background: #f7ecea; border-color: #e6cbc2; color: #7a3626; }
.pub-flash ul { margin: 0.4em 0 0; padding-left: 1.2em; }

/* CTA band (home) */
.pub-cta { text-align: center; border-top: 1px solid var(--line); }
.pub-cta h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 1rem; }
.pub-cta p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 2rem; line-height: 1.75; }

/* ============================================================================
   Footer — the copyright line, plus Lisa's discreet way into the admin.
   ========================================================================== */
.pub-footer { border-top: 1px solid var(--line); background: var(--paper); margin-top: clamp(2rem, 6vw, 4rem); }
.pub-footer__bar {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--muted);
    padding: 1.6rem 1.25rem;
}
/* Deliberately quiet: same size and colour as the copyright it sits beside,
   so it reads as chrome. The bronze hover is the only thing that marks it as
   a link, which is enough for someone who knows it is there. */
.pub-footer__sep  { margin: 0 0.5em; }
.pub-footer__admin {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}
.pub-footer__admin:hover,
.pub-footer__admin:focus-visible { color: var(--accent); }
