:root {
  --ink: #080a0c;
  --surface: #101317;
  --surface-2: #171b20;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f6f7f8;
  --muted: #aeb4bc;
  --yellow: #ffd400;
  --yellow-soft: rgba(255, 212, 0, 0.12);
  --green: #2fc66d;
  --red: #ed394c;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

[data-site-header] { display: contents; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--yellow);
  color: #000;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section { padding: 110px 0; }
.section--compact { padding: 76px 0; }
.section--surface { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 52px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 34px;
  width: 34px;
  height: 2px;
  content: "";
  background: var(--yellow);
}

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

.lead {
  max-width: 720px;
  color: #d6d9dd;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
}

.muted { color: var(--muted); }
.accent { color: var(--yellow); }

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: #090b0c;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover { transform: translateY(-2px); background: #ffe14d; }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.button--ghost { border-color: rgba(255,255,255,.34); background: transparent; color: #fff; }
.button--ghost:hover { border-color: var(--yellow); background: var(--yellow-soft); }
.button--small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }

.notice {
  position: relative;
  z-index: 30;
  background: var(--yellow);
  color: #080a0c;
  font-size: .84rem;
  font-weight: 650;
}

.notice__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.88);
  backdrop-filter: blur(18px);
  transition: transform 280ms cubic-bezier(.22,.8,.24,1), background 180ms ease;
  will-change: transform;
}

.site-header.is-hidden { transform: translateY(calc(-100% - 2px)); }

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { flex: 0 0 auto; display: grid; gap: 4px; }
.brand img { width: 174px; height: auto; }
.brand__flag {
  width: 154px;
  height: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto;
  border-radius: 999px;
  overflow: hidden;
}
.brand__flag i:nth-child(1) { background: var(--green); }
.brand__flag i:nth-child(2) { background: #f7f7f7; }
.brand__flag i:nth-child(3) { background: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c7cbd0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.nav__links a { position: relative; padding: 28px 0; }
.nav__links a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links .language-switch {
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  text-align: center;
}
.nav__links .language-switch::after { display: none; }
.nav__links .language-switch:hover { border-color: var(--yellow); color: var(--yellow); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.sound-toggle {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #d9dde2;
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.sound-toggle:hover, .sound-toggle.is-playing { border-color: var(--yellow); color: var(--yellow); }
.sound-toggle__bars { height: 15px; display: flex; align-items: center; gap: 2px; }
.sound-toggle__bars i { width: 2px; height: 5px; border-radius: 3px; background: currentColor; }
.sound-toggle__bars i:nth-child(2) { height: 11px; }
.sound-toggle.is-playing .sound-toggle__bars i { animation: sound-bars 700ms ease-in-out infinite alternate; }
.sound-toggle.is-playing .sound-toggle__bars i:nth-child(2) { animation-delay: -260ms; }
.sound-toggle.is-playing .sound-toggle__bars i:nth-child(3) { animation-delay: -430ms; }
@keyframes sound-bars { to { height: 15px; } }

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background: url("../assets/hero-smt.avif") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 6, 8, .97) 0%, rgba(4, 6, 8, .82) 48%, rgba(4, 6, 8, .42) 100%),
    linear-gradient(0deg, var(--ink), transparent 24%);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  align-items: end;
  gap: 70px;
}
.hero__content { max-width: 780px; padding: 86px 0 132px; }
.hero h1 { margin: 24px 0 28px; }
.hero h1 span { color: var(--yellow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 35px 0 58px; }

.hero__signal {
  margin-bottom: 126px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(7,10,12,.68);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.hero__signal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: #98a0a9;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.signal-live { color: #66e79a; }
.hero__signal-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.hero__signal-row:last-child { border-bottom: 0; }
.hero__signal-row span { color: var(--yellow); font-size: .73rem; font-weight: 800; }
.hero__signal-row strong { font-size: .9rem; font-weight: 650; }

.capability-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(8,10,12,.82);
  color: #c7cbd0;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .14em;
  white-space: nowrap;
  text-align: center;
  padding: 14px 20px;
  backdrop-filter: blur(12px);
}
.capability-rail > div {
  display: inline-block;
  min-width: max-content;
}
.capability-rail span { padding: 0 13px; color: var(--yellow); }

.capability-rail--page {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #07090b;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 690px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  gap: 28px;
}

.metric strong { display: block; color: #fff; font-size: 1.6rem; line-height: 1; }
.metric span { color: var(--muted); font-size: .83rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.services-grid .service-card { grid-column: span 2; }
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) { grid-column: span 3; }

.service-card,
.project-card,
.product-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}

.service-card {
  min-height: 340px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 212, 0, .55); }
.service-card__index { color: var(--yellow); font-size: .78rem; font-weight: 800; }
.service-card h3 { margin: auto 0 15px; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process__step { min-height: 230px; padding: 28px; background: var(--ink); }
.process__step span { color: var(--yellow); font-size: 2.6rem; font-weight: 800; opacity: .55; }
.process__step h3 { margin: 32px 0 9px; font-size: 1.15rem; }
.process__step p { color: var(--muted); font-size: .9rem; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: #23282e; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card__body { padding: 28px; }
.tag { color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.tag-links { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-link { color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.tag-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.project-card h3 { margin: 12px 0 13px; }
.project-card p { color: var(--muted); font-size: .92rem; }

.product-strip {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.product-strip__visual {
  min-height: 480px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 212, 0, .15), transparent 45%),
    var(--surface-2);
}

.product-strip__visual img {
  position: absolute;
  width: min(76%, 420px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  image-rendering: auto;
}

.feature-list { margin: 28px 0 34px; padding: 0; list-style: none; }
.feature-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { position: absolute; left: 0; content: "↗"; color: var(--yellow); }

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.contact-list { display: grid; gap: 19px; margin-top: 40px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 15px; }
.contact-item__icon { color: var(--yellow); font-size: 1.3rem; }
.contact-item strong { display: block; }
.contact-item span, .contact-item a { color: var(--muted); }
.contact-item a:hover { color: var(--yellow); }

.contact-form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: #dadde1; font-size: .82rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #0b0e11;
  color: #fff;
  padding: 13px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .82rem; }
.check input { margin-top: 5px; accent-color: var(--yellow); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .78rem; }
.form-status { min-height: 24px; color: var(--yellow); font-size: .85rem; margin-top: 12px; }
.form-status.is-success, .checkout-status.is-success { color: #66e79a; }
.form-status.is-error, .checkout-status.is-error { color: #ff7a86; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.page-hero {
  padding: 105px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8,10,12,.96), rgba(8,10,12,.6)),
    url("../assets/hero-smt.avif") center 55% / cover;
}
.page-hero h1 { max-width: 900px; margin: 18px 0 20px; font-size: clamp(3rem, 6vw, 5.8rem); }
.page-hero .lead { margin-bottom: 0; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-card__number { color: var(--yellow); font-size: .8rem; font-weight: 800; }
.detail-card h3 { margin: 28px 0 13px; }
.detail-card p, .detail-card li { color: var(--muted); }

.sectors { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.sectors li { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: #d5d9de; background: var(--surface-2); }

.portfolio-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }

.page-hero--portfolio {
  background:
    linear-gradient(90deg, rgba(8,10,12,.98), rgba(8,10,12,.72)),
    url("../assets/optimized/project-rf.jpg") center 44% / cover;
}
.portfolio-archive { padding-top: 54px; }
.portfolio-toolbar {
  scroll-margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8,10,12,.75);
  backdrop-filter: blur(14px);
}
.portfolio-search { position: relative; width: min(100%, 570px); }
.portfolio-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 50px 0 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #090c0f;
  color: #fff;
}
.portfolio-search input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.portfolio-search > span:last-child { position: absolute; right: 17px; top: 50%; color: var(--yellow); font-size: 1.45rem; transform: translateY(-50%); }
.portfolio-result { display: grid; text-align: right; line-height: 1.25; }
.portfolio-result strong { color: var(--yellow); font-size: 1.15rem; }
.portfolio-result span { color: var(--muted); font-size: .75rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filter-chip, .hashtag {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #bac0c7;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.filter-chip { padding: 9px 14px; font-size: .78rem; font-weight: 700; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--yellow); background: var(--yellow); color: #080a0c; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(255,212,0,.5); }
.blog-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1b2025; }
.blog-card__image::after { position: absolute; inset: auto 0 0; height: 35%; content: ""; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.035); }
.blog-card__body { flex: 1; display: flex; flex-direction: column; padding: 25px; }
.blog-card__meta { margin-bottom: 13px; color: var(--yellow) !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-card__date { display:block; margin-top:auto; padding-top:24px; color:#8D8C8C; font-size:.7rem; line-height:1.4; }
.blog-card h2 { margin: 0 0 13px; font-size: clamp(1.25rem, 1.7vw, 1.65rem); }
.blog-card p { color: var(--muted); font-size: .9rem; }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.hashtag { padding: 5px 9px; color: var(--yellow); font-size: .68rem; }
.hashtag:hover { border-color: var(--yellow); background: var(--yellow-soft); color: #fff; }
.portfolio-empty { padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.portfolio-empty p { color: var(--muted); }

.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 420px; }
.product-card__image { display: grid; place-items: center; background: #e9ebed; padding: 24px; }
.product-card__image img { width: 100%; max-width: 300px; transition:transform .25s ease; }
.product-card__image:hover img { transform:scale(1.025); }
.product-card__body { padding: 34px; display: flex; flex-direction: column; }
.product-card__body h3 a { color:inherit; }
.product-card__sku { margin:-5px 0 16px; color:#8D8C8C; font-family:"Courier New",monospace; font-size:.7rem; letter-spacing:.04em; }
.product-card__detail { width:fit-content; margin:18px 0 4px; border-bottom:1px solid var(--yellow); color:var(--yellow); font-size:.78rem; font-weight:800; }
.product-card__detail:hover { color:#fff; }
.product-card__body .button { margin-top: auto; align-self: flex-start; }
.price { color: var(--yellow); font-size: 1.5rem; font-weight: 800; }
.price del { color: var(--muted); font-size: 1rem; margin-right: 8px; }
.stock { display: inline-block; width: fit-content; margin-bottom: 14px; padding: 4px 9px; border-radius: 999px; background: var(--yellow-soft); color: var(--yellow); font-size: .72rem; font-weight: 800; }
.buy-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 24px; }
.buy-controls label { display: grid; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.buy-controls input { width: 82px; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #0b0e11; color: #fff; }
.buy-controls input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.buy-controls .button { margin-top: 0; }
.checkout-status { min-height: 24px; margin-top: 10px; color: var(--yellow); font-size: .8rem; }

.legal { max-width: 860px; }
.legal h2 { margin: 58px 0 18px; font-size: 2rem; }
.legal h3 { margin-top: 35px; }
.legal p, .legal li { color: #c5cad0; }
.legal a { color: var(--yellow); }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--yellow); background: var(--yellow-soft); color: #f3f3f3; }

.site-footer { border-top: 1px solid var(--line); background: #07090b; }
.footer__top { padding: 58px 0; display: grid; grid-template-columns: 1.2fr .75fr .75fr; gap: 50px; }
.footer__brand img { width: 174px; margin-bottom: 22px; }
.footer-flag { width: 150px; height: 3px; display: block; margin: -16px 0 22px 12px; background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%); }
.footer__brand p { max-width: 450px; color: var(--muted); }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links strong { margin-bottom: 8px; color: #fff; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--yellow); }
.footer__bottom { padding: 20px 0; display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); color: #8f969f; font-size: .76rem; }
.social { display: flex; gap: 16px; }
.social a { color: #c9cdd2; }
.social a:hover { color: var(--yellow); }

[data-reveal] { opacity: 1; transform: none; }
[data-reveal].will-reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; order: 3; }
  .sound-toggle { margin-left: auto; order: 2; }
  .nav__links {
    position: absolute;
    inset: 100% 0 auto;
    max-height: 0;
    visibility: hidden;
    padding: 0 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #090b0d;
    transition: max-height 250ms ease, padding 250ms ease;
  }
  .nav__links.is-open { visibility: visible; max-height: calc(100dvh - 68px); padding-block: 18px max(30px, env(safe-area-inset-bottom)); }
  .nav__links a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__links .language-switch { margin-top: 12px; padding: 12px 16px; align-self: flex-start; }
  .section-head, .contact-layout, .product-strip, .portfolio-intro { grid-template-columns: 1fr; gap: 28px; }
  .hero__layout { grid-template-columns: 1fr; }
  .hero__signal { display: none; }
  .services-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: auto; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .section--compact { padding: 58px 0; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .notice { font-size: .72rem; }
  .notice__inner { min-height: 34px; padding: 6px 0; line-height: 1.25; }
  .nav { min-height: 68px; }
  .brand img { width: 150px; }
  .brand__flag { width: 132px; }
  .hero { min-height: calc(100svh - 106px); }
  .hero__content { padding: 62px 0 92px; }
  .hero::after { background: linear-gradient(90deg, rgba(4,6,8,.96), rgba(4,6,8,.68)); }
  .hero__actions { margin: 30px 0 46px; }
  .page-hero { padding: 72px 0 62px; }
  .page-hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .capability-rail {
    overflow-x: auto;
    padding-inline: 14px;
    text-align: left;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .capability-rail::-webkit-scrollbar { display: none; }
  .metrics { grid-template-columns: 1fr; gap: 18px; }
  .services-grid, .process, .projects-grid, .detail-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-toolbar { align-items: stretch; flex-direction: column; }
  .portfolio-result { text-align: left; }
  .filter-chip, .hashtag { min-height: 44px; }
  .sound-toggle { width: 42px; padding: 0; justify-content: center; }
  .sound-toggle > span:last-child { display: none; }
  .service-card { min-height: 280px; }
  .process__step { min-height: 190px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card__image { min-height: 290px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .field input, .field textarea { font-size: 16px; }
  .product-strip__visual { min-height: 330px; }
}

@media (max-width: 440px) {
  .nav { gap: 10px; }
  .brand img { width: 128px; }
  .brand__flag { width: 112px; }
  .menu-toggle, .sound-toggle { width: 42px; height: 42px; }
  .hero__actions .button { width: 100%; }
  .contact-form { padding: 20px; }
  .blog-card__body, .project-card__body, .product-card__body { padding: 22px; }
}


:where(a, button, summary, input, textarea):focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
h1, h2 { text-wrap: balance; }
.hero h1 { font-size: clamp(2.7rem, 4.8vw, 4.8rem); }
.hero__content { padding-top: 68px; }
.eyebrow { max-width: 100%; }
.hero__layout > *, .section-head > *, .contact-layout > * { min-width: 0; }
.hero__signal-head { flex-wrap: wrap; }
.service-card { min-height: 285px; background: linear-gradient(145deg, #191e24, #101419); }
.service-card h3 { margin: 28px 0 15px; }
.service-card__link { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 24px; color: var(--yellow); font-size: .85rem; font-weight: 700; }
.service-card:focus-within { border-color: var(--yellow); }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.service-nav a { display: inline-flex; gap: 12px; align-items: center; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
.service-nav a:hover { background: var(--yellow-soft); border-color: var(--yellow); }
.service-nav span { color: var(--yellow); font-size: .72rem; font-weight: 800; }
.video-toggle { position: absolute; bottom: 70px; right: max(20px, calc((100% - var(--max)) / 2)); z-index: 3; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: #080a0ce6; color: var(--text); cursor: pointer; font-size: .78rem; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--yellow); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); padding-right: 28px; }
.faq-list a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.field-hint { color: var(--muted); font-size: .8rem; line-height: 1.5; }


.blog-card__primary { flex:1; display:flex; flex-direction:column; color:inherit; }
.blog-card__primary:hover { color:inherit; }
.blog-card__primary .blog-card__body { min-height:285px; }
.blog-card > .hashtags { margin:0; padding:0 25px 25px; }


.post-hero { position:relative; overflow:hidden; padding:82px 0; border-bottom:1px solid var(--line); background:#111; }
.post-hero::before { content:""; position:absolute; inset:0 0 auto 50%; height:1px; background:linear-gradient(90deg,transparent,#686868,transparent); opacity:.7; }
.post-hero__grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:clamp(42px,7vw,100px); align-items:center; }
.post-hero__copy { min-width:0; }
.post-back { display:inline-block; margin-bottom:44px; color:#8D8C8C; font-family:"Courier New",monospace; font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.post-back:hover { color:var(--yellow); }


.article-divider { display:block; width:164px; height:18px; margin:0 0 28px; overflow:visible; fill:none; stroke:var(--yellow); stroke-width:1.25; vector-effect:non-scaling-stroke; }
.article-divider circle { fill:var(--yellow); stroke:none; }
.article-divider--card { width:112px; height:13px; margin:0 0 19px; }
.post-hero h1 { margin:0 0 26px; font-size:clamp(3rem,5.8vw,5.6rem); line-height:.98; letter-spacing:-.055em; }
.post-hero .lead { max-width:700px; font-size:clamp(1rem,1.45vw,1.2rem); }
.post-meta { display:flex; flex-wrap:wrap; gap:0; margin-top:28px; color:#8D8C8C; font-size:.75rem; }
.post-meta span + span::before { content:"·"; margin:0 10px; color:var(--yellow); }
.post-hero .hashtags { margin-top:22px; }
.post-cover { min-width:0; width:100%; max-width:720px; margin:0; aspect-ratio:1; overflow:hidden; background:#fff; }
.post-cover img { width:100%; height:100%; object-fit:contain; }
.post-content { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:clamp(50px,8vw,120px); padding-block:clamp(75px,9vw,125px); }
.post-prose { max-width:790px; }
.post-section { padding:0 0 54px; }
.post-section + .post-section { padding-top:48px; border-top:1px solid var(--line); }
.post-section h2,.post-downloads h2,.post-gallery-section h2 { margin:10px 0 25px; font-size:clamp(2rem,3.4vw,3.5rem); }
.post-section p { margin:0 0 1.25em; color:var(--muted); font-size:1.05rem; line-height:1.85; }
.post-introduction p:first-child { color:var(--text); font-size:clamp(1.2rem,1.8vw,1.45rem); line-height:1.7; }
.post-article-body h2 { margin:48px 0 22px; font-size:clamp(1.8rem,3vw,3rem); }
.post-article-body h2:first-child { margin-top:0; }
.post-article-body > p:first-child { color:var(--text); font-size:clamp(1.15rem,1.7vw,1.35rem); line-height:1.75; }
.post-article-body .post-features { margin:12px 0 42px; }
.post-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 35px; margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.post-features li { position:relative; padding:17px 10px 17px 24px; border-bottom:1px solid var(--line); color:var(--muted); }
.post-features li::before { content:"+"; position:absolute; left:0; color:var(--yellow); font-family:"Courier New",monospace; }
.post-aside { align-self:start; position:sticky; top:135px; padding:27px; border:1px solid var(--line); background:#222121; }
.post-aside .eyebrow { margin-bottom:18px; }
.post-tag-list { display:flex; flex-wrap:wrap; gap:7px; }
.post-aside p { margin:28px 0 0; padding-top:24px; border-top:1px solid var(--line); color:#8D8C8C; font-size:.76rem; line-height:1.65; }
.post-gallery-section,.post-downloads { width:min(calc(100% - 44px),1320px); margin:0 auto; padding:0 0 clamp(80px,10vw,130px); }
.post-section-heading { max-width:760px; margin-bottom:38px; }
.post-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.post-gallery figure { margin:0; border:1px solid var(--line); background:#fff; }
.post-gallery img,.post-gallery video { display:block; width:100%; aspect-ratio:1; object-fit:contain; background:#fff; }
.post-gallery figcaption { padding:14px 17px; border-top:1px solid var(--line); background:#191818; color:var(--muted); font-size:.76rem; }
.post-downloads > div { display:flex; flex-wrap:wrap; gap:12px; }
.post-downloads a { padding:14px 18px; border:1px solid #757474; color:var(--text); font-size:.82rem; }
.post-downloads a:hover { border-color:var(--yellow); color:var(--yellow); }
.post-cta { border-top:1px solid var(--line); background:#111; }


.product-detail__meta { margin-top:24px; color:#8D8C8C; font-family:"Courier New",monospace; font-size:.72rem; }
.product-detail__price { display:flex; align-items:baseline; flex-wrap:wrap; gap:9px 14px; margin:24px 0 20px; }
.product-detail__price del { color:#8D8C8C; font-size:.95rem; }
.product-detail__price strong { color:var(--yellow); font-size:clamp(1.8rem,3vw,2.65rem); }
.product-detail__price small { flex-basis:100%; color:#8D8C8C; }
.product-cover img { object-fit:contain; background:#fff; }
.product-specs { margin:0; border-top:1px solid var(--line); }
.product-specs div { display:grid; grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr); gap:24px; padding:17px 0; border-bottom:1px solid var(--line); }
.product-specs dt { color:#8D8C8C; font-size:.8rem; }
.product-specs dd { margin:0; color:var(--text); font-weight:700; }
.product-related-link { margin-top:26px; font-size:.72rem; }
@media (max-width: 1100px) { .faq-layout { grid-template-columns: 1fr; gap: 25px; } }
@media (max-width: 900px) {
  .post-hero__grid,.post-content { grid-template-columns:1fr; }
  .post-cover { max-width:720px; }
  .post-aside { position:static; }
}
@media (max-width: 680px) {
  .hero__content { padding-bottom: 145px; }
  .hero h1 { font-size: clamp(2.5rem, 10.8vw, 3.5rem); }
  .video-toggle { right: 14px; }
  .service-card { min-height: 250px; }
  .service-nav { gap: 8px; }
  .service-nav a { padding: 10px 12px; }
  .post-hero { padding:58px 0; }
  .post-back { margin-bottom:32px; }
  .post-hero h1 { font-size:clamp(2.7rem,12vw,4.15rem); }
  .post-content { padding-block:68px; gap:35px; }
  .post-section { padding-bottom:42px; }
  .post-section + .post-section { padding-top:38px; }
  .post-features,.post-gallery { grid-template-columns:1fr; }
  .post-gallery-section,.post-downloads { width:min(calc(100% - 28px),1320px); }
  .product-specs div { grid-template-columns:1fr; gap:5px; }
}
