/* Shared styles for per/facts detail pages: dark by default (Technology), body.light for Mobility */
:root {
  --ink: #171717;
  --paper: #faf9f6;
  --gold: #b58a4d;
  --on-dark: #efece6;
  --on-dark-muted: #8f8b84;
  --hair-dark: #2c2c2c;
  --pad: clamp(24px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--ink); color: var(--on-dark);
  font-weight: 300; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
.label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400; }
.gold { color: var(--gold); }

.nav { position: sticky; top: 0; z-index: 30; height: 64px; background: rgba(23, 23, 23, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nav .in { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; }
.nav img { height: 34px; display: block; }
.nav ul { list-style: none; display: flex; gap: 36px; font-size: 14px; font-weight: 400; letter-spacing: 0.01em; }
.nav ul a { color: rgba(239, 236, 230, 0.85); transition: color .3s; }
.nav ul a:hover { color: var(--gold); }
body.light .nav { background: rgba(250, 249, 246, 0.78); border-bottom-color: rgba(23, 23, 23, 0.06); }
body.light .nav ul a { color: rgba(23, 23, 23, 0.82); }

/* One-screen detail layout: intro on the left, details on the right */
main { flex: 1; width: 100%; position: relative; max-width: 1320px; margin: 0 auto; padding: 72px var(--pad) 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); column-gap: 72px; align-items: start; }
.back-wrap { position: absolute; top: 22px; right: var(--pad); }
.back { font-size: 22px; line-height: 1; color: var(--on-dark-muted); transition: color .3s, transform .3s; display: inline-block; }
.back:hover { color: var(--gold); transform: translateX(-3px); }

.intro { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.intro h1 { font-weight: 200; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 16px; }
.intro .tagline { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: var(--on-dark-muted); max-width: 26em; line-height: 1.5; }
.intro .lead { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hair-dark); font-size: 14px; line-height: 1.75; letter-spacing: 0.01em; color: var(--on-dark-muted); max-width: 28em; }
.lead-em { color: var(--on-dark); }
.tag { display: inline-block; margin-top: 16px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 6px 12px; align-self: flex-start; }

.features { grid-column: 2; grid-row: 1; margin-top: 34px; }
.features > .label { display: none; }
.features ul { list-style: none; border-top: 1px solid var(--hair-dark); }
.features li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--hair-dark); }
.features li h3 { font-weight: 300; font-size: 16px; letter-spacing: -0.005em; }
.features li p { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.65; }

.enquire { grid-column: 2; grid-row: 2; margin-top: 28px; display: flex; gap: 24px; align-items: baseline; }
.enquire .label { color: var(--gold); }
.enquire a { font-size: 17px; font-weight: 300; border-bottom: 1px solid var(--hair-dark); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.enquire a:hover { color: var(--gold); border-color: var(--gold); }

footer { padding: 40px var(--pad) 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--on-dark-muted); border-top: 1px solid var(--hair-dark); }
footer a { color: var(--on-dark); transition: color .3s; }
footer a:hover { color: var(--gold); }

/* Light variant (Mobility pages, like the light side of the home page) */
body.light { background: var(--paper); color: var(--ink); --on-dark-muted: #8a867f; --hair-dark: #e4e0d8; }
body.light footer a { color: var(--ink); }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 760px) {
  .nav { height: 56px; }
  .nav img { height: 28px; }
  .nav ul { gap: 18px; font-size: 13px; }
  main { display: block; padding: 64px var(--pad) 56px; }
  .features { margin-top: 36px; }
  .features li { grid-template-columns: 1fr; gap: 6px; }
  .enquire { flex-direction: column; gap: 10px; }
}
