/* ===========================================================
   BOILING POINT XL · Sawmills, Bristol · Sat 10 Oct 2026
   KELVIN 373 presents, powered by Electrikal Sound System.
   Molten industrial heat — near-black ground, hot molten-orange
   gradient sampled from the artwork, cream/steam ink. Vertical
   hairline "scaffold bar" motif echoes the poster's own pillar
   silhouettes; a slow ember-pulse breathes behind the poster
   frame as the one signature animated moment.

   Built on the Furiosa signup-site blueprint (embed-widget
   variant, see opening-party): #furiosa-page-widget override
   skeleton kept, every value re-themed. Type: Big Shoulders
   Display (display) + Barlow (body) — a new pairing for this
   build, distinct from Anton/Tinos used elsewhere.
   =========================================================== */

@import url('https://fonts.bunny.net/css?family=big-shoulders-display:600,700,900|barlow:400,500,600,700&display=swap');

:root {
  --ink:        #0b0705;
  --ink-deep:   #060402;
  --char:       #170d08;

  --steam:      #f5eadf;
  --steam-soft: rgba(245, 234, 223, 0.74);
  --steam-dim:  rgba(245, 234, 223, 0.46);

  --molten:        #ff4317;
  --molten-bright: #ff6a3a;
  --ember:         #ff8a3d;

  --line:      rgba(245, 234, 223, 0.16);
  --line-dim:  rgba(245, 234, 223, 0.08);
  --input-bg:  rgba(245, 234, 223, 0.05);

  --error: #ff6a5a;
  --ok:    #7be0a0;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans:    "Barlow", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;

  --r-card:  14px;
  --r-input: 8px;
}

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

html, body {
  margin: 0; padding: 0;
  min-height: 100%;
  color: var(--steam);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { background: var(--ink-deep); }
body { background: transparent; }

img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: rgba(255, 67, 23, 0.85); color: #0a0503; }

/* ---------- Full-bleed ambient backdrop (blurred/darkened poster) ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/images/bg-mobile.webp?v=20260701-1");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 760px) {
  .bg { background-image: url("/assets/images/bg-desktop.webp?v=20260701-1"); }
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 76% -8%, rgba(255, 106, 58, 0.20), transparent 62%),
    linear-gradient(180deg, rgba(6,4,2,0.86) 0%, rgba(6,4,2,0.82) 40%, rgba(4,3,2,0.95) 100%);
}

/* Vertical hairline "scaffold" bars — echoes the poster's own pillar
   silhouettes; quiet structural nod, not decoration bolted on. */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(245, 234, 223, 0.045) 0,
    rgba(245, 234, 223, 0.045) 2px,
    transparent 2px,
    transparent 84px
  );
  opacity: 0.55;
  z-index: 1;
}

/* Film grain for analogue texture over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* ---------- Stage: two columns on desktop, stack on mobile ---------- */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.stage__inner {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 22px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------- Poster ---------- */
.poster { justify-self: center; text-align: center; position: relative; }
.poster__frame {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--r-card);
  isolation: isolate;
}
.poster__frame img {
  display: block;
  width: 100%;
  border-radius: var(--r-card);
  box-shadow:
    0 40px 90px -32px rgba(0,0,0,0.92),
    0 0 0 1px rgba(245,234,223,0.08);
  position: relative;
  z-index: 1;
}
/* Ember pulse — slow breathing glow behind the frame, the one
   deliberate animated signature (heat radiating off the poster). */
.poster__frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: calc(var(--r-card) + 14px);
  background: radial-gradient(closest-side, rgba(255,67,23,0.55), transparent 72%);
  filter: blur(26px);
  z-index: 0;
  animation: emberPulse 4.2s ease-in-out infinite;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50%      { opacity: 0.92; transform: scale(1.02); }
}

/* ---------- Sign-up panel ---------- */
.panel {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 6px;
  position: relative;
}

/* State swap: idle form vs. thank-you screen. Exactly one visible at a time,
   toggled by data-state on .panel (JS flips it on widget success). */
.panel__success { display: none; }
.panel[data-state="success"] .panel__idle { display: none; }
.panel[data-state="success"] .panel__success { display: block; animation: fadeUp 0.6s cubic-bezier(.22,.61,.36,1) both; }

.panel__eyebrow {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--molten-bright);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.panel__eyebrow::before,
.panel__eyebrow::after {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--molten);
}

.panel__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 7.6vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  margin: 4px 0 18px;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: var(--steam);
}
.panel__title em {
  font-style: normal;
  font-weight: 900;
  color: var(--molten-bright);
}

.panel__lede {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--steam-soft);
  text-align: center;
}
.panel__lede strong { color: var(--steam); font-weight: 600; }

/* Fact strip — echoes the poster's own venue|date two-up layout */
.fact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--steam-dim);
}
.fact-strip .sep { color: var(--molten); }

/* ===========================================================
   Embedded CRM widget re-skin (#furiosa-page-widget / .fpw-*)
   Flipped from the widget's default white Figtree card into the
   molten-dark look. Scoped under the #id so these beat the
   widget's runtime-injected `.fpw .fpw-x { ...!important }`
   rules (id 1,1,0 > class 0,2,0) regardless of source order.
   =========================================================== */

#furiosa-page-widget,
#furiosa-page-widget .fpw {
  background: transparent !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--sans) !important;
  color: var(--steam) !important;
  position: relative;
}
/* Page supplies its own eyebrow + display title + lede; the poster
   carries the brand mark — suppress the widget's own heading + logo. */
#furiosa-page-widget h2,
#furiosa-page-widget .fpw-logo { display: none !important; }

#furiosa-page-widget .fpw-group { margin-bottom: 16px !important; }
#furiosa-page-widget label {
  color: var(--steam) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  margin-bottom: 7px !important;
}
#furiosa-page-widget .fpw-req { color: var(--molten-bright) !important; }

/* Inputs / textareas */
#furiosa-page-widget input,
#furiosa-page-widget textarea {
  background: var(--input-bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-input) !important;
  color: var(--steam) !important;
  font-family: var(--sans) !important;
  font-size: 15.5px !important;
}
#furiosa-page-widget input::placeholder,
#furiosa-page-widget textarea::placeholder { color: rgba(245,234,223,0.38) !important; }
#furiosa-page-widget input:focus,
#furiosa-page-widget textarea:focus {
  outline: none !important;
  border-color: var(--molten) !important;
  box-shadow: 0 0 0 3px rgba(255,67,23,0.22) !important;
  background: rgba(255,67,23,0.06) !important;
}

/* intl-tel-input phone wrap */
#furiosa-page-widget .fpw-phone-wrap .iti {
  background: var(--input-bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-input) !important;
}
#furiosa-page-widget .fpw-phone-wrap .iti:focus-within { border-color: var(--molten) !important; }
#furiosa-page-widget .iti__selected-country {
  background: transparent !important;
  border-right: 1px solid var(--line) !important;
}
#furiosa-page-widget .iti__selected-dial-code { color: var(--steam) !important; }
#furiosa-page-widget .iti__arrow { border-top-color: var(--steam-soft) !important; }

/* Country dropdown + search box — designed deliberately, not left default */
#furiosa-page-widget .iti__country-list,
#furiosa-page-widget .iti__dropdown-content {
  background: #170d08 !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-input) !important;
  color: var(--steam) !important;
  box-shadow: 0 20px 44px rgba(0,0,0,0.72) !important;
  overflow: hidden !important;
}
#furiosa-page-widget .iti__search-input {
  background: rgba(245,234,223,0.07) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  color: var(--steam) !important;
  font-family: var(--sans) !important;
  font-size: 14.5px !important;
  padding: 12px 14px !important;
}
#furiosa-page-widget .iti__search-input::placeholder { color: rgba(245,234,223,0.4) !important; }
#furiosa-page-widget .iti__country {
  color: var(--steam) !important;
  font-family: var(--sans) !important;
  padding: 9px 14px !important;
}
/* The widget's own injected CSS sets .iti__country-name to a near-black
   #1a202c directly (its light-theme default) — a direct declaration beats
   inherited color from .iti__country regardless of selector specificity, so
   it must be overridden explicitly or the list reads as unreadable dark-on-
   dark text on this theme. */
#furiosa-page-widget .iti__country-name { color: var(--steam) !important; }
#furiosa-page-widget .iti__country .iti__dial-code { color: var(--steam-dim) !important; }
#furiosa-page-widget .iti__country.iti__highlight .iti__country-name { color: var(--steam) !important; }
#furiosa-page-widget .iti__country:hover { background: rgba(255,67,23,0.14) !important; }
#furiosa-page-widget .iti__country.iti__highlight { background: rgba(255,67,23,0.26) !important; color: var(--steam) !important; }

/* Consent line */
#furiosa-page-widget .fpw-consent span { color: var(--steam-soft) !important; font-family: var(--sans) !important; }
#furiosa-page-widget .fpw-consent a { color: var(--steam) !important; text-decoration-color: var(--molten); }

/* Submit button → molten block, matching the display type */
#furiosa-page-widget #fpw-submit {
  background: var(--molten) !important;
  color: #0a0503 !important;
  border: 0 !important;
  border-radius: var(--r-input) !important;
  width: 100% !important;
  height: 58px !important;
  font-family: var(--display) !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  cursor: pointer !important;
  box-shadow: 0 16px 32px -14px rgba(255,67,23,0.6) !important;
  transition: background .18s, transform .12s !important;
}
#furiosa-page-widget #fpw-submit:hover { background: var(--molten-bright) !important; transform: translateY(-1px); }
#furiosa-page-widget #fpw-submit:disabled { background: rgba(255,67,23,0.35) !important; }

/* Status messages */
#furiosa-page-widget .fpw-msg { font-family: var(--sans) !important; border-radius: var(--r-input) !important; }
#furiosa-page-widget .fpw-msg.success { background: rgba(123,224,160,0.12) !important; color: var(--ok) !important; border: 1px solid rgba(123,224,160,0.4) !important; }
#furiosa-page-widget .fpw-msg.error   { background: rgba(255,67,23,0.14) !important; color: var(--error) !important; border: 1px solid rgba(255,67,23,0.4) !important; }
#furiosa-page-widget .fpw-msg.info    { background: rgba(255,67,23,0.10) !important; color: var(--steam) !important; border: 1px solid rgba(255,67,23,0.3) !important; }

/* No SMS OTP for this project — hide the (unused) OTP block outright so
   there is no dead UI left over from the widget's default markup. */
#furiosa-page-widget .fpw-otp { display: none !important; }

/* Chrome/Edge autofill honeypot fix (asot.london 2026-05-29). The embed
   renders its honeypot as the FIRST text input, hidden off-screen
   (left:-9999px) — autofill still targets off-screen fields and trips the
   widget's submit guard, silently blocking real users. display:none removes
   it from autofill eligibility while keeping the DOM-bot guard intact.
   Can't edit the widget's own CSS — override here (id beats .fpw .fpw-hp). */
#furiosa-page-widget .fpw-hp { display: none !important; }

/* ---------- Footer — full width, basslayerz layout verbatim ---------- */
.foot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 18px clamp(16px, 4vw, 40px) 26px;
  background: rgba(11,7,5,0.62);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.foot__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12px; color: var(--steam-dim); letter-spacing: 0.02em; }
.foot__legal a { color: var(--steam-dim); text-decoration: none; }
.foot__legal a:hover { color: var(--molten-bright); }
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--steam-dim);
  text-decoration: none;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.site-built a:hover { border-color: var(--molten); color: var(--steam); }
.site-built img { display: block; opacity: 0.92; filter: none; }

/* ---------- Privacy page typography ---------- */
.legal {
  max-width: 760px;
  margin: 34px auto 56px;
  padding: 38px 30px 50px;
  background: rgba(11,7,5,0.94);
  border: 1px solid var(--line);
  border-top: 3px solid var(--molten);
  border-radius: var(--r-card);
  box-shadow: 0 30px 64px -28px rgba(0,0,0,0.8);
  position: relative;
  z-index: 1;
}
.legal h1 {
  font-family: var(--display);
  color: var(--molten-bright);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 0.96;
  margin: 0 0 6px;
}
.legal .updated { color: var(--steam-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; margin: 0 0 30px; }
.legal h2 { font-family: var(--sans); color: var(--steam); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; margin: 30px 0 8px; }
.legal p, .legal li { font-family: var(--sans); font-weight: 400; color: var(--steam-soft); font-size: 15.5px; line-height: 1.7; }
.legal a { color: var(--molten-bright); }
.legal strong { color: var(--steam); font-weight: 600; }
.back { display: inline-block; margin-top: 34px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--molten-bright); text-decoration: none; }

/* ---------- Desktop two-column split ---------- */
@media (min-width: 880px) {
  .stage__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    padding: 60px 32px 32px;
    gap: 60px;
  }
  .poster { justify-self: end; max-width: 480px; }
  .poster__frame { max-width: 480px; }
  .panel { justify-self: start; }
  .foot { justify-content: space-between; }
}
@media (max-width: 879px) {
  .foot { justify-content: center; text-align: center; }
  .foot__left { justify-content: center; }
}

/* ---------- Entrance — subtle one-shot reveal ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.poster { animation: fadeUp 1.0s 0.05s cubic-bezier(.22,.61,.36,1) both; }
.panel  { animation: fadeUp 0.9s 0.25s cubic-bezier(.22,.61,.36,1) both; }

@media (prefers-reduced-motion: reduce) {
  .poster, .panel { animation: none; }
  .poster__frame::before { animation: none; opacity: 0.7; }
}

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--molten-bright);
  outline-offset: 2px;
}
