/* Omnia Ventum marketing website — approved B-01–B-08 baseline.
   Palette/typography/geometry values are the approved tokens; do not deviate. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Approved palette roles (B-06) */
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-alt: #EEF1F5;
  --text: #172033;
  --muted: #4B5565;
  --border: #7A8596;
  --primary: #24334D;
  --primary-hover: #17243B;
  --on-primary: #FFFFFF;
  --link: #193775;
  --link-hover: #102653;
  --accent-kcc: #193775;
  --accent-tcc: #68212A;
  --accent-pcc: #174A35;
  --plate: #FFFFFF;
  --warn-text: #704900;
  --warn-fill: #FFF4D6;
  --info-text: #193775;
  --info-fill: #EAF2FD;
}
html[data-theme="dark"] {
  --bg: #111827;
  --surface: #1F2937;
  --surface-alt: #253247;
  --text: #F3F4F6;
  --muted: #C0CAD7;
  --border: #7B8798;
  --primary: #DDE7F4;
  --primary-hover: #FFFFFF;
  --on-primary: #111827;
  --link: #91BFF1;
  --link-hover: #C4DEFA;
  --accent-kcc: #91BFF1;
  --accent-tcc: #F0A1A5;
  --accent-pcc: #8DD9B0;
  --plate: #FFFFFF;
  --warn-text: #FFD58A;
  --warn-fill: #3C2D16;
  --info-text: #91BFF1;
  --info-fill: #172E50;
}
/* No-JS fallback: follow device preference */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #111827; --surface: #1F2937; --surface-alt: #253247;
    --text: #F3F4F6; --muted: #C0CAD7; --border: #7B8798;
    --primary: #DDE7F4; --primary-hover: #FFFFFF; --on-primary: #111827;
    --link: #91BFF1; --link-hover: #C4DEFA;
    --accent-kcc: #91BFF1; --accent-tcc: #F0A1A5; --accent-pcc: #8DD9B0;
    --warn-text: #FFD58A; --warn-fill: #3C2D16;
    --info-text: #91BFF1; --info-fill: #172E50;
  }
}

* { box-sizing: border-box; }

html {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 32px; }

h1 { font-size: 48px; line-height: 1.15; font-weight: 600; margin: 0; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0; }
p { margin: 0; }

.prose { max-width: 65ch; }
.prose p + p { margin-top: 16px; }

a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 10;
  background: var(--surface);
  color: var(--link);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}
.skip:focus { top: 8px; }

/* Header */
.site-header { background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }

.identity { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.identity-name { font-size: 24px; font-weight: 600; line-height: 1.4; color: var(--text); white-space: nowrap; }

.plate {
  background: transparent;
  border-radius: 8px;
  padding: 10px;
  display: inline-flex;
  flex-shrink: 0;
}
html[data-theme="dark"] .plate { background: var(--plate); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .plate { background: var(--plate); }
}
.plate img { display: block; width: 40px; height: auto; }

.header-controls { display: flex; align-items: center; gap: 24px; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 16px; }
.nav-list a {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 8px;
  border: 2px solid transparent;
  border-radius: 8px;
}
.nav-list a[aria-current="page"] {
  background: var(--surface-alt);
  color: var(--text);
  border-color: var(--border);
}

/* Appearance control (B-02) */
.appearance { border: 0; margin: 0; padding: 0; display: none; }
html.js .appearance { display: block; }
.appearance legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.appearance .choices { display: flex; gap: 4px; }
.appearance label {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--link);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px 10px;
  cursor: pointer;
  background: var(--surface);
}
.appearance label:hover { background: var(--surface-alt); }
.appearance label:has(> input:checked) {
  background: var(--surface-alt);
  color: var(--text);
}
.appearance input { margin: 0 6px 0 0; accent-color: var(--link); }
.appearance input:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

/* Menu button (mobile; functional only with JS) */
.menu-button { display: none; }
html.js .menu-button {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--link);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
html.js .menu-button:hover { background: var(--surface-alt); }
@media (min-width: 768px) { html.js .menu-button { display: none; } }

/* Mobile header */
@media (max-width: 767.98px) {
  .header-inner { flex-wrap: wrap; }
  .identity-name { font-size: 20px; }
  .plate img { width: 32px; }
  html.js .header-controls { display: none; }
  html.js .header-controls.open {
    display: block;
    flex-basis: 100%;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
  }
  html.js .header-controls.open .nav-list { flex-direction: column; align-items: flex-start; }
  html.js .header-controls.open .appearance { margin-top: 12px; }
  html.js .header-controls.open .appearance .choices { flex-direction: column; align-items: flex-start; }
}

/* Main structure */
main { padding-block: 64px; }
.section + .section { margin-top: 64px; }
@keyframes none {}

/* Footer */
.site-footer { background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-block: 24px; }

/* CTA (approved enquiry action) */
.cta {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.cta:hover { background: var(--primary-hover); color: var(--on-primary); }

/* Hero */
.hero .lede { margin-top: 24px; }
.hero .release-note { margin-top: 24px; background: var(--info-fill); color: var(--info-text); padding: 12px 16px; border-radius: 8px; font-size: 16px; line-height: 1.5; font-weight: 400; display: inline-block; }
.hero .cta-row { margin-top: 32px; }

/* Product lockups (F-01, B-04) */
.lockup { display: flex; align-items: center; gap: 0 0; }
.lockup .plate { padding: 14px; margin-right: 12px; }
.lockup .plate img { width: 56px; }
.lockup .names { display: flex; flex-direction: column; }
.lockup .name { font-weight: 600; line-height: 1.25; }
.lockup .endorsement { font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.lockup.lockup-tcc .name { color: var(--accent-tcc); }
.lockup.lockup-kcc .name { color: var(--accent-kcc); }
.lockup.lockup-pcc .name { color: var(--accent-pcc); }
.lockup-lg .name { font-size: 30px; }
.lockup-sm .name { font-size: 24px; }

/* Home product cards */
.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card .card-text { font-size: 16px; line-height: 1.6; }
.card .status { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text); }
.card .card-link { margin-top: auto; font-size: 16px; font-weight: 600; line-height: 1.4; }

/* Solutions sections */
.product-section { padding-top: 8px; }
.product-section > .lockup { margin-bottom: 24px; }
.product-section .status { margin-top: 12px; }
.product-section figure { margin-top: 40px; }
.product-section h3 { margin-top: 40px; }
.product-section > figure:last-child { margin-bottom: 0; }
.section-rule { border: 0; border-top: 1px solid var(--border); margin: 64px 0 0; }

.status { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text); }

/* Figures (B-07 image rules, contract framing) */
figure { margin: 0; }
.figure-frame { background: #FFFFFF; border-radius: 8px; padding: 8px; }
.figure-frame img { display: block; width: 100%; height: auto; border-radius: 4px; }
figure .disclosure {
  display: inline-block;
  margin-top: 16px;
  background: var(--info-fill);
  color: var(--info-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  padding: 4px 10px;
  border-radius: 8px;
}
figcaption { margin-top: 12px; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--muted); max-width: 65ch; }
.qualification { margin-top: 8px; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--text); max-width: 65ch; }

/* Held-imagery notice (contract held component; B-06 warning pair) */
.hold-notice {
  background: var(--warn-fill);
  color: var(--warn-text);
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 65ch;
}
.hold-notice .hold-title { display: block; font-weight: 600; }

/* Contact */
.contact-recipient { margin-top: 16px; font-size: 16px; line-height: 1.5; }

@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  main { padding-block: 40px; }
  .section + .section { margin-top: 40px; }
  .section-rule { margin-top: 40px; }
  .cards { grid-template-columns: 1fr; }
  .lockup .plate { padding: 11px; }
  .lockup .plate img { width: 44px; }
  .lockup-lg .name { font-size: 24px; }
  .lockup-sm .name { font-size: 22px; }
  .product-section figure { margin-top: 32px; }
  .hero .release-note { font-size: 16px; }
}
