:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eaf2f3;
  background: #08131c;
  font-synthesis: none;
  --accent: #53dbc9;
  --muted: #aebfc2;
  --line: #29404a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 5; background: var(--accent); color: #08131c; padding: 12px; }
.skip-link:focus { top: 10px; }
header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ffffff12; padding: 16px clamp(20px, 5vw, 80px); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.035em; font-size: 23px; }
.brand img { display: block; }
.brand-block { display: flex; align-items: center; gap: 16px; }
.header-version { color: #d0e0e4; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; padding: 5px 9px; border: 1px solid #41606b; border-radius: 5px; }
.language-switch { display: flex; gap: 5px; }
.language-switch button { cursor: pointer; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; font-size: 12px; }
.language-switch button[aria-pressed="true"] { color: #08131c; background: var(--accent); border-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 22px; }
.account-controls { display: flex; align-items: center; gap: 8px; }
.account-user { color: #bdf5ed; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.account-button { cursor: pointer; background: transparent; border: 1px solid #3b5661; border-radius: 6px; padding: 9px 12px; color: #d2e3e7; font-size: 12px; }
.account-button:hover { border-color: var(--accent); }
.account-signup { background: #153740; color: #bdf5ed; border-color: #39645f; }
#account-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; background: #101f29; color: #eaf2f3; border: 1px solid #41606b; border-radius: 12px; box-shadow: 0 25px 80px #00000060; }
#account-dialog::backdrop { background: #030b12b8; }
#account-dialog h2 { margin: 0 0 16px; font-size: 28px; }
#account-dialog > p:not(.eyebrow) { color: #b3c7cf; font-size: 15px; line-height: 1.7; }
.account-close { position: absolute; top: 12px; right: 12px; cursor: pointer; color: #aebfc2; background: transparent; border: 0; border-radius: 5px; padding: 4px 10px; font-size: 26px; }
#account-form { display: grid; gap: 16px; margin-top: 22px; }
#account-form label { display: grid; gap: 8px; color: #c4d8dd; font-size: 13px; }
#account-form input { width: 100%; min-width: 0; background: #091924; color: #eaf2f3; border: 1px solid #41606b; border-radius: 6px; padding: 12px; font: inherit; font-size: 16px; }
#account-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#account-password-hint { color: #8fa6ae; font-size: 11px; }
#account-status { color: #a8ddd3; font-size: 13px; line-height: 1.6; margin: 0; }
#account-status[data-error="true"] { color: #f6b0a8; }
.account-submit { cursor: pointer; color: #08131c; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; padding: 12px; font: inherit; font-size: 14px; font-weight: 650; }
.account-submit:disabled { opacity: .5; cursor: default; }
.account-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; }
.account-links button { cursor: pointer; background: transparent; border: 0; padding: 0; color: #a7d6cf; font: inherit; font-size: 12px; text-align: left; }
.account-links button:hover { color: var(--accent); }
.account-feedback { margin: 0; padding: 12px clamp(20px, 5vw, 80px); background: #12332f; color: #bdf5ed; font-size: 13px; }
.wrap { max-width: 1500px; margin: auto; padding: 0 clamp(20px, 5vw, 80px); }
.hero { min-height: 650px; position: relative; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 65% 48%, #142a37, #08131c 65%); }
.hero-image { position: absolute; width: min(100%, 1580px); height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: contain; object-position: center; opacity: .95; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent); mask-composite: intersect; }
.hero::after { content: ""; position: absolute; inset: 0; max-width: 1800px; margin: auto; background: linear-gradient(90deg, #08131cee 4%, #08131cdd 24%, #08131c55 48%, transparent 76%); pointer-events: none; }
.hero-copy { width: 100%; position: relative; z-index: 1; padding-top: 65px; padding-bottom: 65px; }
.eyebrow { color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 750; margin: 0 0 18px; }
.hero h1 { max-width: 690px; font-size: clamp(44px, 4.7vw, 68px); line-height: 1.07; letter-spacing: -.052em; margin: 0; white-space: pre-line; }
.hero .intro { font-size: 17px; line-height: 1.7; color: #c0cfd2; max-width: 535px; margin: 24px 0 28px; }
.hero-note { color: #99b0b7; font-size: 12px; line-height: 1.5; margin: 18px 0 0; }
#catalogue { scroll-margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 64px 0 28px; }
.section-heading h2 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.04em; margin: 0; max-width: 650px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading > p { color: #a1b5bb; max-width: 385px; line-height: 1.65; font-size: 14px; margin: 0; }
.category-key { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 24px; }
[data-category="automotive"] { --category: #53dbc9; }
[data-category="mechanics"] { --category: #ebba73; }
.category { display: inline-flex; align-items: center; gap: 8px; color: #bbccd0; font-size: 12px; }
.category::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--category); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .future-card { background: radial-gradient(ellipse at 65% 12%, #1e354145, transparent 60%), linear-gradient(150deg, #12232e, #0c1923); border: 1px solid var(--line); border-top: 2px solid var(--category); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: 0 18px 40px #00000012; }
.card:hover { border-color: #3f636a; border-top-color: var(--category); }
.card { scroll-margin-top: 30px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.availability { margin-left: auto; }
.project-version { color: #c4d7de; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; white-space: nowrap; padding: 3px 6px; border: 1px solid #3a535e; border-radius: 4px; }
.number { font-size: 13px; letter-spacing: .12em; color: var(--category); font-weight: 650; }
.availability { color: #adcbc7; font-size: 11px; border: 1px solid #3a5358; border-radius: 20px; padding: 4px 9px; }
.card-category { font-size: 10px; letter-spacing: .06em; color: var(--category); margin-bottom: 12px; }
.card h3, .future-card h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.23; letter-spacing: -.025em; margin: 0 0 15px; }
.card > p, .future-card > p { color: var(--muted); line-height: 1.7; font-size: 14px; margin: 0; }
.project-detail { margin: 20px 0 25px; font-size: 12px; color: #a5bcc2; }
.project-detail summary { cursor: pointer; width: fit-content; line-height: 1.5; }
.project-detail summary:hover { color: #d6f9f3; }
.project-detail p { line-height: 1.7; margin: 12px 0 0; }
.action { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: auto; padding-top: 17px; color: #d6f9f3; font-size: 13px; font-weight: 650; }
.action span:last-child { font-size: 20px; }
.action:hover { color: var(--accent); }
.planned { color: #b5b9c1; border-style: dashed; }
.future-note { color: #91a5af; font-size: 12px; padding-top: 25px; margin-top: auto; }
.method { margin-top: 82px; }
.method-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; padding: 0; margin: 0; list-style: none; }
.method-steps li { padding-top: 20px; border-top: 1px solid #35505a; }
.step-number { font-size: 12px; color: var(--accent); }
.method-steps h3 { font-size: 17px; font-weight: 650; margin: 15px 0 10px; }
.method-steps p { color: #a1b5bb; font-size: 13px; line-height: 1.7; margin: 0; max-width: 265px; }
.organisations { padding: 12px 0 72px; }
.organisation-group { max-width: 520px; margin-bottom: 12px; }
.organisation-summary { cursor: pointer; list-style: none; }
.organisation-summary::-webkit-details-marker { display: none; }
.disclosure-chevron { margin-left: auto; color: #a6c8d0; font-size: 24px; line-height: 1; transition: transform .2s; }
.organisation-group[open] .disclosure-chevron { transform: rotate(180deg); }
.institution-site { display: inline-block; margin: 12px 0 0 20px; color: #a8c6cd; font-size: 12px; }
.institution-site:hover { color: var(--accent); }
.department-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0 0 20px; padding-left: 14px; border-left: 1px solid #3b5861; }
.department-grid::before { content: ""; position: absolute; left: -1px; top: -12px; height: 12px; border-left: 1px solid #3b5861; }
.organisation-tile { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px; background: #101f29; border: 1px solid var(--line); border-radius: 8px; }
.organisation-tile:hover { border-color: #53847d; }
.organisation-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; background: #fff; border-radius: 7px; padding: 4px; }
.organisation-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.department-image { padding: 0; overflow: hidden; }
.department-image img { object-fit: cover; }
.organisation-copy { min-width: 0; }
.organisation-copy small { display: block; color: #8fa6ae; font-size: 11px; margin-bottom: 5px; }
.organisation-copy strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; }
.external-arrow { color: #8fa6ae; margin-left: auto; }
.about-project { max-width: 760px; margin-bottom: 48px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.about-project > summary { width: fit-content; cursor: pointer; }
.about-project > summary:hover, .about-project[open] > summary { color: var(--accent); }
.project-credits { margin-top: 16px; padding: 18px; background: #101f29; border: 1px solid var(--line); border-radius: 8px; }
.project-credits p { margin: 0 0 16px; }
.project-credits dl { margin: 0; }
.project-credits dt { color: #eaf2f3; font-size: 12px; font-weight: 650; }
.project-credits dd { margin: 4px 0 14px; }
.project-credits dd:last-child { margin-bottom: 0; }
.project-credits .credit-institution, .project-credits .credit-placeholder { display: block; }
.project-credits dl + p { margin-top: 16px; }
.project-credits .credit-copyright { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff12; padding: 24px clamp(20px, 5vw, 80px); color: #91a5af; font-size: 12px; line-height: 1.6; }
footer a:hover { color: var(--accent); }
.footer-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-version { color: #b4c8ce; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; }
@media (max-width: 1050px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .organisation-tile { min-height: 72px; }
  .section-heading { gap: 25px; }
  .hero { min-height: 580px; }
  .hero-image { opacity: .8; }
  .hero::after { background: linear-gradient(90deg, #08131cf5, #08131ca8 55%, #08131c30); }
}
@media (max-width: 650px) {
  header { min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
  header { flex-wrap: wrap; row-gap: 12px; }
  .header-tools { display: contents; }
  .language-switch { order: 1; }
  .account-controls { order: 2; width: 100%; justify-content: flex-end; }
  .account-button { padding: 7px 10px; }
  .brand { gap: 8px; font-size: 20px; }
  .brand-block { flex-direction: column; align-items: flex-start; gap: 5px; }
  .header-version { margin-left: 36px; font-size: 10px; padding: 3px 7px; }
  .brand img { width: 28px; height: 28px; }
  .language-switch button { padding: 8px; font-size: 11px; }
  .hero { min-height: 590px; align-items: flex-start; }
  .hero-image { width: clamp(100%, 148vw, 580px); height: auto; top: auto; bottom: 0; transform: translateX(-62%); opacity: .9; }
  .hero::after { background: linear-gradient(to bottom, #08131c 8%, #08131caa 44%, transparent 76%); }
  .hero-copy { margin-top: 0; margin-bottom: 0; padding-top: 46px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(33px, 8.3vw, 44px); }
  .hero .intro { font-size: 15px; max-width: 440px; margin-top: 22px; }
  .hero-note { font-size: 11px; max-width: 250px; }
  .section-heading { display: block; margin-top: 44px; }
  .section-heading > p { margin-top: 16px; max-width: 440px; }
  .category-key { gap: 12px 18px; }
  .category { font-size: 11px; }
  .cards { grid-template-columns: 1fr; }
  .card, .future-card { padding: 23px; }
  .card h3, .future-card h3 { font-size: 25px; }
  .method { margin-top: 55px; }
  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .organisation-tile { padding: 12px; gap: 10px; }
  .department-grid { grid-template-columns: 1fr; margin-left: 15px; padding-left: 14px; }
  .organisations { padding-bottom: 48px; }
  footer { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .disclosure-chevron { transition: none; } }
