/* UK Junction work in progress page.
   Colours, fonts, header pill, glass card and footer follow the Drift design
   (ukjunction-v2/design-reference: drift-abstract.html and contact-us.html).
   Fonts are self-hosted from Fontsource (SIL Open Font Licence, see fonts/). */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #F6F4FC;
  --ink: #15102B;
  --ink-soft: #6E6789;
  --glass-strong: rgba(255, 255, 255, 0.85);
  --line: rgba(21, 16, 43, 0.08);
  --violet: #8B5CF6;
  --magenta: #EC4899;
  --coral: #FB7185;
  --amber: #FBBF24;
  --grad: linear-gradient(120deg, var(--violet), var(--magenta) 55%, var(--coral));
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
a { color: inherit; }

/* Background blobs (drift-abstract.html), in a fixed layer that clips them, so the page never scrolls sideways */
.backdrop { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; z-index: 0; pointer-events: none; }
.blob-1 { width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, var(--violet), transparent 70%); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle at 60% 40%, var(--magenta), transparent 70%); top: 220px; left: -160px; animation: float 18s ease-in-out infinite reverse; }
.blob-3 { width: 340px; height: 340px; background: radial-gradient(circle at 50% 50%, var(--amber), transparent 70%); top: 480px; right: 10%; opacity: 0.35; animation: float 16s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-16px, 22px) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* Header pill (drift-abstract.html), wordmark only */
.nav-wrap { position: relative; z-index: 2; display: flex; justify-content: center; padding: 16px 20px 0; }
.header {
  width: 100%; max-width: 1180px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 20px;
  box-shadow: 0 8px 32px rgba(21, 16, 43, 0.08);
}
.wordmark { font-family: "Unbounded", "Segoe UI", sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: #000000; text-decoration: none; white-space: nowrap; }

/* Centred glass card (contact-us.html panel; heading at its .hero h1 scale) */
.main { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 20px; }
.card {
  width: 100%; max-width: 640px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(21, 16, 43, 0.06);
  backdrop-filter: blur(18px);
  padding: 48px 44px;
  text-align: center;
}
h1 { font-family: "Unbounded", "Segoe UI", sans-serif; font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: -0.8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin: 18px auto 0; max-width: 480px; }
.contact { font-size: 14.5px; line-height: 1.6; margin-top: 22px; color: var(--ink); }
.contact a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact a:focus-visible, .wordmark:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

/* Footer (contact-us.html) */
.footer { position: relative; z-index: 2; }
.footer p { max-width: 1180px; margin: 0 auto; padding: 28px 20px 36px; text-align: center; font-size: 12px; line-height: 1.7; color: var(--ink-soft); border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  .nav-wrap { padding: 16px 16px 0; }
  .header { padding: 13px 18px; }
  .wordmark { font-size: 16px; }
  .main { padding: 40px 16px; }
  .card { padding: 36px 22px; }
  h1 { font-size: 30px; }
  .lead { font-size: 15.5px; }
  .footer p { padding: 24px 16px 32px; }
}
