:root { --bg: #111514; --panel: #1b211e; --ink: #f2f3ef; --muted: #aab1aa; --line: #343d37; --accent: #55c1ee; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0px; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip { position: fixed; top: -100px; left: 20px; background: var(--ink); color: var(--bg); padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }
header { height: 100px; padding: 0px 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; background: rgb(17, 21, 20); }
.brand { display: flex; align-items: center; gap: 13px; font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: 2px; }
.brand-symbol { font-size: 42px; font-weight: 500; color: var(--accent); line-height: 1; border-right: 1px solid rgb(80, 86, 79); padding-right: 15px; }
.brand-bottom { display: block; font-size: 12px; letter-spacing: 4.3px; margin-top: 7px; }
nav { display: flex; gap: 36px; }
nav a, .nav-contact { font-size: 14px; }
.nav-contact { border: 1px solid rgb(88, 96, 90); padding: 10px 18px; }
.nav-contact span { margin-left: 25px; }
nav a:hover, footer a:hover { color: var(--accent); }
.hero { position: relative; min-height: 690px; overflow: hidden; display: flex; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0px; }
.hero-image { background: url("https://ytsab-defence.daniel-kargrad.chatgpt.site/hero.webp") right center / cover no-repeat rgb(25, 30, 27); }
.hero-shade { background: linear-gradient(90deg, rgba(9, 14, 11, 0.97), rgba(9, 14, 11, 0.75) 37%, rgba(9, 14, 11, 0.05) 75%), linear-gradient(0deg, rgb(17, 21, 20) 0%, transparent 30%); }
.hero-content { position: relative; padding: 60px 5% 125px; width: 100%; }
.eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 600; margin: 0px 0px 27px; color: var(--accent); }
h1 { font-size: clamp(64px, 7.7vw, 116px); font-weight: 400; letter-spacing: -5px; line-height: 1.02; margin: 0px 0px 28px; }
h1 em { font-style: normal; color: var(--accent); }
.hero-description { font-size: 19px; line-height: 1.6; color: rgb(209, 212, 205); margin-bottom: 36px; }
.button { display: inline-flex; gap: 45px; background: var(--accent); color: rgb(23, 27, 23); padding: 16px 22px; font-size: 14px; font-weight: 600; }
.button:hover { background: rgb(133, 215, 247); }
.hero-foot { position: absolute; bottom: 26px; left: 5%; right: 5%; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.19); padding-top: 24px; gap: 20px; font-size: 12px; letter-spacing: 1.5px; color: rgb(185, 192, 184); }
.hero-foot span span { margin-left: 25px; }
.intro-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 5%; border-bottom: 1px solid var(--line); color: rgb(197, 203, 195); font-size: 14px; }
.intro-strip span + span { border-left: 1px solid var(--line); padding-left: 30px; }
.section { padding: 104px 5%; scroll-margin-top: 15px; }
h2 { font-weight: 400; font-size: clamp(36px, 4vw, 58px); line-height: 1.1; letter-spacing: -2px; margin: 0px; }
h3 { line-height: 1.3; }
p { margin: 0px 0px 20px; }
.eyebrow span { color: rgb(138, 150, 140); margin-right: 15px; }
.technology, .about { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.large-copy { font-size: 25px; line-height: 1.45; letter-spacing: -0.4px; color: var(--ink); }
.tech-body > p:not(.large-copy), .about > div > p:not(.large-copy) { color: var(--muted); max-width: 580px; }
.principles { margin-top: 36px; }
.principles article { display: flex; gap: 25px; border-top: 1px solid var(--line); padding: 23px 0px; }
.principles article > span { color: var(--accent); font-size: 12px; padding-top: 5px; }
.principles h3 { font-size: 18px; margin: 0px 0px 7px; font-weight: 500; }
.principles p { color: var(--muted); font-size: 15px; margin: 0px; }
.programmes { background: rgb(232, 234, 227); color: rgb(24, 35, 27); }
.programme-top { display: flex; justify-content: space-between; align-items: end; gap: 10%; margin-bottom: 55px; }
.programmes .eyebrow { color: rgb(101, 91, 63); }
.programme-top > p { max-width: 370px; margin-bottom: 3px; color: rgb(81, 91, 82); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.project { border: 1px solid rgb(185, 192, 181); padding: 32px; display: flex; flex-direction: column; }
.project-meta { font-size: 12px; letter-spacing: 1px; display: flex; justify-content: space-between; color: rgb(94, 103, 92); }
.project h3 { font-size: 42px; letter-spacing: -1.5px; font-weight: 400; margin: 48px 0px 5px; }
.project-subtitle { font-weight: 600; font-size: 15px; }
.project > p:not(.project-subtitle) { color: rgb(83, 96, 80); max-width: 520px; }
.partners { border-top: 1px solid rgb(185, 192, 181); margin-top: auto; padding-top: 22px; min-height: 112px; }
.partners > span, .about-details span { font-size: 12px; letter-spacing: 1.5px; }
.partners p { font-size: 14px; margin: 8px 0px 22px; }
.project > a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; border-top: 1px solid rgb(185, 192, 181); padding-top: 20px; gap: 10px; }
.project > a:hover { text-decoration: underline; }
.about { border-bottom: 1px solid var(--line); }
.about-details { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 34px; gap: 20px; }
.about-details span { color: var(--muted); }
.about-details p { margin-top: 7px; }
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8%; background: rgb(29, 39, 31); }
.contact h2 { max-width: 650px; }
.contact-email { display: inline-block; font-size: clamp(23px, 3vw, 40px); color: var(--accent); margin-top: 35px; border-bottom: 1px solid rgb(66, 125, 148); }
.contact-email span { margin-left: 38px; }
.contact-details { padding-top: 40px; color: rgb(186, 198, 185); }
.contact-details address { font-style: normal; margin: 25px 0px; }
.contact-details > a { color: var(--ink); font-size: 14px; }
footer { padding: 35px 5%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer p, footer > span, footer > a:last-child { font-size: 12px; color: var(--muted); margin: 0px; }
footer .brand { transform: scale(0.8); transform-origin: left center; }
@media (min-width: 1600px) {
  header, .section, .intro-strip, footer { padding-left: max(5%, -720px + 50vw); padding-right: max(5%, -720px + 50vw); }
}
@media (max-width: 800px) {
  header { height: 86px; }
  nav { gap: 18px; }
  .nav-contact { display: none; }
  .brand { font-size: 18px; }
  .brand-symbol { font-size: 34px; }
  .brand-bottom { font-size: 10px; }
  .hero { min-height: 650px; }
  .hero-content { padding-top: 60px; }
  h1 { letter-spacing: -3px; }
  .hero-shade { background: linear-gradient(90deg, rgba(11, 16, 13, 0.867), rgba(11, 16, 13, 0.396)), linear-gradient(0deg, rgb(17, 21, 20), transparent 65%); }
  .hero-foot { font-size: 10px; }
  .hero-foot > span:last-child { display: none; }
  .technology, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 65px 6%; }
  .programme-top { display: block; }
  .programme-top > p { margin-top: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project h3 { margin-top: 35px; }
  .intro-strip { font-size: 12px; gap: 12px; }
  .intro-strip span + span { padding-left: 12px; }
  .contact-details { padding-top: 0px; }
  footer { flex-wrap: wrap; }
  footer .brand { width: 100%; }
}
@media (max-width: 450px) {
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  nav a:last-child { display: none; }
  .hero-description { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: 1.4px; }
  h1 { font-size: 62px; }
  .hero { min-height: 640px; }
  .project { padding: 24px; }
  .large-copy { font-size: 22px; }
  .about-details { grid-template-columns: 1fr; }
  .intro-strip { grid-template-columns: 1fr; padding: 20px 6%; gap: 8px; }
  .intro-strip span + span { border: 0px; padding: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.brand-emblem { display: block; width: 66px; height: 60px; overflow: hidden; flex: 0 0 auto; }
.brand-emblem img { display: block; width: 66px; height: auto; max-width: none; }
.brand { gap: 12px; letter-spacing: 2.5px; }
.brand-bottom { color: rgb(113, 203, 237); }
.ygun { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; background: rgb(16, 29, 38); border-top: 1px solid rgb(36, 64, 80); border-bottom: 1px solid rgb(36, 64, 80); }
.ygun-title h2 { font-size: clamp(80px, 10vw, 150px); font-weight: 600; letter-spacing: -6px; color: rgb(85, 193, 238); line-height: 1; }
.ygun-title h2 span { display: block; font-size: clamp(29px, 3.5vw, 47px); color: var(--ink); font-weight: 400; letter-spacing: -1.5px; line-height: 1.2; margin-top: 28px; }
.ygun-caption { font-size: 12px; letter-spacing: 2px; color: rgb(147, 169, 182); margin-top: 36px; }
.ygun-body { padding-top: 40px; }
.ygun-body > p:not(.large-copy) { color: rgb(183, 197, 206); }
.ygun-facts { margin: 32px 0px; }
.ygun-facts > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0px; border-top: 1px solid rgb(43, 66, 79); }
.ygun-facts dt { font-size: 12px; letter-spacing: 1.5px; color: rgb(144, 173, 190); }
.ygun-facts dd { margin: 0px; font-size: 15px; }
.video-link { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0px; color: rgb(121, 206, 241); border-bottom: 1px solid rgb(66, 125, 148); }
.video-link:hover { color: white; }
.hero-shade { background: linear-gradient(90deg, rgba(9, 14, 11, 0.97), rgba(9, 14, 11, 0.75) 37%, rgba(9, 14, 11, 0.05) 75%), linear-gradient(0deg, rgb(17, 21, 20) 0%, transparent 30%); }
@media (max-width: 800px) {
  .brand-emblem { width: 50px; height: 46px; }
  .brand-emblem img { width: 50px; }
  .ygun { grid-template-columns: 1fr; gap: 16px; }
  .ygun-body { padding-top: 0px; }
  nav { gap: 14px; }
}
@media (max-width: 450px) {
  header { gap: 12px; padding-left: 4%; padding-right: 4%; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-bottom { letter-spacing: 3px; }
  .brand-emblem { width: 40px; height: 37px; }
  .brand-emblem img { width: 40px; }
  nav { gap: 12px; }
  nav a { font-size: 12px; }
  .ygun-title h2 { letter-spacing: -4px; }
  .hero-shade { background: linear-gradient(90deg, rgba(11, 16, 13, 0.867), rgba(11, 16, 13, 0.396)), linear-gradient(0deg, rgb(17, 21, 20), transparent 65%); }
}
.ygun { gap: 48px 7%; }
.ygun-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: 2.15fr 1fr; gap: 24px; min-width: 0px; }
.ygun-gallery figure { margin: 0px; min-width: 0px; display: flex; flex-direction: column; overflow: hidden; }
.ygun-gallery img { display: block; width: 100%; height: auto; }
.ygun-profile { background: rgb(237, 240, 246); }
.ygun-profile img { aspect-ratio: 16 / 9; object-fit: contain; flex: 1 1 0%; min-height: 0px; }
.ygun-detail img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 58%; min-height: 0px; }
.ygun-gallery figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 15px 17px; background: rgb(21, 39, 49); color: rgb(180, 198, 209); font-size: 12px; line-height: 1.6; }
.ygun-gallery figcaption span { color: rgb(114, 203, 240); letter-spacing: 1.3px; }
.ygun-outdoors { grid-column: 1 / -1; }
.ygun-outdoors img { aspect-ratio: 2.4 / 1; object-fit: cover; object-position: center 62%; }
@media (max-width: 800px) {
  .ygun-gallery { gap: 18px; grid-template-columns: 1fr 1fr; }
  .ygun-profile { grid-column: 1 / -1; }
  .ygun-detail img { height: 100%; aspect-ratio: 4 / 5; object-position: center center; }
  .ygun-outdoors { grid-column: auto; }
  .ygun-outdoors img { height: 100%; aspect-ratio: 4 / 5; object-position: 65% center; }
  .ygun-gallery figcaption { display: block; flex: 0 0 auto; min-height: 80px; }
  .ygun-gallery figcaption span { display: block; margin-bottom: 4px; }
}
@media (max-width: 450px) {
  .ygun { row-gap: 32px; }
  .ygun-gallery { grid-template-columns: 1fr; }
  .ygun-profile { grid-column: auto; }
  .ygun-detail img { height: auto; aspect-ratio: 1 / 1; object-position: center 65%; }
  .ygun-outdoors img { height: auto; aspect-ratio: 1.35 / 1; object-position: 65% center; }
  .ygun-gallery figcaption { min-height: 0px; }
  .ygun-profile img { aspect-ratio: 16 / 9; }
}
/* Simulation & Production: follows the site's existing visual system. */
.simulation { background: var(--panel); border-top: 1px solid var(--line); }
.simulation-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7%; align-items: end; margin-bottom: 44px; }
.simulation-intro > p:last-child { color: var(--muted); margin-bottom: 0; max-width: 570px; }
.simulation-video { margin: 0; border: 1px solid var(--line); background: #080c0c; }
.simulation-player { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.simulation-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.simulation-video figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 23px; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.simulation-video figcaption a { color: var(--accent); white-space: nowrap; }
.simulation-video figcaption a:hover { text-decoration: underline; }
.simulation-contact { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 26px; }
.simulation-contact p { margin: 0; color: var(--muted); }
.simulation-contact .video-link { min-width: 190px; }
header nav { gap: clamp(16px, 2.2vw, 32px); }
@media (max-width: 1050px) {
 header { height: auto; min-height: 100px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 16px; }
 header nav { order: 3; width: 100%; flex-wrap: wrap; gap: 10px 24px; }
 header nav a { font-size: 14px; }
 header .nav-contact { margin-left: auto; }
}
@media (max-width: 800px) {
 .simulation-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
 .simulation-contact { flex-direction: column; align-items: stretch; gap: 8px; }
 .simulation-contact .video-link { width: fit-content; gap: 40px; }
}
@media (max-width: 450px) {
 header nav a:last-child { display: inline; }
 header nav { gap: 10px 18px; }
 header nav a { font-size: 12px; }
 .simulation-video figcaption { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; font-size: 11px; }
}

/* Ygun films: paired players, stacked on smaller screens. */
.ygun-films { grid-column: 1 / -1; min-width: 0; scroll-margin-top: 120px; }
.ygun-films-heading { margin-bottom: 28px; }
.ygun-films-heading h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -1px; margin: 12px 0 0; }
.ygun-film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ygun-film { margin: 0; min-width: 0; background: #0b151d; border: 1px solid #2b424f; overflow: hidden; }
.ygun-film figcaption { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ygun-film h4 { font-size: 18px; font-weight: 500; margin: 0; }
.ygun-film figcaption a { font-size: 14px; color: #72cbf0; text-underline-offset: 5px; }
@media (max-width: 800px) { .ygun-film-grid { grid-template-columns: 1fr; } .ygun-film figcaption { padding: 18px; } }
