/* Simple red, black and white identity from the Sim Your Plane logo. */
:root { --ink:#171719; --paper:#fff; --paper2:#f6f6f6; --muted:#606067; --signal:#c4162b; --line:#e3e3e5; --page:min(1180px,calc(100% - 80px)); }
body { font:16px/1.6 'Segoe UI',Arial,sans-serif; }
html { scroll-behavior:auto; scroll-padding-top:20px; }
h1,h2,h3 { font-family:'Segoe UI',Arial,sans-serif; font-style:normal; text-transform:none; font-weight:600; letter-spacing:-.025em; line-height:1.2; }
h1 { font-size:clamp(36px,4.2vw,54px); }
h2 { font-size:30px; margin-bottom:22px; }
h3 { font-size:24px; }
.site-header,.site-header.on-paper,.site-header.is-scrolled { position:relative; inset:auto; height:82px; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); backdrop-filter:none; }
.brand { font-size:16px; letter-spacing:0; gap:12px; }
.brand img { width:94px; height:53px; background:white; border-radius:0; padding:0; }
.site-nav { font-size:15px; gap:28px; }
.nav-contact { font-size:15px; font-weight:600; padding:0 0 2px; }
.button { border-radius:0; clip-path:none; background:var(--signal); color:white; text-transform:none; letter-spacing:0; font-size:15px; }
.button:hover { background:#a70e21; }
.text-link { font-size:15px; font-weight:600; padding-bottom:3px; border-color:#aaa; }
.simple-intro { padding:48px 0 34px; }
.simple-intro h1 { max-width:860px; margin:0 0 20px; }
.simple-intro p { max-width:720px; color:var(--muted); font-size:18px; margin:0; }
.section.compact-section { padding:22px 0 50px; }
.compact-section.tint { padding:38px 0; }
.service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px; }
.service-card { min-width:0; }
.service-image { display:block; }
.service-image img { aspect-ratio:2.5; object-fit:cover; object-position:center bottom; }
.service-card h2 { margin:22px 0 12px; font-size:28px; }
.service-card p { color:var(--muted); margin-bottom:18px; }
.simple-gallery,.geometry-gallery,.simulation-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.helix-gallery { grid-template-columns:1fr; max-width:900px; }
.simple-gallery figure,.geometry-gallery figure,.aircraft-shot { margin:0; min-width:0; }
.simple-gallery > figure > a:not(.shot-frame) { display:block; }
.simple-gallery > figure > a:not(.shot-frame) img { aspect-ratio:1.88; object-fit:contain; background:#eee; }
.shot-frame { display:block; position:relative; overflow:hidden; aspect-ratio:var(--shot-ratio); background:#101d2b; }
.shot-frame img { position:absolute; width:var(--shot-width); max-width:none; height:auto; left:var(--shot-left); top:var(--shot-top); }
.simple-gallery figcaption,.aircraft-shot figcaption,.geometry-gallery figcaption { display:block; margin:11px 0 0; padding:0; color:var(--muted); font-size:14px; }
.simple-gallery figcaption a { text-decoration:underline; }
.geometry-image { display:block; background:#101d2b; }
.geometry-image img { aspect-ratio:1.75; object-fit:contain; }
.simple-summary { display:grid; grid-template-columns:1fr 1fr; gap:60px; border-top:1px solid var(--line); padding-top:38px; }
.simple-summary h2 { font-size:27px; margin-bottom:16px; }
.simple-summary p,.simple-summary li { color:var(--muted); }
.simple-summary ul { padding-left:20px; margin:0; }
.simple-summary li { padding-left:3px; margin:9px 0; }
.plain-links { display:flex; flex-wrap:wrap; gap:22px; margin:24px 0 0; }
.plain-links a { text-decoration:underline; border:0; font-size:15px; }
.project-note { margin-top:26px; color:var(--muted); max-width:760px; }
.project-note a { text-decoration:underline; }
.contact-section { background:#f6f6f6; padding:40px 0; }
.contact-grid { grid-template-columns:1fr auto; gap:30px; align-items:center; }
.contact-section h2 { font:600 28px/1.2 'Segoe UI',Arial,sans-serif; letter-spacing:-.02em; margin:0 0 9px; }
.contact-section p { color:var(--muted); margin:0; }
.contact-email { margin:0; font-size:21px; }
.site-footer { background:#fff; color:var(--muted); padding:26px 0; }
.footer-top .brand { color:var(--ink); }
.footer-nav { font-size:13px; }
.footer-bottom { border-color:var(--line); font-size:12px; margin-top:18px; padding-top:16px; }
.page-intro { padding:48px 0 40px; }
.page-intro h1 { font-size:42px; }
@media(max-width:1080px) {
  .site-nav { top:82px; background:#fff; color:var(--ink); max-height:calc(100dvh - 82px); }
  .site-nav.is-open { font-size:16px; }
}
@media(max-width:760px) {
  :root { --page:calc(100% - 40px); }
  .site-header,.site-header.on-paper,.site-header.is-scrolled { height:74px; }
  .site-nav { top:74px; max-height:calc(100dvh - 74px); }
  .brand { font-size:14px; gap:10px; }
  .brand img { width:79px; height:46px; }
  .menu-toggle { padding:6px 12px; font-size:14px; }
  .simple-intro { padding:34px 0 28px; }
  .simple-intro h1 { font-size:36px; }
  .simple-intro p { font-size:17px; }
  .service-grid,.simple-gallery,.geometry-gallery,.simulation-gallery,.simple-summary,.contact-grid { grid-template-columns:1fr; gap:32px; }
  .service-card h2 { font-size:26px; margin-top:18px; }
  .section.compact-section { padding:12px 0 35px; }
  .compact-section.tint { padding:28px 0; }
  .simple-summary { padding-top:28px; }
  .contact-section { padding:30px 0; }
  .contact-grid { gap:20px; }
  .contact-section h2 { font-size:26px; }
  .contact-email { font-size:20px; justify-self:start; }
  .footer-top { gap:18px; }
  .page-intro { padding:34px 0 34px; }
  .page-intro h1 { font-size:36px; }
}
