/* RayFreq — RF & Microwave Technologies
   A restrained engineering identity: paper-white surfaces, ink navy, electric blue,
   fine rules, editorial scale, and image-led product storytelling. */

:root {
  color-scheme: light;
  --rf-ink: #0a1b37;
  --rf-navy: #071a36;
  --rf-blue: #0876d8;
  --rf-cyan: #32a7ed;
  --rf-steel: #607086;
  --rf-muted: #78869a;
  --rf-line: #dce3eb;
  --rf-line-dark: rgba(255,255,255,.19);
  --rf-paper: #fff;
  --rf-mist: #f3f6f9;
  --rf-wash: #eaf3fb;
  --rf-max: 1360px;
  --rf-gutter: clamp(22px, 5.2vw, 84px);
  --rf-ease: cubic-bezier(.2,.7,.2,1);
  --rf-shadow: 0 18px 42px rgba(8, 30, 59, .11);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--rf-paper);
  color: var(--rf-ink);
  font-family: Inter, "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body, button, input, select, textarea { font-family: Inter, "Aptos", "Segoe UI", Helvetica, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--rf-blue); }

.container { width: min(calc(100% - 2 * var(--rf-gutter)), var(--rf-max)); margin-inline: auto; }

/* Keyboard access and quiet, consistent transitions */
:focus-visible { outline: 3px solid #2d9cf0; outline-offset: 4px; border-radius: 2px; }
a, button, .product-card, .value-card, .contact-card, .video-card, .resource-row {
  -webkit-tap-highlight-color: transparent;
}
a, button { transition: color .2s var(--rf-ease), background-color .2s var(--rf-ease), border-color .2s var(--rf-ease), opacity .2s var(--rf-ease), transform .35s var(--rf-ease); }

/* Slim utility strip and crisp, light primary navigation */
.topbar { min-height: 34px; color: #d6e0ec; background: var(--rf-navy); font-size: 11px; letter-spacing: .09em; }
.topbar .container { display: flex; min-height: inherit; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #70baff; }
.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e7ebf0;
}
.container.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.2vw, 34px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 11px; min-width: 0; }
.brand-icon { width: 47px; height: 38px; object-fit: contain; }
.brand-wordmark { width: clamp(132px, 13.2vw, 176px); height: auto; max-height: 42px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 29px); min-width: 0; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #23364e;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .035em;
  white-space: nowrap;
}
.main-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--rf-blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--rf-ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--rf-blue); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.4vw, 20px); flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; color: #64748a; font-size: 11px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.lang-switch a { padding: 5px 1px; }
.lang-switch a:hover, .lang-switch a[aria-current="page"] { color: var(--rf-blue); }
.lang-switch a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.header-cta { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 17px; color: #fff; background: var(--rf-navy); font-size: 11px; font-weight: 700; letter-spacing: .055em; white-space: nowrap; }
.header-cta:hover { color: #fff; background: var(--rf-blue); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rf-line);
  background: transparent;
  cursor: pointer;
}
.menu-toggle::before, .menu-toggle::after, .menu-toggle span { position: absolute; width: 19px; height: 1.5px; background: var(--rf-ink); content: ""; transition: transform .22s var(--rf-ease), opacity .18s var(--rf-ease); }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }

/* Dark, image-led hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 51vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: #07182f;
  background-position: center;
  background-size: cover;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(4,16,35,.96) 0%, rgba(5,22,46,.88) 37%, rgba(5,22,46,.46) 70%, rgba(5,22,46,.18) 100%), linear-gradient(0deg, rgba(3,17,36,.28), transparent 45%);
  content: "";
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105,180,242,.72), transparent);
  content: "";
}
.hero-overlay { position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 84%); }
.container.hero-inner { width: min(calc(100% - 2 * var(--rf-gutter)), var(--rf-max)); padding-block: clamp(88px, 10vw, 150px); }
.hero-inner > * { max-width: 760px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--rf-blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero .eyebrow { color: #80c7ff; }
.eyebrow::before, .section-kicker::before { width: 28px; height: 1px; background: currentColor; content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: inherit; }
.hero h1, .page-hero h1 {
  max-width: 850px;
  margin: 0 0 23px;
  font-size: clamp(42px, 6.4vw, 86px);
  font-weight: 570;
  letter-spacing: -.065em;
  line-height: .99;
  text-wrap: balance;
}
.hero h1 em, .page-hero h1 em { color: #72bdff; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-description { max-width: 590px; margin: 0 0 33px; color: #d4dce7; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 13px; padding: 0 22px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .045em; }
.button::after { content: "↗"; font-size: 15px; line-height: 1; transition: transform .2s var(--rf-ease); }
.button:hover::after { transform: translate(3px,-2px); }
.button-primary { color: #fff; background: var(--rf-blue); border-color: var(--rf-blue); }
.button-primary:hover { color: #fff; background: #0065bd; border-color: #0065bd; }
.button-outline { color: #fff; background: rgba(4,17,36,.18); border-color: rgba(255,255,255,.56); }
.button-outline:hover { color: #fff; background: rgba(255,255,255,.13); border-color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 28px; margin-top: clamp(45px, 6vw, 78px); padding-top: 18px; color: #d2dce8; border-top: 1px solid rgba(255,255,255,.25); font-size: 11px; letter-spacing: .07em; }
.hero-meta > * { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta > *::before { width: 5px; height: 5px; background: #48affb; content: ""; transform: rotate(45deg); }

/* Credibility strip and editorial section rhythm */
.proofbar { position: relative; z-index: 2; background: #f5f7f9; border-bottom: 1px solid var(--rf-line); }
.proofbar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.proofbar .container > * { min-height: 82px; display: flex; align-items: center; padding: 12px clamp(12px, 2vw, 29px); border-right: 1px solid var(--rf-line); color: #35465d; font-size: 11px; font-weight: 680; line-height: 1.45; }
.proofbar .container > *:first-child { border-left: 1px solid var(--rf-line); }
.section { padding-block: clamp(76px, 9vw, 130px); }
.section + .section { border-top: 1px solid #edf0f3; }
.section-heading { max-width: 800px; margin-bottom: clamp(34px, 5vw, 66px); }
.section-heading .section-kicker { margin-bottom: 17px; }
.section-heading h2, .content-narrow h2 {
  margin: 0 0 17px;
  color: var(--rf-ink);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 550;
  letter-spacing: -.06em;
  line-height: 1.04;
  text-wrap: balance;
}
.section-heading p { max-width: 650px; margin-bottom: 0; color: var(--rf-steel); font-size: 17px; line-height: 1.75; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 12px; color: var(--rf-blue); font-size: 12px; font-weight: 750; letter-spacing: .035em; }
.text-link::after, .card-link::after { content: "→"; font-size: 17px; transition: transform .22s var(--rf-ease); }
.text-link:hover::after, .card-link:hover::after { transform: translateX(4px); }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: start; gap: clamp(35px, 8vw, 120px); }
.intro-grid > :first-child { max-width: 780px; }
.intro-grid p { color: var(--rf-steel); }
.intro-grid .text-link { margin-top: 12px; }

/* Product and content cards: square-cornered, image-forward, fine ruled edges */
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--rf-line); border-left: 1px solid var(--rf-line); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.product-card { min-width: 0; display: flex; flex-direction: column; color: var(--rf-ink); border-right: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); background: #fff; }
a.product-card { transition: background-color .25s var(--rf-ease), box-shadow .3s var(--rf-ease), transform .3s var(--rf-ease); }
a.product-card:hover { position: relative; z-index: 1; background: #fafdff; box-shadow: var(--rf-shadow); transform: translateY(-3px); }
.product-image { position: relative; display: block; height: clamp(190px, 22vw, 290px); overflow: hidden; background: #e9eef3; }
.product-image img, .feature-image img, .detail-hero-image img, .image-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--rf-ease); }
.product-card:hover .product-image img { transform: scale(1.035); }
.image-cover { display: block; overflow: hidden; background: #edf1f4; }
.image-cover img { min-height: 100%; }
.product-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(21px, 2.5vw, 34px); }
.card-number { display: inline-block; margin-bottom: 20px; color: var(--rf-blue); font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.product-card h3, .value-card h3, .video-card h3 { margin: 0 0 11px; color: var(--rf-ink); font-size: clamp(19px, 2vw, 25px); font-weight: 580; letter-spacing: -.035em; line-height: 1.2; }
.product-card p, .value-card p, .video-card p { margin: 0 0 22px; color: var(--rf-steel); font-size: 14px; line-height: 1.72; }
.product-card .card-link { margin-top: auto; padding-top: 8px; }
.cards-grid.three .product-image { height: clamp(220px, 27vw, 350px); }

.split-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: stretch; background: var(--rf-mist); }
.feature-image { min-height: 390px; overflow: hidden; background: #dfe7ee; }
.feature-copy { align-self: center; padding: clamp(36px, 6vw, 88px); }
.feature-copy h2 { max-width: 600px; margin: 0 0 18px; color: var(--rf-ink); font-size: clamp(34px, 4.3vw, 58px); font-weight: 550; letter-spacing: -.06em; line-height: 1.04; }
.feature-copy p { max-width: 550px; color: var(--rf-steel); }
.feature-copy .text-link { margin-top: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--rf-line); border-left: 1px solid var(--rf-line); }
.value-card { padding: clamp(23px, 3vw, 42px); border-right: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); }
.value-card .card-number { margin-bottom: 28px; }
.value-card h3 { font-size: 21px; }
.value-card p { margin-bottom: 0; }

.cta-band { position: relative; overflow: hidden; padding-block: clamp(62px, 8vw, 100px); color: #fff; background: var(--rf-navy); }
.cta-band::after { position: absolute; top: -130px; right: 8%; width: 430px; height: 430px; border: 1px solid rgba(104,181,244,.25); border-radius: 50%; box-shadow: 0 0 0 60px rgba(104,181,244,.035), 0 0 0 120px rgba(104,181,244,.025); content: ""; pointer-events: none; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { max-width: 700px; margin: 0; font-size: clamp(31px, 4vw, 52px); font-weight: 540; letter-spacing: -.055em; line-height: 1.1; }
.cta-band p { max-width: 590px; margin: 13px 0 0; color: #c4d0df; }
.cta-band .button { flex: 0 0 auto; }

/* Footer */
.site-footer { color: #d9e2ed; background: #06152b; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(120px, .7fr)); gap: clamp(28px, 5vw, 72px); padding-block: clamp(58px, 7vw, 92px); }
.footer-brand .brand { margin-bottom: 21px; }
.footer-brand .brand-icon { width: 44px; }
.footer-brand .brand-wordmark { width: 165px; }
.footer-brand p { max-width: 320px; color: #9eafc4; font-size: 13px; }
.footer-links h3 { margin: 3px 0 19px; color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: #aebbd0; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; color: #899bb1; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; }
.footer-bottom p { margin: 0; }

/* Inner pages: clear hierarchy and content-first layouts */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(78px, 9vw, 130px); color: #fff; background-color: var(--rf-navy); background-image: linear-gradient(110deg, #071a36 0%, #102c4d 100%); }
.page-hero::after { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 58px 58px; content: ""; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; font-size: clamp(40px, 5.5vw, 72px); }
.page-hero p { max-width: 690px; margin-bottom: 0; color: #d0dce9; font-size: 17px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 27px; color: #9db2ca; font-size: 11px; letter-spacing: .045em; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs > * + *::before { margin-right: 9px; color: #6383a5; content: "/"; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 34px; padding: 15px 0; border-top: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); color: var(--rf-steel); font-size: 12px; }
.catalog-toolbar label { color: var(--rf-ink); font-weight: 650; }
.catalog-toolbar select, .catalog-toolbar input { min-height: 42px; padding: 0 13px; color: var(--rf-ink); border: 1px solid var(--rf-line); border-radius: 0; background: #fff; }
.category-group + .category-group { margin-top: clamp(48px, 7vw, 92px); }
.category-group > h2 { margin: 0 0 25px; color: var(--rf-ink); font-size: clamp(25px, 3vw, 36px); font-weight: 560; letter-spacing: -.045em; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 360px); align-items: start; gap: clamp(36px, 6vw, 88px); }
.detail-main { min-width: 0; }
.detail-main > h2 { margin: 0 0 15px; color: var(--rf-ink); font-size: clamp(29px, 3.3vw, 43px); font-weight: 550; letter-spacing: -.05em; line-height: 1.1; }
.detail-main > p { color: var(--rf-steel); }
.detail-aside { padding: 25px; border: 1px solid var(--rf-line); background: #f8fafc; }
.detail-aside h2, .detail-aside h3 { margin: 0 0 17px; font-size: 17px; font-weight: 650; }
.detail-hero-image { width: 100%; aspect-ratio: 16/10; margin-bottom: 30px; overflow: hidden; background: #e6ebf0; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 26px 0; border-top: 1px solid var(--rf-line); border-left: 1px solid var(--rf-line); }
.spec-row { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); }
.spec-row > :first-child { display: block; margin-bottom: 4px; color: var(--rf-muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.spec-row > :last-child { color: var(--rf-ink); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.content-narrow { max-width: 820px; }
.content-narrow p, .content-narrow li { color: var(--rf-steel); }
.content-narrow h2 { margin-top: 1.8em; font-size: clamp(28px, 3.4vw, 42px); }
.content-narrow h2:first-child { margin-top: 0; }
.content-narrow h3 { margin-top: 1.8em; color: var(--rf-ink); font-size: 22px; letter-spacing: -.025em; }
.content-narrow ul, .content-narrow ol { padding-left: 1.3em; }
.content-narrow li { padding-left: .25em; margin-bottom: .45em; }
.resources-list { border-top: 1px solid var(--rf-line); }
.resource-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 21px 0; border-bottom: 1px solid var(--rf-line); }
.resource-row:hover { padding-inline: 9px; background: #f8fafc; }
.resource-row h3 { margin: 0 0 4px; color: var(--rf-ink); font-size: 16px; font-weight: 650; }
.resource-row p { margin: 0; color: var(--rf-steel); font-size: 12px; }
.resource-row > :last-child { flex: 0 0 auto; color: var(--rf-blue); font-size: 12px; font-weight: 750; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.video-card { border: 1px solid var(--rf-line); background: #fff; }
.video-card > :first-child { aspect-ratio: 16/9; overflow: hidden; background: #e8edf2; }
.video-card > :first-child img, .video-card > :first-child video, .video-card > :first-child iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-card > :last-child { padding: 22px; }
.video-card h3 { font-size: 19px; }
.video-card p { margin: 0; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--rf-line); border-left: 1px solid var(--rf-line); }
.contact-card { min-width: 0; padding: clamp(21px, 3vw, 35px); border-right: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); }
.contact-card > :first-child { margin-bottom: 17px; color: var(--rf-blue); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.contact-card h3 { margin: 0 0 7px; color: var(--rf-ink); font-size: 18px; font-weight: 640; }
.contact-card p, .contact-card a { margin: 0; color: var(--rf-steel); font-size: 13px; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--rf-blue); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.contact-form .field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.contact-form .field:has(textarea), .contact-form .field.full-width { grid-column: 1 / -1; }
.contact-form label { color: #34465e; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--rf-ink); border: 1px solid #cbd5e0; border-radius: 0; outline: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--rf-blue); box-shadow: 0 0 0 3px rgba(8,118,216,.12); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa7b7; }
.notice { padding: 18px 21px; color: #22415f; border-left: 3px solid var(--rf-blue); background: #eff6fc; font-size: 13px; }
.notice > :last-child { margin-bottom: 0; }

/* Compact menu: the JS toggles .mobile-menu-open on body and aria-expanded on the button. */
@media (max-width: 1180px) {
  .container.header-row { min-height: 80px; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--rf-gutter) 20px;
    border-bottom: 1px solid var(--rf-line);
    background: #fff;
    box-shadow: 0 18px 25px rgba(7,26,54,.09);
  }
  body.mobile-menu-open .main-nav { display: flex; flex-direction: column; }
  .main-nav a { min-height: 49px; border-bottom: 1px solid #edf0f3; font-size: 13px; }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  :root { --rf-gutter: 22px; }
  .topbar { font-size: 9px; letter-spacing: .045em; }
  .topbar .container { min-height: 34px; gap: 9px; }
  .container.header-row { min-height: 72px; gap: 8px; }
  .brand { gap: 7px; }
  .brand-icon { width: 38px; height: 32px; }
  .brand-wordmark { width: clamp(112px, 31vw, 145px); max-height: 36px; }
  .header-actions { gap: 8px; }
  .header-cta { display: none; }
  .lang-switch { gap: 5px; font-size: 10px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { min-height: 620px; min-height: min(720px, 82svh); background-position: 58% center; }
  .hero::before { background-image: linear-gradient(90deg, rgba(4,16,35,.94), rgba(5,22,46,.74) 68%, rgba(5,22,46,.42)), linear-gradient(0deg, rgba(3,17,36,.32), transparent 65%); }
  .hero-overlay { background-size: 48px 48px; }
  .container.hero-inner { padding-block: 78px 55px; }
  .hero h1 { font-size: clamp(42px, 12vw, 66px); }
  .hero-description { max-width: 530px; font-size: 16px; }
  .hero-meta { margin-top: 46px; }
  .proofbar .container { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proofbar .container > * { min-height: 67px; border-bottom: 1px solid var(--rf-line); }
  .proofbar .container > *:nth-child(odd) { border-left: 1px solid var(--rf-line); }
  .proofbar .container > *:nth-child(even) { border-right: 1px solid var(--rf-line); }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading p { font-size: 15px; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid, .cards-grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-image, .cards-grid.three .product-image { height: clamp(170px, 47vw, 270px); }
  .product-card-body { padding: 19px; }
  .card-number { margin-bottom: 13px; }
  .product-card h3 { font-size: 19px; }
  .product-card p { font-size: 13px; }
  .split-feature { grid-template-columns: 1fr; }
  .feature-image { min-height: 0; aspect-ratio: 4/3; }
  .feature-copy { padding: 36px var(--rf-gutter) 43px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { padding: 25px; }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
  .cta-band::after { right: -230px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .page-hero { padding-block: 70px; }
  .page-hero::after { width: 65%; }
  .page-hero p { font-size: 15px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .topbar .container { justify-content: center; }
  .topbar .container > :last-child { display: none; }
  .brand-icon { width: 33px; }
  .brand-wordmark { width: clamp(104px, 29vw, 128px); }
  .hero { min-height: 590px; }
  .hero h1 { font-size: clamp(39px, 11.6vw, 54px); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .button { min-height: 49px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 9px; }
  .proofbar .container > * { padding-inline: 11px; font-size: 10px; }
  .cards-grid, .cards-grid.three, .cards-grid.two { grid-template-columns: 1fr; }
  .product-image, .cards-grid.three .product-image { height: 230px; }
  .product-card-body { padding: 22px; }
  .spec-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field:has(textarea), .contact-form .field.full-width { grid-column: auto; }
  .resource-row { align-items: flex-start; }
  .resource-row > :last-child { white-space: nowrap; }
  .footer-grid { gap: 27px 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Component refinements for the generated, bilingual content. */
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-copy small { color: #506a86; font-size: 7px; line-height: 1.2; font-weight: 750; letter-spacing: .08em; white-space: nowrap; }
.footer-brand .brand { background: #fff; padding: 10px 12px; }
.footer-links a { display: block; margin-top: 9px; }
.footer-links p { color: #aebbd0; font-size: 13px; line-height: 1.7; }
.footer-links strong { color: #e5edf6; font-size: 13px; }
.footer-grid { grid-template-columns: minmax(240px, 1.35fr) minmax(140px, .65fr) minmax(240px, 1fr); }
.button::after, .text-link::after, .card-link::after { content: none; }
.button span, .card-link b, .text-link span { transition: transform .2s var(--rf-ease); }
.button:hover span, .product-card:hover .card-link b { transform: translate(3px,-2px); }
.button-dark { background: var(--rf-navy); color: #fff; }
.button-dark:hover { background: var(--rf-blue); color: #fff; }
.button-light { background: #fff; color: var(--rf-navy); }
.button-light:hover { background: #d9efff; }
.proofbar .container > div { display: grid; grid-template-columns: 24px 1fr; align-content: center; column-gap: 10px; }
.proofbar .container > div > span { grid-row: 1 / 3; color: var(--rf-blue); font-size: 10px; }
.proofbar .container > div > strong { font-size: 10px; letter-spacing: .045em; }
.proofbar .container > div > small { color: var(--rf-steel); font-size: 11px; font-weight: 400; }
.section-heading > div + div { margin-top: 16px; }
.section-heading .text-link { margin-top: 20px; }
.product-image .card-number { position: absolute; top: 15px; left: 15px; margin: 0; padding: 6px 8px; background: #fff; }
.product-image img[src*="microwave-system"], .product-image img[src*="amplifier-source"], .product-image img[src*="fixed-system"], .detail-hero-image img[src*="microwave-system"], .detail-hero-image img[src*="amplifier-source"], .detail-hero-image img[src*="fixed-system"] { object-fit: contain; background: #f2f5f7; }
.card-overline { display: block; margin-bottom: 13px; color: var(--rf-blue); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.feature-image { position: relative; }
.feature-image > span { position: absolute; left: 24px; bottom: 20px; padding: 9px 11px; background: rgba(5,24,48,.8); color: #d7e8f7; font-size: 9px; letter-spacing: .12em; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.category-heading h2 { margin: 0 0 8px; font-size: clamp(27px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.category-heading p { margin-bottom: 0; color: var(--rf-steel); }
.category-heading .text-link { flex-shrink: 0; }
.breadcrumbs > * + *::before { content: none; }
.detail-aside .button, .detail-aside .text-link, .aside-contact a { margin-top: 16px; }
.aside-contact { display: flex; flex-direction: column; margin-top: 25px; border-top: 1px solid var(--rf-line); }
.aside-contact a { color: var(--rf-blue); font-size: 13px; }
.image-caption { margin: -17px 0 35px; font-size: 11px; color: var(--rf-muted); }
.resource-icon { color: var(--rf-blue); font-size: 25px; }
.resource-row > div { flex: 1; }
.video-card > video { display: block; width: 100%; height: auto; }
.video-card > .card-overline { margin: 20px 22px 8px; }
.video-card > h3 { padding: 0 22px 22px !important; }
.contact-grid { grid-template-columns: 1fr .9fr; gap: clamp(35px, 7vw, 100px); border: 0; }
.contact-grid > div:first-child h2 { font-size: clamp(34px,4vw,54px); letter-spacing: -.05em; line-height: 1.1; }
.contact-grid > div:first-child p { color: var(--rf-steel); max-width: 520px; }
.contact-details { border-top: 1px solid var(--rf-line); }
.contact-card { border-left: 1px solid var(--rf-line); }
.contact-card span, .contact-card strong, .contact-card a { display: block; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .category-heading { align-items: start; flex-direction: column; }
}

/* Traditional Chinese typography and the expanded three-language switch. */
html[lang="zh-Hant"] body { font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Noto Sans CJK TC", sans-serif; }
html[lang="zh-Hant"] .hero h1,
html[lang="zh-Hant"] .page-hero h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3 { letter-spacing: -.025em; line-height: 1.18; }
.lang-switch { gap: 5px; }
@media (max-width: 760px) {
  .lang-switch { gap: 3px; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .brand { gap: 4px; }
  .brand-icon { width: 28px; }
  .brand-wordmark { width: 96px; }
  .brand-copy small { font-size: 6px; letter-spacing: .035em; }
  .lang-switch { gap: 2px; font-size: 9px; }
  .menu-toggle { width: 38px; height: 38px; }
}


/* Accessible parent/child navigation and expanded topbar contact identity. */
.topbar-identity,
.topbar-contacts { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-identity { flex: 1 1 auto; }
.topbar-brand { color: #fff; font-weight: 750; letter-spacing: .12em; white-space: nowrap; }
.topbar-keywords { color: #aebed0; font-size: 10px; letter-spacing: .045em; }
.topbar-contacts { flex: 0 0 auto; justify-content: flex-end; gap: 16px; }
.topbar-contacts a { white-space: nowrap; }
.main-nav .nav-item { position: relative; min-width: 0; }
.main-nav .nav-item-row { display: flex; align-items: center; gap: 3px; }
.main-nav .nav-item-row > a { min-width: 0; }
.main-nav .submenu-toggle {
  display: inline-flex;
  width: 28px;
  min-width: 28px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #61748c;
  cursor: pointer;
}
.main-nav .submenu-toggle:hover,
.main-nav .submenu-toggle[aria-expanded="true"] { color: var(--rf-blue); }
.main-nav .submenu-toggle span { display: block; font-size: 12px; line-height: 1; transition: transform .2s var(--rf-ease); }
.main-nav .submenu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.main-nav .nav-submenu {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: -13px;
  display: none;
  min-width: 230px;
  max-width: min(340px, 90vw);
  padding: 7px 14px;
  border: 1px solid var(--rf-line);
  background: #fff;
  box-shadow: 0 16px 32px rgba(7,26,54,.13);
}
.main-nav .nav-item.submenu-open > .nav-submenu { display: block; }
.main-nav .nav-submenu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 7px 2px;
  border-bottom: 1px solid #edf0f3;
  color: #35465d;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: normal;
}
.main-nav .nav-submenu a:last-child { border-bottom: 0; }
.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a:focus-visible { color: var(--rf-blue); }
.main-nav .nav-submenu a::after { display: none; }
.cards-grid.home-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* The eight-item bilingual navigation switches to a disclosure menu at this shared breakpoint. */
@media (max-width: 1360px) {
  .container.header-row { min-height: 80px; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 125px);
    max-height: calc(100dvh - 125px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--rf-gutter) 20px;
    border-bottom: 1px solid var(--rf-line);
    background: #fff;
    box-shadow: 0 18px 25px rgba(7,26,54,.09);
  }
  body.mobile-menu-open .main-nav { display: flex; flex-direction: column; }
  .main-nav .nav-item { width: 100%; border-bottom: 1px solid #edf0f3; }
  .main-nav .nav-item-row { min-height: 49px; gap: 10px; }
  .main-nav .nav-item-row > a { flex: 1 1 auto; min-height: 49px; border: 0; font-size: 13px; white-space: normal; }
  .main-nav .nav-item-row > a::after { display: none; }
  .main-nav .submenu-toggle { width: 44px; min-width: 44px; height: 44px; border: 1px solid var(--rf-line); }
  .main-nav .nav-submenu {
    position: static;
    min-width: 0;
    max-width: none;
    padding: 0 0 8px 16px;
    border: 0;
    background: #f8fafc;
    box-shadow: none;
  }
  .main-nav .nav-submenu a { min-height: 44px; padding-inline: 12px; border-bottom-color: #e8edf2; font-size: 13px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .cards-grid.home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { font-size: 9px; letter-spacing: .035em; }
  .topbar .container { justify-content: space-between; gap: 7px; }
  .topbar-identity { gap: 7px; }
  .topbar-keywords { display: none; }
  .topbar-contacts { gap: 9px; font-size: 9px; letter-spacing: 0; }
  .topbar-contacts a { white-space: nowrap; }
  .cards-grid.home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  /* Override the legacy rule that hid the last topbar child (often WhatsApp). */
  .topbar .container > .topbar-contacts { display: flex !important; }
  .topbar .container > :last-child.topbar-contacts { display: flex !important; }
  .topbar .container { justify-content: space-between; }
  .topbar-identity { flex: 0 1 auto; }
  .topbar-brand { font-size: 8px; letter-spacing: .07em; }
  .topbar-contacts { flex: 0 0 auto; gap: 7px; font-size: 8px; }
  .cards-grid.home-categories { grid-template-columns: 1fr; }
}

/* Keep the specialization line and contact links visible on narrow screens. */
@media (max-width: 760px) {
  .topbar .container { align-items: flex-start; flex-direction: column; gap: 3px; padding-block: 7px; }
  .topbar-identity { width: 100%; flex-wrap: wrap; gap: 3px 10px; }
  .topbar-keywords { display: inline; font-size: 9px; }
  .topbar-contacts { flex-wrap: wrap; justify-content: flex-start; }
}

@media (min-width: 1361px) {
  .container.header-row { gap: 16px; }
  .main-nav { gap: clamp(7px, .8vw, 14px); }
  .main-nav .submenu-toggle { width: 18px; min-width: 18px; }
  .brand-wordmark { width: clamp(125px, 9vw, 155px); }
}
@media (min-width: 1361px) and (max-width: 1750px) {
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .main-nav { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
}
/* RayFreq selection and product specification tables.
   Uses the site's --rf-* tokens when available and remains usable standalone. */

.selection-section {
  --spec-ink: var(--rf-ink, #0a1b37);
  --spec-blue: var(--rf-blue, #0876d8);
  --spec-steel: var(--rf-steel, #607086);
  --spec-line: var(--rf-line, #dce3eb);
  --spec-paper: var(--rf-paper, #fff);
  --spec-mist: var(--rf-mist, #f3f6f9);
  --spec-wash: var(--rf-wash, #eaf3fb);
  color: var(--spec-ink);
}

.selection-intro {
  max-width: 820px;
  margin: 0 0 1.4rem;
  color: var(--spec-steel, var(--rf-steel, #607086));
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.selection-table-wrap,
.parameter-table-wrap {
  position: relative;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--rf-blue, #0876d8) #e8eef4;
  scrollbar-width: thin;
}

.selection-table-wrap {
  margin-block: 1.25rem;
  border: 1px solid var(--rf-line, #dce3eb);
  background: var(--rf-paper, #fff);
  box-shadow: 0 8px 22px rgba(8, 30, 59, .055);
}

.selection-table-wrap:focus-visible,
.parameter-table-wrap:focus-visible {
  outline: 3px solid #2d9cf0;
  outline-offset: 3px;
}

.selection-table {
  width: 100%;
  min-width: 740px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--rf-ink, #0a1b37);
  font-size: .9rem;
  line-height: 1.55;
  text-align: left;
}

.selection-table th,
.selection-table td {
  padding: .9rem 1rem;
  border-right: 1px solid var(--rf-line, #dce3eb);
  border-bottom: 1px solid var(--rf-line, #dce3eb);
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.selection-table tr > :last-child { border-right: 0; }
.selection-table tbody tr:last-child > * { border-bottom: 0; }

.selection-table thead th {
  color: #fff;
  background: var(--rf-navy, #071a36);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.45;
  text-wrap: balance;
}

.selection-table tbody tr:nth-child(even) { background: #f5f8fb; }
.selection-table tbody tr:hover { background: #edf6fd; }

/* Keep model identifiers easy to scan even when the table is scrolled. */
.selection-table :is(th, td):first-child {
  min-width: 9rem;
  font-weight: 650;
}

.selection-table tbody :is(th, td):first-child {
  color: var(--rf-ink, #0a1b37);
  background-color: #fff;
}
.selection-table tbody tr:nth-child(even) :is(th, td):first-child { background-color: #f5f8fb; }
.selection-table tbody tr:hover :is(th, td):first-child { background-color: #edf6fd; }

.selection-table a {
  color: var(--rf-blue, #0876d8);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(8, 118, 216, .38);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
.selection-table a:hover { color: #005da9; text-decoration-color: currentColor; }
.selection-table a:focus-visible {
  outline: 3px solid #2d9cf0;
  outline-offset: 3px;
  border-radius: 2px;
}

.selection-note {
  max-width: 980px;
  margin: .85rem 0 0;
  padding: .75rem 1rem;
  border-left: 3px solid var(--rf-blue, #0876d8);
  color: #43566d;
  background: #f1f6fb;
  font-size: .82rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.selection-note > :last-child { margin-bottom: 0; }

.parameter-table-wrap {
  margin-block: 1rem;
  border: 1px solid var(--rf-line, #dce3eb);
  background: var(--rf-paper, #fff);
}

.parameter-table {
  width: 100%;
  min-width: 340px;
  table-layout: fixed;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--rf-ink, #0a1b37);
  font-size: .9rem;
  line-height: 1.6;
}

.parameter-table th,
.parameter-table td {
  padding: .78rem 1rem;
  border-right: 1px solid var(--rf-line, #dce3eb);
  border-bottom: 1px solid var(--rf-line, #dce3eb);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.parameter-table tr > :last-child { border-right: 0; }
.parameter-table tbody tr:last-child > * { border-bottom: 0; }
.parameter-table th {
  width: 36%;
  color: #29415d;
  background: #f1f6fb;
  font-weight: 650;
}
.parameter-table td { background: #fff; }
.parameter-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.parameter-table :is(th, td) :is(a, code) { overflow-wrap: anywhere; }
.parameter-table a {
  color: var(--rf-blue, #0876d8);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.parameter-table :is(a, button):focus-visible {
  outline: 3px solid #2d9cf0;
  outline-offset: 3px;
}

/* Place inside a relatively positioned image/card to mark a concept illustration. */
.thumbnail-badge {
  position: absolute;
  z-index: 2;
  top: .65rem;
  right: .65rem;
  display: inline-flex;
  max-width: calc(100% - 1.3rem);
  align-items: center;
  padding: .32rem .55rem;
  border: 1px solid rgba(255, 255, 255, .72);
  color: #29415d;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(7, 26, 54, .12);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@media (max-width: 760px) {
  .selection-table-wrap { margin-inline: 0; }
  .selection-table-wrap::after {
    position: sticky;
    z-index: 1;
    right: .45rem;
    bottom: .45rem;
    display: block;
    width: max-content;
    margin: -2.2rem .45rem .45rem auto;
    padding: .25rem .45rem;
    border: 1px solid rgba(8, 118, 216, .2);
    border-radius: 999px;
    color: #174b78;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 8px rgba(7, 26, 54, .1);
    content: "↔";
    font-size: .8rem;
    line-height: 1.2;
    pointer-events: none;
  }

  .selection-table { min-width: 700px; font-size: .84rem; }
  .selection-table th,
  .selection-table td { padding: .75rem .8rem; }

  .parameter-table { min-width: 0; font-size: .86rem; }
  .parameter-table th,
  .parameter-table td { padding: .68rem .72rem; }
  .parameter-table th { width: 38%; }
}

@media (max-width: 380px) {
  .parameter-table { font-size: .8rem; }
  .parameter-table th,
  .parameter-table td { padding: .58rem .55rem; }
  .parameter-table th { width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .selection-table-wrap,
  .parameter-table-wrap { scroll-behavior: auto; }
}

/* Six-model comparison and source-qualified specification details. */
.selection-heading h2 { margin: 0 0 18px; color: var(--rf-ink); font-size: clamp(32px, 4vw, 54px); font-weight: 550; line-height: 1.1; letter-spacing: -.04em; }
.selection-swipe { margin: 0; color: var(--rf-steel); font-size: 13px; }
.selection-table { min-width: 1180px; }
.selection-table thead a { color: #fff; text-decoration-color: rgba(255,255,255,.6); white-space: nowrap; }
.selection-table thead a:hover { color: #b9ddff; }
.selection-table thead small { display: block; margin-top: 5px; color: #c9d9e9; font-size: 11px; font-weight: 500; }
.selection-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; min-width: 215px; }
.selection-table thead th:first-child { z-index: 2; background: var(--rf-navy); }
.parameter-source { margin: 30px 0 8px; color: var(--rf-blue); font-size: 13px; font-weight: 750; letter-spacing: .03em; }
.parameter-remark { display: block; margin-top: 5px; color: var(--rf-steel); line-height: 1.5; }
@media (max-width: 760px) {
  .selection-table { min-width: 1120px; }
  .selection-table :is(th, td):first-child { min-width: 175px; }
}

.product-image img.product-illustration { object-fit: contain; }

/* Homepage media sequence: artwork remains behind the existing contrast and text layers. */
.hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.hero-slide, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .65s ease; }
.hero-slide { background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero-video { display: block; object-fit: cover; object-position: center; }
.hero-slide.is-active, .hero-video.is-active { opacity: 1; }
.hero-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-controls button { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border: 1px solid rgba(213,229,246,.55); border-radius: 2px; color: #fff; background: rgba(2,17,36,.62); font: inherit; font-size: 11px; font-weight: 650; line-height: 1.25; cursor: pointer; }
.hero-controls button:hover { background: rgba(20,73,115,.85); border-color: #fff; }
.hero-controls button:focus-visible { outline: 3px solid #93d1ff; outline-offset: 3px; }
.hero-controls button[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-video { transition: none; } }

/* Do not crop or obscure the supplied promotional video's text or branding. */
.hero-video { object-fit: contain; background-color: #07182f; }
.hero.is-video-playing .hero-media { background-color: #07182f; }
.hero.is-video-playing .hero-video { height: calc(100% - 56px); }
.hero.is-video-playing::before, .hero.is-video-playing .hero-overlay { opacity: 0; }
.hero.is-video-playing .hero-inner > :not(.hero-controls) { visibility: hidden; }
.hero.is-video-playing .hero-controls { position: absolute; bottom: 10px; left: var(--rf-gutter); z-index: 2; margin: 0; }

/* Localized hero headings remain readable while subtly reflecting each scene. */
.hero .hero-title { white-space: pre-line; transition: transform .4s ease; }
.hero .hero-description { white-space: pre-line; font-weight: 400; letter-spacing: normal; }
.hero[data-hero-stage="2"] .hero-title { transform: translateX(4px); }
.hero[data-hero-stage="3"] .hero-title { transform: translateX(7px); }
.hero[data-hero-stage="4"] .hero-title { transform: translateX(3px); }
.hero[data-hero-stage="5"] .hero-title { transform: translateX(5px); }
.hero[data-hero-stage="2"] .eyebrow { color: #9ad2ff; }
.hero[data-hero-stage="3"] .eyebrow { color: #8ebff5; }
.hero[data-hero-stage="4"] .eyebrow { color: #a7d5f8; }
.hero[data-hero-stage="5"] .eyebrow { color: #8ac7f3; }
@media (prefers-reduced-motion: reduce) { .hero .hero-title { transition: none; transform: none !important; } }

/* Keep the long first English hero heading readable without changing other slides. */
html[lang="en"] .hero[data-hero-stage="1"] .hero-title {
  max-width: 840px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

/* Homepage category posters keep their full, original square artwork visible. */
.home-categories .product-image { height: auto; aspect-ratio: 1 / 1; }
.home-categories .product-image img.home-category-poster { object-fit: contain; background: #06172d; }
.home-categories .product-card:hover .product-image img.home-category-poster { transform: none; }
.home-categories .home-category-index { margin-right: 5px; }
