/* ---------- Join Us ---------- */
.join {
    --ink: #1a1412; --red: #b4232a; --gold: #c8973f;
    position: relative; overflow: clip; color: var(--ink); text-align: center;
    padding: clamp(120px, 15vw, 210px) 20px clamp(130px, 15vw, 220px);
    background: radial-gradient(60% 60% at 50% 50%, #fff 0%, #f6efe4 100%);
}
.join-marquee { position: absolute; left: 0; top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none; z-index: 0;
    font: italic 400 clamp(110px, 16vw, 260px)/1 'Fraunces', Georgia, serif; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(180,35,42,.1); }
.join-marquee span { display: inline-block; animation: join-slide 60s linear infinite; }
@keyframes join-slide { to { transform: translateX(-50%); } }

.join-photo { position: absolute; z-index: 1; margin: 0; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(60,20,15,.6);
    translate: 0 var(--py, 0px); }
.join-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.join-photo--a { left: max(2vw, 16px); top: 14%; width: clamp(150px, 19vw, 300px); aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; rotate: -6deg; }
.join-photo--b { right: max(2vw, 16px); bottom: 12%; width: clamp(150px, 20vw, 320px); aspect-ratio: 4 / 5; border-radius: 24px 24px 999px 999px; rotate: 5deg; }
.join-photo--b img { object-position: 40% 50%; }

.join-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; display: grid; justify-items: center; }
.join-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(26,20,18,.1); font: 600 12px/1 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.join-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(180,35,42,.18); }
.join-title { margin: 0 0 22px; font: 500 clamp(48px, 7vw, 110px)/.92 'Fraunces', Georgia, serif; letter-spacing: -.045em; }
.join-title em { font-style: italic; font-weight: 400; color: var(--red); }
.join-lead { margin: 0 0 36px; font: 400 18px/1.7 'Manrope', sans-serif; color: rgba(26,20,18,.66); }
.join-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; padding: 20px 34px; border: 0; border-radius: 999px;
    background: var(--ink); color: #fff; cursor: pointer; font: 600 16px/1 'Manrope', sans-serif;
    box-shadow: 0 20px 40px -18px rgba(26,20,18,.7); transition: translate .3s ease; }
.join-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: circle(0 at 50% 120%); transition: clip-path .6s cubic-bezier(.65,0,.15,1); }
.join-btn:hover { translate: 0 -3px; }
.join-btn:hover::before { clip-path: circle(140% at 50% 120%); }
.join-btn svg { transition: translate .3s ease; }
.join-btn:hover svg { translate: 4px 0; }

/* Join form dialog */
.join-modal { width: min(640px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: #fff;
    box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); }
.join-modal[open] { animation: join-in .5s cubic-bezier(.2,.8,.2,1); }
.join-modal::backdrop { background: rgba(20,10,8,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes join-in { from { opacity: 0; translate: 0 30px; scale: .97; } }
.join-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(26px, 4vw, 40px); text-align: left; }
.join-form .join-chip { grid-column: 1 / -1; justify-self: start; margin: 0; background: #faf6f0; }
.join-form h3 { grid-column: 1 / -1; margin: 0; font: 500 32px/1.1 'Fraunces', Georgia, serif; letter-spacing: -.02em; }
.join-note { grid-column: 1 / -1; margin: 0 0 6px; font: 400 14px/1.55 'Manrope', sans-serif; color: rgba(26,20,18,.6); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font: 700 11px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.field input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(26,20,18,.14); background: #faf8f5;
    font: 500 15px/1.2 'Manrope', sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(180,35,42,.12); }
.join-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.join-actions button { padding: 14px 24px; border-radius: 999px; cursor: pointer; font: 600 15px/1 'Manrope', sans-serif; }
.join-cancel { border: 1px solid rgba(26,20,18,.18); background: #fff; color: var(--ink); }
.join-submit { border: 0; background: var(--red); color: #fff; }
.join-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #faf6f0; color: var(--ink);
    display: grid; place-items: center; cursor: pointer; transition: rotate .3s ease; }
.join-close:hover { rotate: 90deg; }

/* ---------- Footer ---------- */
.site-footer { --gold: #f3c47a; --red: #b4232a;
    position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #120708;
    border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 56px)); }
.footer-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; left: 50%; top: -35vw; translate: -50% 0; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(180,35,42,.45) 0%, rgba(180,35,42,0) 65%); filter: blur(20px); }
.footer-inner { max-width: 1320px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 48px) 0; }

.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end;
    padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; border-radius: 22px; background: #fff;
    box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); }
.footer-logo img { width: 56px; height: 56px; object-fit: contain; }
.footer-motto { margin: 0 0 14px; max-width: 520px; font: italic 400 clamp(22px, 2.4vw, 32px)/1.3 'Fraunces', Georgia, serif; }
.footer-province { margin: 0; font: 600 12px/1.4 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.footer-sub label { display: block; margin-bottom: 8px; font: 500 26px/1.1 'Fraunces', Georgia, serif; }
.footer-sub > p { margin: 0 0 18px; font: 400 15px/1.6 'Manrope', sans-serif; color: rgba(255,255,255,.6); }
.footer-sub-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    transition: border-color .3s, background .3s; }
.footer-sub-row:focus-within { border-color: var(--gold); background: rgba(255,255,255,.1); }
.footer-sub input { flex: 1; min-width: 0; padding: 12px 16px; border: 0; background: none; color: #fff; font: 500 15px/1 'Manrope', sans-serif; }
.footer-sub input::placeholder { color: rgba(255,255,255,.45); }
.footer-sub input:focus { outline: none; }
.footer-sub button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--gold); color: #2a0b10; font: 700 14px/1 'Manrope', sans-serif; transition: background .25s; }
.footer-sub button:hover { background: #fff; }
.footer-sub-msg { margin: 12px 0 0 !important; color: var(--gold) !important; }

.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 28px; padding: clamp(40px, 5vw, 60px) 0; }
.footer-col { display: grid; align-content: start; gap: 10px; font: 400 15px/1.55 'Manrope', sans-serif; color: rgba(255,255,255,.72); }
.footer-col h3 { margin: 0 0 6px; font: 700 12px/1 'Manrope', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer-col address { font-style: normal; }
.footer-col a { width: max-content; max-width: 100%; color: rgba(255,255,255,.82); text-decoration: none; overflow-wrap: anywhere;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease, color .25s; }
.footer-col a:hover { color: #fff; background-size: 100% 1px; }
.footer-map { color: var(--gold) !important; font-weight: 600; }

/* Giant wordmark: outline that fills with colour as you reach the bottom (--fp from js/team.js) */
.footer-word { position: relative; padding: 0 clamp(12px, 2vw, 24px); line-height: .8; white-space: nowrap; overflow: hidden;
    font: 500 clamp(30px, 11vw, 210px)/.9 'Fraunces', Georgia, serif; letter-spacing: -.05em; text-align: center; }
.fw-outline { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(243,196,122,.35); }
.fw-fill { position: absolute; inset: 0 clamp(12px, 2vw, 24px); color: var(--gold);
    background: linear-gradient(90deg, #f3c47a, #e8a35f 50%, #b4232a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    clip-path: inset(0 calc((1 - var(--fp, 1)) * 100%) 0 0); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; max-width: 1320px; margin: 0 auto;
    padding: 22px clamp(20px, 4vw, 48px) 28px; font: 400 13px/1.5 'Manrope', sans-serif; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .join-photo { opacity: .35; }
}
@media (max-width: 760px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .join-photo--a { top: 4%; width: 120px; } .join-photo--b { bottom: 3%; width: 130px; }
    .join-form { grid-template-columns: 1fr; }
    .footer-sub-row { flex-direction: column; border-radius: 22px; }
    .footer-sub button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .join-marquee span { animation: none; } }
