/* FERROVITOS — colours and type from the cover of the Bio Vitos investor pack (Oct 2026). */
:root {
  --navy: #14263d;
  --navy-2: #1d3350;
  --copper: #c37143;
  --copper-soft: #e0a27f;
  --ink: #14263d;
  --text: #2a3a4e;
  --muted: #5b6878;
  --line: #cad2db;
  --panel: #eef2f5;
  --on-navy: #dae2ea;
  --on-navy-muted: #9aa8b8;
  --white: #ffffff;
  --serif: "DejaVu Serif", Georgia, "Times New Roman", serif;
  --sans: "DejaVu Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 16px/1.65 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(20, 38, 61, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(218, 226, 234, 0.12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { font: 400 20px/1 var(--serif); letter-spacing: 0.06em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--on-navy); text-decoration: none; }
.nav a:hover { color: var(--white); }
.nav .lang { border: 1px solid rgba(218, 226, 234, 0.35); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }
.nav .lang:hover { border-color: var(--copper); }
@media (max-width: 860px) { .nav a:not(.lang) { display: none; } }

/* Hero: the investor-pack cover */
.cover { background: var(--navy); color: var(--on-navy); }
.cover .wrap { padding-top: 88px; padding-bottom: 72px; }
.eyebrow { margin: 0; color: var(--copper); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.rule { width: 86px; height: 3px; background: var(--copper); margin: 34px 0 40px; border: 0; }
.cover h1 { margin: 0; color: var(--white); font: 400 clamp(36px, 11.5vw, 84px)/1.02 var(--serif); letter-spacing: 0.02em; }
.cover .sub { margin: 30px 0 0; color: var(--white); font-weight: 700; font-size: clamp(28px, 4.6vw, 42px); line-height: 1.15; }
.cover .lines { margin: 22px 0 0; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; color: var(--on-navy); }
.cover .tag { margin: 56px 0 0; font-size: 17px; color: var(--on-navy); }
.cover hr.thin { border: 0; border-top: 1px solid rgba(218, 226, 234, 0.28); margin: 22px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; }
.stats b { display: block; color: var(--white); font-size: clamp(30px, 4.4vw, 38px); line-height: 1.1; }
.stats span { display: block; margin-top: 10px; color: var(--copper); font-size: 14px; }
.cover .meta { margin: 48px 0 0; font-size: 14px; color: var(--white); }
.cover .note { margin: 12px 0 0; font-size: 13px; color: var(--on-navy-muted); max-width: 720px; }
.cover .url { margin: 36px 0 0; font-size: 14px; color: var(--copper); }

/* Content sections: the inner pages of the pack */
section.page { padding: 76px 0; border-bottom: 1px solid var(--line); }
section.page:nth-of-type(even) { background: #fbfcfd; }
.num { margin: 0; color: var(--copper); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
h2 { margin: 12px 0 0; color: var(--ink); font-weight: 800; font-size: clamp(24px, 7.4vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.lead { margin: 16px 0 0; max-width: 780px; color: var(--muted); font-size: 19px; line-height: 1.55; }
h3 { margin: 34px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.3; }
p { margin: 0 0 14px; }
.body { max-width: 780px; margin-top: 24px; }
.cols { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 860px) { .cols.two { grid-template-columns: 1fr 1fr; } .cols.three { grid-template-columns: repeat(3, 1fr); } }

/* Tables in the pack style */
table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15px; }
thead th { background: var(--navy); color: var(--white); text-align: left; font-weight: 700; font-size: 14px; padding: 14px 16px; vertical-align: top; }
tbody td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: var(--panel); }
td.name { color: var(--ink); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; left: -9999px; }
  tbody tr { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
  tbody td { border-bottom: 0; padding: 8px 14px; }
  tbody tr:nth-child(even) td { background: transparent; }
  tbody td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  td.name { background: var(--panel) !important; white-space: normal; }
  td.name::before { display: none; }
}

/* Callout with the copper edge */
.callout { margin-top: 30px; background: var(--panel); border-left: 4px solid var(--copper); padding: 20px 22px; max-width: 880px; }
.callout strong { display: block; color: var(--ink); margin-bottom: 6px; }
.callout p { margin: 0; font-size: 15px; }

/* Cards */
.card { border-top: 3px solid var(--copper); background: var(--white); padding: 20px 2px 4px; }
.card .k { color: var(--copper); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.card h3 { margin-top: 6px; }
.card p { font-size: 15px; color: var(--text); }

/* Group structure */
.group { display: grid; gap: 0; margin-top: 34px; max-width: 760px; }
.entity { border: 1px solid var(--line); background: var(--white); padding: 18px 20px; }
.entity.parent { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.entity.parent b { color: var(--white); }
.entity b { display: block; color: var(--ink); font-size: 18px; }
.entity small { display: block; margin-top: 4px; font-size: 14px; }
.entity.parent small { color: var(--on-navy); }
.link { width: 2px; height: 28px; background: var(--copper); margin-left: 32px; }
.entity.child { border-left: 4px solid var(--copper); }

/* Team */
.team { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { border: 1px solid var(--line); padding: 22px; background: var(--white); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--copper-soft); display: grid; place-items: center; font: 400 20px/1 var(--serif); letter-spacing: 0.04em; }
.person b { display: block; margin-top: 16px; color: var(--ink); font-size: 17px; }
.person .role { display: block; margin-top: 4px; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.person p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--on-navy); }
.contact h2 { color: var(--white); }
.contact .lead { color: var(--on-navy); }
.button { display: inline-block; margin-top: 28px; background: var(--copper); color: var(--white); text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 3px; }
.button:hover { background: #ad5f33; }
.contact .lines-small { margin-top: 18px; font-size: 14px; color: var(--on-navy-muted); }

/* Footer */
footer { background: #0e1c2e; color: var(--on-navy-muted); font-size: 13px; padding: 40px 0 48px; }
footer .brand span { font-size: 18px; }
footer p { margin: 10px 0 0; max-width: 820px; }
footer .fine { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(218, 226, 234, 0.14); }
footer a { color: var(--on-navy); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top { position: static; } section.page { break-inside: avoid; } }
.source { font-size: 14px; color: var(--muted); }
.aside { font-size: 15px; color: var(--muted); }

/* Photos: DR VITOS photographs turned into navy duotone (no green) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; } }
.photo { margin: 0; }
.photo img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.cover .photo img {
  max-height: 640px; object-fit: cover; object-position: center 35%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 38%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
  mask-composite: intersect;
}
@media (max-width: 959px) { .cover .photo img { max-height: 300px; } }
.split { display: grid; gap: 36px; margin-top: 8px; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } .split .photo { margin-top: 30px; } }
.split.narrow-photo .photo { max-width: 360px; justify-self: center; }
@media (min-width: 960px) { .hero h1 { font-size: clamp(46px, 5.6vw, 76px); } }
h2, h3, .lead, .sub, .stats span, td, .person b, .entity b { overflow-wrap: break-word; hyphens: auto; }
section[id] { scroll-margin-top: 72px; }
.team-group { margin: 40px 0 0; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.team-group + .team { margin-top: 16px; }
@media (min-width: 1000px) { .team.wide { grid-template-columns: repeat(3, 1fr); } }
.person .contrib { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); }
.person .contrib span { display: block; color: var(--copper); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
