/* CONGEXIN site. Brand blues come from the logo; layout rules follow the
   Jovaii practice: flush-left text, a 12-column grid, hairlines instead of
   boxes, one accent colour per screen, real photos, no web fonts. */

:root {
  --blue: #1f56b8;        /* logo deep blue, the one accent */
  --blue-mid: #3b7bd8;
  --aqua: #7cc8ef;        /* logo light blue, used sparingly */
  --ink: #0f2033;
  --ink-2: #33475b;
  --muted: #5d6f82;
  --line: #d9e2ec;
  --paper: #f3f6fa;
  --white: #fff;
  --wrap: 1240px;
  --gutter: 24px;
  --header: 84px;
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }

/* type */
.kicker, .label { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--blue); margin-bottom: 18px; }
.label::before { content: ""; display: block; width: 40px; height: 3px; background: var(--blue); margin-bottom: 14px; }
.label--light { color: var(--aqua); } .label--light::before { background: var(--aqua); }
.display { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; max-width: 22em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); margin-top: 24px; max-width: 34em; }
.body { color: var(--ink-2); max-width: 40em; margin-bottom: 16px; }
.small { font-size: 13px; color: var(--muted); margin-top: 16px; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }

/* actions */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none; border-radius: 2px; transition: background .15s; }
.button:hover { background: var(--ink); }
.button--small { min-height: 46px; padding: 0 22px; font-size: 17px; }
.link { color: var(--blue); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 60px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 22px; letter-spacing: .02em; }
.brand-text small { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 17px; font-weight: 600; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-color: var(--blue); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 12px; font-size: 16px; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--blue); }
.langs [aria-current] { font-weight: 700; color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* hero: the video is a 16:9 stage; the copy sits in its empty upper part and scales with the
   stage (cqw), so the composition is the same on every screen. If the screen is too short for a
   full-width 16:9 stage, the stage shrinks and the sides fade into the background. */
.hero { background: #03050a; color: var(--white); text-align: center; overflow: hidden; }
.hero-stage { position: relative; width: min(100%, calc((100vh - var(--header)) * 16 / 9)); min-width: 1100px; margin: 0 auto; container-type: inline-size; }
.hero-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #03050a; }
.hero-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 58%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(3,5,10,.78) 0%, rgba(3,5,10,.5) 60%, rgba(3,5,10,0) 100%); }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #03050a 0, rgba(3,5,10,0) 6%, rgba(3,5,10,0) 94%, #03050a 100%); }
.hero-copy { position: absolute; left: 0; right: 0; top: 5.2cqw; z-index: 2; padding: 0 24px; }
.hero .kicker { color: var(--white); font-size: clamp(14px, 1.05cqw, 20px); letter-spacing: .08em; margin-bottom: 1.3cqw; }
.hero .kicker::after { content: ""; display: block; width: 44px; height: 3px; background: var(--aqua); margin: .9cqw auto 0; }
.hero .display { font-size: clamp(34px, 3.5cqw, 68px); line-height: 1.14; max-width: 16em; margin: 0 auto; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero .lead { font-size: clamp(15px, 1.1cqw, 21px); line-height: 1.6; color: #dfe7ef; margin: 1.2cqw auto 0; max-width: 40em; }
.hero .actions { justify-content: center; gap: 24px; margin-top: 1.9cqw; }
.link--light { color: var(--white); }
.facts-strip { background: var(--white); }
.facts-strip .facts { margin-top: 0; border-top: 0; border-bottom: 1px solid var(--line); }
.facts-strip .facts > div { padding-top: 30px; }

/* product showcase tiles, after dji.com */
.section--tiles { padding-top: 96px; }
.center-head { text-align: center; }
.center-head .h2 { margin: 0 auto; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.show { background: var(--paper); display: flex; flex-direction: column; text-align: center; overflow: hidden; border-radius: 4px; }
.show-1 { grid-column: 1 / -1; background: #c3dbec; }
.show-text { padding: 44px 32px 24px; }
.show h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.show p { color: var(--ink-2); max-width: 32em; margin: 10px auto 0; font-size: 16px; }
.show .show-links { display: flex; justify-content: center; gap: 28px; margin-top: 18px; }
.show-media { margin-top: auto; padding: 8px 32px 40px; display: grid; place-items: center; }
.show-media img { max-height: 340px; width: auto; max-width: 100%; object-fit: contain; }
.show-1 .show-media img { max-height: 260px; }
.show-2 { background: #eef1f4; }
.show-3 { background: #e9f1f8; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 2px solid var(--ink); }
.facts > div { padding: 22px 24px 26px 0; border-right: 1px solid var(--line); }
.facts > div + div { padding-left: 24px; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--blue); line-height: 1.2; }
.facts dd { font-size: 14px; color: var(--muted); margin-top: 6px; }
.facts--compact { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
.facts--compact > div:nth-child(2n) { border-right: 0; }
.facts--compact > div:nth-child(2n+1) { padding-left: 0; }
.facts--compact > div:nth-child(n+3) { border-top: 1px solid var(--line); }

/* products page head: dark studio photo, centred copy */
.phero { background: #616461; color: var(--white); text-align: center; overflow: hidden; }
.phero-copy { padding-top: 40px; position: relative; z-index: 1; }
.phero .crumbs ol { justify-content: center; }
.phero .crumbs a, .phero .crumbs li { color: #e3e7eb; }
.phero .crumbs a:hover { color: var(--white); text-decoration: underline; }
.phero .crumbs [aria-current] { color: var(--white); }
.phero .crumbs li + li::before { color: #aab1b8; }
.phero .display { max-width: 16em; margin: 0 auto; font-size: clamp(34px, 4.6vw, 64px); }
.phero .lead { color: #e6ebef; margin: 20px auto 0; max-width: 36em; }
.phero .actions { justify-content: center; margin-top: 30px; }
.phero-image { width: 100%; max-width: 1600px; margin: -24px auto 0; aspect-ratio: 16 / 9; max-height: 78vh; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }

/* sub-page header with breadcrumbs */
.pagehead { background: var(--paper); padding: 40px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; max-width: 18em; border-left: 3px solid var(--blue); padding-left: 24px; }
.pagehead .lead { padding-left: 27px; margin-top: 18px; }

/* teaser sections on the home page */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.split-head .link { white-space: nowrap; margin-bottom: 20px; }
.split-head + .certs { margin-top: 32px; }
.more { margin-top: 28px; }
.photo--flush { margin-top: 0; }
.photo--flush img { aspect-ratio: 4 / 3; object-fit: cover; }

/* contact call-to-action band */
.cta { padding: 72px 0; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta .cta-title { max-width: none; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.cta .cta-text { font-size: 17px; font-weight: 400; line-height: 1.7; letter-spacing: 0; color: #dbe7f7; margin-top: 10px; max-width: 34em; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.button--light { background: var(--white); color: var(--blue); }
.button--light:hover { background: var(--ink); color: var(--white); }
.cta-phone { color: var(--white); font-size: 24px; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 5px; }

/* sections */
.section { padding: 104px 0; }
.section--paper { background: var(--paper); }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--ink); }
.columns > li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.columns > li + li { padding-left: 28px; }
.columns > li:last-child { border-right: 0; }
.columns p { color: var(--ink-2); font-size: 16px; }
.columns .link { margin-top: auto; padding-top: 8px; }
.columns--4 { grid-template-columns: repeat(4, 1fr); }
.num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.02em; }

.band { padding: 88px 0; color: var(--white); }
.band--blue { background: var(--blue); }
.band--blue p { font-size: clamp(32px, 5vw, 68px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; max-width: 16em; }
.band--ink { background: var(--ink); padding: 104px 0; }
.band--ink .h2 { color: var(--white); }
.band--ink .columns { border-color: rgba(255,255,255,.5); }
.band--ink .columns > li { border-color: rgba(255,255,255,.16); }
.band--ink .columns p { color: #c5d3e2; }
.band--ink .num { color: var(--aqua); }

.photo { margin-top: 32px; }
.photo img { width: 100%; border-radius: 2px; }
.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* spec sheet + rows */
.sheet { background: var(--white); border-left: 3px solid var(--blue); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 32px; }
.sheet > div, .rows > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sheet > div:last-child { border-bottom: 0; }
.sheet dt, .rows dt { font-weight: 700; }
.sheet dd, .rows dd { color: var(--ink-2); }
.rows { border-top: 2px solid var(--ink); align-self: start; }
.rows > div { grid-template-columns: 13em 1fr; padding: 22px 0; }
.rows--compact { margin-top: 32px; }
.rows--compact > div { grid-template-columns: 11em 1fr; padding: 16px 0; }

/* models */
.naming { display: grid; grid-template-columns: auto 1fr; gap: 16px 56px; align-items: center; margin: 40px 0; padding: 32px; background: var(--white); border-left: 3px solid var(--blue); }
.naming h3 { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.naming-code { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.seg { border-bottom: 4px solid; padding-bottom: 6px; }
.seg-1 { border-color: var(--ink); } .seg-2 { border-color: var(--blue); color: var(--blue); }
.seg-3 { border-color: var(--aqua); color: #1b84c0; } .seg-4 { border-color: var(--blue-mid); }
.dash { color: var(--muted); padding: 0 2px; }
.naming-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; font-size: 15px; }
.naming-legend li { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; padding-left: 12px; border-left: 3px solid; }
.naming-legend .seg-1 { border-color: var(--ink); } .naming-legend .seg-2 { border-color: var(--blue); }
.naming-legend .seg-3 { border-color: var(--aqua); } .naming-legend .seg-4 { border-color: var(--blue-mid); }
.naming-legend span { color: var(--ink-2); }
.table-wrap { overflow-x: auto; background: var(--white); border-top: 2px solid var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th { font-size: 13px; font-weight: 700; color: var(--muted); white-space: normal; vertical-align: bottom; min-width: 7em; }
.table th:first-child { text-align: left; }
.table tbody th { font-weight: 700; color: var(--blue); }
.table tbody tr:hover { background: var(--paper); }

/* technology */
.cutaway { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 40px; }
.cutaway figure { position: relative; }
.pin, .pin-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.pin { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(255,255,255,.85); }
.pin-1 { left: 76.1%; top: 9%; } .pin-2 { left: 25.4%; top: 26%; } .pin-3 { left: 41.1%; top: 25%; }
.pin-4 { left: 75.6%; top: 52%; } .pin-5 { left: 80.5%; top: 68%; } .pin-6 { left: 23.6%; top: 94%; }
.parts { border-top: 2px solid var(--ink); }
.parts li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.functions { margin-top: 56px; }
.functions h3 { color: var(--blue); }

/* compatibility */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gutter); margin-top: 40px; }
.tiles li { background: var(--white); display: flex; flex-direction: column; }
.tiles img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.tiles span { padding: 12px 14px 16px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); }

/* quality */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 56px; align-items: end; }
.certs a { display: block; background: var(--paper); padding: 14px; transition: background .15s; }
.certs a:hover { background: #e3ebf4; }
.certs img { width: 100%; height: 300px; object-fit: contain; }
.certs span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 10px; }

/* about */
.values { display: flex; flex-wrap: wrap; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values span { flex: 1; text-align: left; padding: 14px 0; font-size: 22px; font-weight: 800; color: var(--blue); }
.about-photos { display: grid; gap: 4px; align-content: start; }
.about-photos .photo:first-child { margin-top: 0; }
.about-photos .photo:first-child img { aspect-ratio: 16 / 10; object-fit: cover; }

/* faq */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font-size: 18px; }
.faq p { padding: 0 48px 24px 0; color: var(--ink-2); }

/* contact */
.contact { border-top: 1px solid var(--line); }
.phones { display: flex; flex-wrap: wrap; gap: 12px 56px; margin-top: 28px; }
.phones a { display: block; font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: var(--blue); text-decoration: none; letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.phones a:hover { color: var(--ink); }
.phones span { font-size: 15px; color: var(--muted); }

/* quote form */
.quote-form { margin-top: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--blue); }
.field input, .field select, .field textarea { font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--white); border: 1px solid #b9c6d4; border-radius: 2px; padding: 12px 14px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input, .field select { min-height: 50px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f56b8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field ::placeholder { color: #8b99a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; }
.form-actions .button { border: 0; cursor: pointer; font: 700 17px var(--font); }
.form-actions .button[disabled] { opacity: .6; cursor: wait; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.is-ok { color: #1b7f3b; }
.form-status.is-error { color: #c62828; }
.quote-form.is-sent .form-grid, .quote-form.is-sent .form-note, .quote-form.is-sent .button { display: none; }
.quote-form.is-sent .form-status { font-size: 20px; padding: 28px; background: #e9f6ee; border-left: 3px solid #1b7f3b; }
.contact-side { background: var(--paper); padding: 32px; align-self: start; }
.h3 { font-size: 22px; font-weight: 800; line-height: 1.3; }
.phones--stack { flex-direction: column; gap: 14px; margin-top: 20px; }
.phones--stack a { font-size: clamp(26px, 2.6vw, 34px); }
.contact-side .rows--compact > div { grid-template-columns: 1fr; gap: 2px; }
.contact-side dd a { color: var(--blue); }
.table td:last-child { text-align: left; }

/* footer */
.site-footer { background: var(--ink); color: #c5d3e2; padding: 56px 0 40px; font-size: 14px; }
.footer-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer img { width: 54px; margin-bottom: 14px; background: var(--white); padding: 6px; border-radius: 2px; }
.site-footer strong { color: var(--white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; justify-content: flex-end; }
.site-footer nav a { text-decoration: none; color: #c5d3e2; }
.site-footer nav a:hover { color: var(--white); }
.site-footer .small { grid-column: 1 / -1; color: #8ea3b8; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin-top: 8px; }
.site-footer .small a { color: #8ea3b8; }

.dock { display: none; }
.nav a, .langs, .header-tools .button { white-space: nowrap; }

/* the company subtitle next to the logo needs room */
@media (max-width: 1360px) { .brand-text small { display: none; } }
@media (max-width: 1520px) { html[lang="en"] .brand-text small { display: none; } }

/* English labels are longer: collapse the English menu earlier (same rules as phones below) */
@media (min-width: 900px) and (max-width: 1199px) {
  html[lang="en"] .menu-toggle { display: block; }
  html[lang="en"] .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .2s; z-index: -1; }
  html[lang="en"] .nav.open { transform: none; }
  html[lang="en"] .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  html[lang="en"] .header-tools { margin-left: auto; }
}

/* hero below 1100px: copy above a square video */
@media (max-width: 1099px) {
  .hero-stage { width: 100%; min-width: 0; display: flex; flex-direction: column; container-type: normal; }
  .hero-stage::before, .hero-stage::after { display: none; }
  .hero-copy { position: static; order: 1; padding: 32px var(--gutter) 0; }
  .hero-video { order: 2; width: min(100%, 640px); aspect-ratio: 1; margin: 4px auto 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
  .hero .kicker { font-size: 14px; margin-bottom: 14px; }
  .hero .kicker::after { margin-top: 10px; width: 36px; }
  .hero .display { font-size: clamp(28px, 7.4vw, 44px); }
  .hero .lead { font-size: 15.5px; margin-top: 12px; max-width: 26em; }
  .hero .actions { margin-top: 20px; gap: 20px; }
  .hero .actions .button { min-height: 46px; padding: 0 22px; font-size: 16px; }
}

/* tablet */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .columns--4 { grid-template-columns: repeat(2, 1fr); }
  .columns--4 > li:nth-child(2n) { border-right: 0; }
  .columns--4 > li:nth-child(2n+1) { padding-left: 0; }
  .columns--4 > li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 4px; }
  .band--ink .columns--4 > li:nth-child(n+3) { border-top-color: rgba(255,255,255,.16); }
  .naming { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  :root { --header: 64px; --gutter: 20px; }
  .menu-toggle { display: block; }
  .header-tools .button { display: none; }
  .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .2s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-row { gap: 12px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .showcase { grid-template-columns: 1fr; }
  .show-text { padding: 36px 20px 16px; }
  .show-media { padding: 8px 20px 28px; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-child(2n+1) { padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section, .band--ink { padding: 72px 0; }
  .band { padding: 64px 0; }
  .columns { grid-template-columns: 1fr; }
  .columns > li, .columns > li + li { padding: 24px 0; border-right: 0; }
  .columns > li + li { border-top: 1px solid var(--line); }
  .band--ink .columns > li + li { border-top-color: rgba(255,255,255,.16); }
  .cutaway { grid-template-columns: 1fr; }
  .parts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-side { padding: 24px 20px; }
  .pagehead { padding: 24px 0 48px; }
  .phero-copy { padding-top: 24px; }
  .phero-image { margin-top: 0; aspect-ratio: 4 / 3; max-height: none; }
  .crumbs ol { margin-bottom: 28px; }
  .h1 { padding-left: 18px; }
  .pagehead .lead { padding-left: 21px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-actions { flex-wrap: wrap; gap: 20px; }
  .footer-row { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer { padding-bottom: 96px; }
  .dock { display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: grid; place-items: center; min-height: 56px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); }
  .dock a + a { border-left: 1px solid var(--line); }
  .dock .dock-primary { background: var(--blue); color: var(--white); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 44px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .certs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .certs img { height: 200px; }
  .sheet { padding: 4px 18px; }
  .sheet > div, .rows > div { grid-template-columns: 1fr; gap: 4px; }
  .naming { padding: 22px 18px; }
  .naming-legend { grid-template-columns: 1fr; }
  .pin { width: 24px; height: 24px; font-size: 12px; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
  .parts { grid-template-columns: 1fr; }
  .faq p { padding-right: 0; }
  .values span { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
