/* Pulse brand layer: Boska display, the Crescendo lockup in the nav, and the signature footer.
   Colours: ink #100E0C, cream #F6EEE8, apricot #FFB08A (brand), ember #FF4A14 (signal, actions only). */
@font-face { font-family: "Boska"; src: url("/website/brand/fonts/Boska-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root { --b-ink: #100E0C; --b-cream: #F6EEE8; --b-apricot: #FFB08A; --b-midnight: #0E111A; --b-ember: #FF4A14; --b-ease: cubic-bezier(.16, 1, .3, 1); }

/* nav lockup: one img per theme */
.brand-lockup { display: inline-flex; align-items: center; height: 24px; }
.brand-lockup img { height: 24px; width: auto; display: block; }
.brand-lockup .bl-light { display: none; }
.nav.is-paper .brand-lockup .bl-dark { display: none; }
.nav.is-paper .brand-lockup .bl-light { display: block; }

/* ---------- footer ---------- */
.pf { position: relative; background: var(--b-ink); color: var(--b-cream); overflow: hidden; isolation: isolate; }
.pf::before { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 70% at 72% 110%, rgba(255, 176, 138, .20), rgba(255, 120, 70, .06) 45%, transparent 70%); }
.pf a { color: inherit; text-decoration: none; }
.pf-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.pf-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; padding: clamp(80px, 11vw, 160px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid rgba(246, 238, 232, .1); }
.pf-eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 238, 232, .5); margin: 0 0 22px; }
.pf-h { font-family: "Boska", Georgia, serif; font-weight: 500; font-size: clamp(44px, 6.2vw, 96px); line-height: .98; letter-spacing: -.02em; margin: 0; max-width: 13ch; text-wrap: balance; }
.pf-h em { font-style: normal; color: var(--b-apricot); }
.pf-cta { display: grid; gap: 16px; justify-items: end; }
.pf-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 10px 0 24px; border-radius: 999px; background: var(--b-apricot); color: var(--b-midnight) !important; font-size: 16px; font-weight: 500; transition: transform .5s var(--b-ease), background .5s var(--b-ease); }
.pf-btn span { width: 34px; height: 34px; border-radius: 50%; background: var(--b-midnight); color: var(--b-apricot); display: grid; place-items: center; transition: transform .5s var(--b-ease); }
.pf-btn:hover { background: #FFC3A5; }
.pf-btn:hover span { transform: translateX(3px) rotate(-45deg); }
.pf-btn:active { transform: scale(.98); }
.pf-mail { font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; color: rgba(246, 238, 232, .7) !important; min-height: 44px; display: inline-flex; align-items: center; background: linear-gradient(currentColor, currentColor) left calc(100% - 10px) / 30% 1px no-repeat; transition: background-size .7s var(--b-ease), color .5s var(--b-ease); }
.pf-mail:hover { color: var(--b-cream) !important; background-size: 100% 1px; }
.pf-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.pf-about img { height: 28px; width: auto; display: block; }
.pf-about p { margin: 20px 0 0; max-width: 30ch; font-size: 15px; line-height: 1.55; color: rgba(246, 238, 232, .62); }
.pf-col { display: grid; gap: 2px; align-content: start; }
.pf-k { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 238, 232, .45); margin: 0 0 12px; }
.pf-col a { justify-self: start; min-height: 34px; display: inline-flex; align-items: center; font-size: 15px; color: rgba(246, 238, 232, .8) !important; transition: color .5s var(--b-ease), transform .5s var(--b-ease); }
.pf-col a:hover { color: var(--b-apricot) !important; transform: translateX(4px); }
.pf-col a[aria-current="page"] { color: var(--b-cream) !important; }
.pf-col a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--b-apricot); margin-right: 8px; }
.pf a:focus-visible { outline: 2px solid var(--b-apricot); outline-offset: 3px; border-radius: 4px; }
/* the signature: an apricot block, the wordmark rising into it */
.pf-sign { position: relative; background: var(--b-apricot); color: var(--b-midnight); border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0; overflow: hidden; }
.pf-sign-art { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2vw; padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 72px) 0; }
.pf-sign-word { width: 78%; transform: translateY(42%); transition: transform 1.6s var(--b-ease); }
.pf-sign-word img { width: 100%; height: auto; display: block; }
.pf-sign-mark { width: 14%; margin-bottom: 3.2%; transform: translateY(40%) rotate(-24deg); opacity: 0; transition: transform 1.8s var(--b-ease) .12s, opacity 1s var(--b-ease) .12s; }
.pf-sign-mark img { width: 100%; height: auto; display: block; }
.pf-sign.in .pf-sign-word { transform: translateY(0); }
.pf-sign.in .pf-sign-mark { transform: none; opacity: 1; }
.pf-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px clamp(20px, 5vw, 72px) 24px; border-top: 1px solid rgba(14, 17, 26, .16); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .04em; }
.pf-base a { color: var(--b-midnight) !important; }
.pf-base a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .pf-head { grid-template-columns: 1fr; align-items: start; }
  .pf-cta { justify-items: start; }
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pf-about { grid-column: 1 / -1; }
  .pf-sign-word { width: 80%; } .pf-sign-mark { width: 15%; }
  .pf-base { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .pf-sign-word, .pf-sign-mark { transform: none !important; opacity: 1 !important; transition: none !important; } }

/* ---------- first-visit loader: the mark blooms, then becomes the nav logo ---------- */
.pl { display: none; }
html.is-loading { overflow: hidden; }
html.is-loading .pl { display: block; position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.pl-curtain { position: absolute; inset: 0; background: var(--b-ink); clip-path: inset(0 0 0 0); transition: clip-path .95s cubic-bezier(.76, 0, .24, 1); }
.pl-curtain::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 50%, rgba(255, 176, 138, .10), transparent 70%); }
.pl-mark-wrap { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; transform-origin: 0 0; will-change: transform; }
.pl-mark { width: 100%; height: 100%; display: block; overflow: visible; fill: var(--b-apricot); animation: pl-turn 1.25s cubic-bezier(.16, 1, .3, 1) both; }
.pl-p { transform-box: view-box; transform-origin: 48.85px 58.08px; animation: pl-bloom .8s cubic-bezier(.16, 1, .3, 1) var(--d) both; }
@keyframes pl-bloom { from { transform: scale(0) rotate(-40deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes pl-turn { from { transform: rotate(-28deg) scale(.9); } to { transform: none; } }
.pl.is-out .pl-curtain { clip-path: inset(0 0 100% 0); }
.pl.is-gone { opacity: 0; transition: opacity .35s ease-out; }
.pf-sign-foot { border-radius: 0; margin-top: -1px; }
.pf-sign-foot .pf-base { border-top-color: rgba(14, 17, 26, .14); }

/* ---------- brand typography across the site: Boska carries display lines, Geist carries everything else ---------- */
.display, .h1, .h2, #h1, .statement-h, .rail-h, .pf-h { font-family: "Boska", Georgia, serif !important; font-weight: 500 !important; letter-spacing: -.012em !important; }
.h1, .display, #h1 { line-height: 1 !important; }
.h2 { line-height: 1.04 !important; }
/* accent words: Boska upright (it has no italic), coloured by their section */
.serif, .h1 em, .h2 em, .display em, .statement-h em, .h2 .serif, .h2 em.serif { font-family: "Boska", Georgia, serif !important; font-style: normal !important; font-weight: 500 !important; letter-spacing: -.012em !important; font-size: 1em !important; }
[data-theme="dark"] .h1 em, [data-theme="dark"] .h2 em, [data-theme="photo"] .h1 em, [data-theme="photo"] .h2 em, .hero .serif, .hero em { color: var(--b-apricot); }
/* primary action: apricot with midnight text everywhere (ember stays for live signals: dots, waveforms, flags) */
.btn-signal, .nav-cta { background: var(--b-apricot) !important; color: var(--b-midnight) !important; border-color: transparent !important; }
.btn-signal:hover, .nav-cta:hover { background: #FFC3A5 !important; }
.btn-signal:focus-visible, .nav-cta:focus-visible { outline: 2px solid var(--b-apricot); outline-offset: 3px; }

/* the keyword H1 is the small label above each headline: keep it looking like a label */
h1.eyebrow { font-weight: 400; }

.pf-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; padding: 0 0 clamp(40px, 5vw, 64px); font-size: 14px; }
.pf-more .pf-k { margin: 0 8px 0 0; }
.pf-more a { color: rgba(246, 238, 232, .7) !important; min-height: 32px; display: inline-flex; align-items: center; transition: color .5s var(--b-ease); }
.pf-more a:hover { color: var(--b-apricot) !important; }

.eyebrow-h { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; margin: 0; }
