/* Winchline website: one light look (white, black text), Roboto served from the site itself. */

@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Condensed Bold"; src: url("fonts/Roboto-BoldCondensed.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #000;
  --muted: #2b2b2b;
  --red: #c4101f;        /* text and buttons on white (contrast 6:1) */
  --red-bright: #e22e2e; /* bars and the logo */
  --line: #dcdcdc;
  --soft: #f4f4f2;
  --bg: #fff;
  --max: 1180px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: #8f0a16; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font: 700 clamp(28px, 4vw, 40px)/1.1 "Roboto Condensed Bold", "Roboto", sans-serif; letter-spacing: .01em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* One language a page (tools/build_website.py writes / and /de/ from website/src) */
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 700 24px/1 "Roboto Condensed Bold", "Roboto", sans-serif; letter-spacing: .12em; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; }
.nav a:hover { color: var(--red); }
@media (min-width: 960px) { .nav { display: flex; } }
.lang { margin-left: auto; display: flex; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
@media (min-width: 960px) { .lang { margin-left: 8px; } }
.lang a {
  font: 700 14px/1 "Roboto", sans-serif; padding: 8px 11px; background: #fff; color: var(--ink); text-decoration: none;
}
.lang a:hover { background: var(--soft); color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Hero: the picture, then a white card over its lower edge */
.hero { position: relative; background: #dfe7ee; }
.hero picture img { width: 100%; height: min(78vh, 56.25vw); min-height: 300px; object-fit: cover; object-position: 30% 15%; }
/* Phones: their own picture (hero-m, 4:5, the helicopter in the middle), as tall as the screen allows */
@media (max-width: 699px) {
  .hero picture img { height: min(125vw, 66vh); min-height: 0; object-position: 50% 40%; }
}
.hero-card {
  position: relative; background: #fff; padding: 26px var(--gutter) 6px;
}
.hero-card .bar { width: 64px; height: 6px; background: var(--red-bright); margin-bottom: 18px; }
.hero-card h1 { margin: 0; font: inherit; }
.hero-card h1 .name { display: block; font: 700 clamp(48px, 9vw, 78px)/.9 "Roboto Condensed Bold", "Roboto", sans-serif; letter-spacing: .08em; }
.hero-card h1 .region, .hero-card h1 .tagline { display: block; }
.hero-card .region { font: 700 clamp(22px, 3.2vw, 30px)/1.2 "Roboto", sans-serif; color: var(--red); margin: 10px 0 16px; letter-spacing: .02em; }
.hero-card .pitch { font-size: clamp(19px, 2.2vw, 22px); max-width: 30em; margin-bottom: 6px; }
@media (min-width: 900px) {
  .hero-card {
    position: absolute; right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); bottom: 40px;
    width: 520px; padding: 30px 34px 26px; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  }
}
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 6px;
  font: 700 17px/1.2 "Roboto", sans-serif; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: #fff;
}
.btn:hover { background: var(--soft); color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #a00c18; border-color: #a00c18; color: #fff; }
.btn.soon { border-style: dashed; color: var(--muted); cursor: default; }
.btn.soon:hover { background: #fff; }

/* Numbers */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
@media (min-width: 800px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts b { display: block; font: 700 clamp(28px, 4vw, 40px)/1 "Roboto Condensed Bold", "Roboto", sans-serif; }
.facts span { font-size: 16px; color: var(--muted); }

/* Intro */
.intro { padding: 56px 0 20px; }
.intro .lead { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.5; max-width: 40em; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.kinds li { border: 1px solid var(--ink); border-radius: 999px; padding: 4px 13px; font-size: 16px; }

/* Features: text beside its pictures, sides alternating */
.feature { padding: 48px 0; border-top: 1px solid var(--line); }
.feature .wrap { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) {
  .feature .wrap { grid-template-columns: 5fr 7fr; gap: 48px; }
  .feature.flip .text { order: 2; }
}
.feature .kicker { font: 700 14px/1 "Roboto", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.feature ul { padding-left: 1.2em; margin: 0 0 1em; }
.feature li { margin: 0 0 .35em; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shots figure { margin: 0; }
.shots figure:first-child { grid-column: 1 / -1; }
.shots.two figure:first-child { grid-column: auto; }
.shot {
  display: block; width: 100%; padding: 0; border: 0; background: #ddd; cursor: zoom-in; border-radius: 4px; overflow: hidden;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.025); }
.shot:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* Story missions as cards */
.cards { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { border: 1px solid var(--line); border-left: 5px solid var(--red-bright); padding: 12px 16px; border-radius: 4px; background: #fff; }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Gallery */
.gallery { padding: 56px 0; background: var(--soft); border-top: 1px solid var(--line); }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 20px; }

/* Follow */
.follow { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.follow .wrap { display: grid; gap: 30px; }
@media (min-width: 900px) { .follow .wrap { grid-template-columns: 7fr 5fr; gap: 48px; } }
.status { border: 2px solid var(--ink); border-radius: 6px; padding: 20px 22px; }
.status h3 { margin-bottom: 10px; }
.status ul { margin: 0; padding-left: 1.2em; }

/* Footer */
footer { background: var(--soft); border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: 15px; color: var(--muted); }
footer p { margin: 0 0 .7em; max-width: 60em; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; font-size: 16px; font-weight: 700; }

/* Picture viewer */
dialog.viewer {
  border: 0; padding: 0; background: #000; color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none;
}
dialog.viewer::backdrop { background: rgba(0, 0, 0, .9); }
.viewer .frame { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; }
.viewer img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.viewer p { color: #fff; margin: 12px 0 0; font-size: 16px; text-align: center; max-width: 50em; }
.viewer button {
  position: absolute; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px;
  font: 700 22px/1 "Roboto", sans-serif; width: 48px; height: 48px; cursor: pointer;
}
.viewer button:hover { background: rgba(255, 255, 255, .2); }
.viewer .close { top: 10px; right: 10px; }
.viewer .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.viewer .next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Legal page */
.legal { padding: 40px 0 60px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font: 700 clamp(32px, 5vw, 44px)/1.1 "Roboto Condensed Bold", "Roboto", sans-serif; }
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal h3 { margin-top: 1.4em; }
.fill { background: #fff3a8; padding: 0 4px; border-radius: 3px; }

/* ---- Second look (2026-12-02, after the Flight Simulator 2024 page): carousel, capitalised themed sections ---- */

/* Picture carousel under the hero: one big picture at a time, its neighbours peeking in */
.carousel { position: relative; background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 0 18px; }
.carousel .track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 calc((100% - min(1100px, 86vw)) / 2); scrollbar-width: none;
}
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 min(1100px, 86vw); margin: 0; scroll-snap-align: center; }
.carousel .slide .shot img { aspect-ratio: 16 / 9; }
.carousel figcaption { font-size: 16px; color: var(--muted); margin-top: 10px; text-align: center; }
.carousel .cbtn {
  position: absolute; top: calc(28px + min(1100px, 86vw) * 9 / 32); transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, .94);
  font: 700 28px/1 "Roboto", sans-serif; color: var(--ink); cursor: pointer; z-index: 2;
}
.carousel .cbtn:hover { background: #fff; color: var(--red); border-color: var(--red); }
.carousel .cprev { left: max(8px, calc((100% - min(1100px, 86vw)) / 2 - 26px)); }
.carousel .cnext { right: max(8px, calc((100% - min(1100px, 86vw)) / 2 - 26px)); }
.carousel .dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel .dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.carousel .dots button[aria-current="true"] { background: var(--red); border-color: var(--red); }
@media (max-width: 699px) { .carousel .cbtn { width: 42px; height: 42px; font-size: 22px; } }

/* The overview under the carousel */
.overview { padding: 56px 0 24px; }
.overview .label { font: 700 15px/1 "Roboto", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.overview .lead { font-size: clamp(20px, 2.3vw, 23px); line-height: 1.55; max-width: 46em; }

/* Themed sections: a big capitalised title over bulleted paragraphs with bold key terms, pictures beside */
.theme { padding: 52px 0 44px; border-top: 1px solid var(--line); }
.theme h2 {
  font: 700 clamp(30px, 4.6vw, 48px)/1.05 "Roboto Condensed Bold", "Roboto", sans-serif;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 26px; padding-top: 18px; position: relative;
}
.theme h2::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 6px; background: var(--red-bright); }
.theme .body { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) {
  .theme .body { grid-template-columns: 7fr 5fr; gap: 48px; }
  .theme.flip .body { grid-template-columns: 5fr 7fr; }
}
.points { margin: 0; padding-left: 1.15em; }
.points li { margin: 0 0 1.1em; padding-left: .2em; line-height: 1.6; }
.points li::marker { color: var(--red); }
.points b { font-weight: 700; color: var(--ink); }
.theme .shots { position: sticky; top: 84px; }

/* Hero card lines: the promise, the pitch, who makes it */
.hero-card .tagline { font: 700 clamp(24px, 2.7vw, 30px)/1.15 "Roboto Condensed Bold", "Roboto", sans-serif; margin: 0 0 10px; max-width: 18em; }
.hero-card .pitch { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; }
.hero-card .byline { font-size: 15px; color: var(--muted); margin: 0; }
.hero-card .region { margin-bottom: 12px; }

/* Facts between the overview and the first section */
.facts { border-top: 1px solid var(--line); }
.facts + .theme { border-top: 0; }

/* Themed sections: pictures first when flipped; the story section's text column */
@media (min-width: 960px) { .theme.flip .body .shots { order: -1; } .theme.flip .body .points { order: 0; } }
.theme .text > p { font-size: 18px; line-height: 1.6; }
.follow h2 {
  font: 700 clamp(30px, 4.6vw, 48px)/1.05 "Roboto Condensed Bold", "Roboto", sans-serif;
  text-transform: uppercase; letter-spacing: .02em; padding-top: 18px; position: relative; margin-bottom: 18px;
}
.follow h2::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 6px; background: var(--red-bright); }

/* Questions and answers */
.faq .qa-list { max-width: 900px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font: 700 19px/1.35 "Roboto", sans-serif;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 700 26px/1 "Roboto", sans-serif; color: var(--red); }
.qa[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--red); }
.qa summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.qa p { margin: 0 0 18px; max-width: 46em; }
