/* ==========================================================================
   Midnight theme: a dark re-skin of styles.css in the logo palette, with the
   tonal sweeps, pills and notched corners of the brand reference
   (Font reference/ — Matrix Grotesque). Layout, content and animations are
   untouched; this file only overrides colours, surfaces and display type.
   Screen only, picked by the device setting or the header switch (see the
   <head> script in build.py); printing still uses the plain light styles.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces, darkest to lightest */
  --bg: #03051a;
  --surface: #080c2c;
  --surface-2: #0d1340;
  --surface-3: #131b54;
  --line: rgba(150, 175, 255, 0.13);

  --ink: #ffffff;
  --text: #c3cdee;
  --muted: #8e9bc9;

  /* Tints become translucent glows; inks become light so they read on navy */
  --blue-50: rgba(59, 132, 250, 0.16);
  --blue-100: rgba(127, 176, 255, 0.28);
  --green-50: rgba(67, 219, 141, 0.14);
  --cyan-50: rgba(47, 206, 255, 0.14);
  --lime-50: rgba(142, 219, 63, 0.14);
  --blue-700: #8ab4ff;
  --cyan-ink: #6fdcff;
  --green-ink: #6ee7a8;
  --lime-ink: #bdf07a;

  /* Bold ink-trap grotesk, like the reference */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

  /* Tonal sweeps: near-black in one corner, glowing blue in the other */
  --sweep-br: radial-gradient(120% 130% at 100% 100%, rgba(30, 68, 200, 0.42) 0%, rgba(30, 68, 200, 0) 60%);
  --sweep-bl: radial-gradient(120% 130% at 0% 100%, rgba(38, 87, 226, 0.34) 0%, rgba(38, 87, 226, 0) 60%);
  --g-deep: linear-gradient(135deg, #02041a 0%, #0b1240 40%, #18246a 66%, #1e44c8 100%);
  --g-arc: radial-gradient(circle 560px at 100% 112%, rgba(83, 225, 255, 0) 64%, rgba(83, 225, 255, 0.5) 71%, rgba(59, 132, 250, 0.2) 78%, rgba(59, 132, 250, 0) 90%);
  --g-paper: linear-gradient(160deg, #dfe8ff 0%, #eef3ff 50%, #f8faff 100%);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 14; /* small optical size keeps the ink traps visible */
}
h3, h4 { font-weight: 700; letter-spacing: -0.015em; }

/* Text that was navy on white */
.nav-link,
.menu-item strong,
.marquee-label,
.marquee-toggle,
.float-card .txt strong,
.label-pill,
.chip-btn,
.uni-item,
.tabs a:hover,
.prose strong,
.fact-row .txt strong,
.req-item,
.intake .month,
.cost-table th,
.faq summary,
.field label,
.input,
.select,
.textarea,
.input-prefix span { color: var(--ink); }

/* Eyebrows become pills with a ringed dot, as in the reference */
.eyebrow,
.panel--navy .eyebrow,
.on-dark .eyebrow {
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(59, 132, 250, 0.12);
  border: 1px solid rgba(127, 176, 255, 0.22);
  color: #dbe6ff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 0 2.5px #fff;
}
.eyebrow::after { display: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { background: linear-gradient(var(--bg) 70%, rgba(3, 5, 26, 0)); }
.nav { background: rgba(10, 15, 52, 0.82); border: 1px solid var(--line); }
.brand-word { display: none; }
.brand-word--text { display: block; }

/* Wordmark: "vocovision." as one word in Unbounded (subset to its letters), coloured like the dark
   logo lockup: light blue into cyan, green "o" and full stop. 14.83cqi makes it fill the column. */
.brand-text { container-type: inline-size; }
.brand-word--text {
  font-family: "Unbounded", var(--font-display);
  font-size: 14.83cqi;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-word--text span,
.brand-tagline > span {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bw-a { background-image: linear-gradient(180deg, #a9c6ff 0%, #5ce0ff 100%); }
.bw-g { background-image: linear-gradient(180deg, #c4f27a 0%, #43db8d 100%); }
/* Tagline in Manrope, same light-blue-to-green run as its rules; 3.96cqi keeps it at ~74% of the
   column so the two rules stay short and equal under the name. */
.brand-tagline { --track: 0.2em; gap: 7px; font-size: max(7px, 3.96cqi); font-weight: 700; }
.brand-tagline > span { background-image: linear-gradient(90deg, #a9c6ff 0%, #7fdcff 50%, #8ee6b0 100%); }
.brand-tagline::before { background: linear-gradient(90deg, rgba(156, 194, 255, 0), #9cc2ff); }
.brand-tagline::after { background: linear-gradient(90deg, #8ee6b0, rgba(142, 230, 176, 0)); }

/* Footer uses the same live lockup instead of the lockup image */
.footer-lockup { display: none; }
.footer-brandmark { display: flex; gap: 16px; margin: 0; }
.footer-brand .footer-brandmark .brand-mark { width: 68px; }
.footer-brandmark .brand-text { width: 236px; gap: 8px; }
.nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.nav-link[data-current="true"] { background: #fff; color: var(--navy-950); }
.nav-toggle { background: var(--grad-blue); }
.menu { background: #0b1140; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.menu-item:hover { background: var(--surface-3); }
@media (max-width: 1080px) {
  .nav-links { background: #0b1140; border: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Panels: every section is a tonal sweep, alternating corners
   -------------------------------------------------------------------------- */
.panel { background: var(--sweep-br), var(--surface); border: 1px solid rgba(150, 175, 255, 0.07); }
main .panel:not(.panel--navy):not(.panel--tight):nth-child(odd) { background: var(--sweep-br), var(--surface); }
main .panel:not(.panel--navy):not(.panel--tight):nth-child(even) { background: var(--sweep-bl), var(--surface); }
.panel--tight { background: var(--surface); }
.panel--navy { background: var(--g-arc), var(--g-deep); border-color: rgba(127, 176, 255, 0.18); }
.footer-panel { background: var(--g-deep); border: 1px solid rgba(127, 176, 255, 0.14); }

/* Home hero: deeper sweep, and a notch in the top-right corner holding pills */
.hero-overlay {
  background:
    radial-gradient(60% 85% at 0% 100%, rgba(67, 219, 141, 0.28) 0%, rgba(67, 219, 141, 0) 62%),
    linear-gradient(100deg, rgba(2, 4, 26, 0.96) 0%, rgba(11, 18, 64, 0.8) 38%, rgba(30, 68, 200, 0.38) 70%, rgba(47, 206, 255, 0.06) 100%);
}
.hero-notch {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 0 0 12px 12px;
  background: var(--bg);
  border-bottom-left-radius: 26px;
}
.hero-notch::before,
.hero-notch::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 0 100%, transparent 25.5px, var(--bg) 26px);
}
.hero-notch::before { top: 0; left: -26px; }
.hero-notch::after { right: 0; bottom: -26px; }
.hero-notch span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-notch i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px #fff;
}
.hero--home .hero-stats { top: 84px; }

/* --------------------------------------------------------------------------
   Cards and lists
   -------------------------------------------------------------------------- */
.card,
.facts-col,
.intake,
.contact-card,
.uni-card,
.panel--soft .uni-card,
.uni-item,
.fact-row,
.req-item { background: var(--surface-2); border-color: var(--line); }
a.card:hover,
.card--hover:hover,
.uni-card:hover { background: var(--surface-3); }
.float-card { background: rgba(10, 15, 52, 0.9); border: 1px solid var(--line); }
.marquee-logo { background: #fff; border-color: transparent; }
.step:not(:last-child) .step-num { background: linear-gradient(var(--acc-soft), var(--acc-soft)), var(--surface); }
.step:nth-child(2) { --acc-ink: #7fc4ff; --acc-soft: rgba(59, 160, 252, 0.16); }

/* Testimonials as light "paper" cards for contrast, like the reference's lilac cards */
.quote-card {
  --ink: var(--navy-950);
  --text: #33405f;
  --muted: #5a6482;
  --line: #d3dcf5;
  background: var(--g-paper);
  border-color: transparent;
}

.tag--green,
.uni-item[data-country="ie"] .cc { color: #6ee7a8; }
.uni-item[data-country="au"] .cc { background: rgba(255, 170, 80, 0.14); color: #ffc078; }

/* Pills: outline at rest, white when chosen */
.chip-btn { background: transparent; border-color: var(--line); }
.chip-btn:hover { background: rgba(255, 255, 255, 0.06); }
.chip-btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--navy-950); }
.tabs-bar { background: rgba(3, 5, 26, 0.88); border-color: var(--line); }
/* Phones: no blur behind the sticky header and tabs (see styles.css), so a little more opaque */
@media (max-width: 900px) {
  .nav { background: rgba(10, 15, 52, 0.96); }
  .tabs-bar { background: rgba(3, 5, 26, 0.97); }
}
.faq summary .ic { background: var(--surface-3); }

/* Buttons that were navy become white pills on the dark surfaces */
.btn-dark { background: #fff; color: var(--navy-950); }
.btn-dark:hover { background: #dbe6ff; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { background: var(--sweep-br), var(--surface-2); border: 1px solid var(--line); }
.input,
.select,
.textarea { background-color: var(--surface); border-color: var(--line); }
.input:focus,
.select:focus,
.textarea:focus,
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { background-color: var(--surface-3); }
.input::placeholder,
.textarea::placeholder { color: #6f7ba6; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c3cdee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.input-prefix span { background-color: var(--surface-3); border-color: var(--line); }
.form-success { background: rgba(67, 219, 141, 0.12); color: #9ff0c4; }

@media (max-width: 1080px) {
  .hero--home .hero-stats { top: auto; }
}
@media (max-width: 640px) {
  .hero-notch span:first-child { display: none; }
  .footer-brand .footer-brandmark .brand-mark { width: 56px; }
  .footer-brandmark .brand-text { width: 200px; }
}

.theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-sun { display: block; }
