@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #1e2322;
  --bg-2: #222827;
  --panel: #282e2c;
  --panel-2: #2b3230;
  --text: #f5f5f2;
  --muted: #a9b0ad;
  --line: rgba(255,255,255,.12);
  --accent: #35c3d4;
  --accent-2: #1e7f8d;
  --max: 1180px;
  --radius: 18px;
  --font-main: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.readable,
.readable-wide {
  max-width: none;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; font-weight: 400; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30,35,34,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0;
}
.header-logo {
  display: block;
  width: 62px;
  height: auto;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.15;
}
.brand-name {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .015em;
  white-space: nowrap;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
}
.nav a:hover { color: var(--accent); }

.hero {
  padding: 74px 0 82px;
  background:
    radial-gradient(circle at 78% 42%, rgba(53,195,212,.16), transparent 36%),
    linear-gradient(135deg, #1f2a29 0%, #202625 58%, #1d2221 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr);
  align-items: center;
  gap: 48px;
}
.hero-copy {
  max-width: 720px;
}
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(38px, 4.0vw, 56px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero-slogan {
  margin: 20px 0 0;
  color: var(--accent);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero-main-logo {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 55px rgba(0,0,0,.25));
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: var(--font-heading); line-height: 1.22; letter-spacing: -0.01em; }
h1 {
  max-width: 960px;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
}
h2 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 600;
}
h3 {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 600;
}
.lead { display: none; }
.hero-text {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
}

.section { padding: 78px 0; }
.section-muted { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.technologies {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.tech-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.tech-card {
  min-height: 178px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tech-icon {
  display: block;
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1;
}
.tech-type {
  display: block;
  min-height: 34px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tech-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}
.text-panel,
.official-list,
.long-list article,
.activity-list article,
.detail-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.text-panel { padding: 34px 38px; }
.text-panel p:last-child { margin-bottom: 0; }

.official-list {
  margin: 0;
  padding: 28px 34px 28px 58px;
  color: var(--text);
}
.official-list li { padding-left: 4px; margin-bottom: 14px; }
.official-list li::marker { color: var(--accent); font-weight: 500; }
.afterword {
  margin: 24px 0 0;
  color: var(--muted);
  font-style: italic;
}

.long-list {
  display: grid;
  gap: 18px;
}
.long-list article { padding: 26px 30px; }
.long-list p { margin-bottom: 0; color: var(--muted); }

.activity-list {
  display: grid;
  gap: 16px;
}
.activity-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 24px 28px;
}
.activity-list span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.activity-list p { margin: 0; color: var(--muted); }

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-block { padding: 28px 30px; }
.detail-block p,
.detail-block li { color: var(--muted); }
.detail-block strong { color: var(--text); }
.compact-list { margin: 0; padding-left: 20px; }
.compact-list li { margin-bottom: 10px; }
.note { margin-top: 18px; }
.note h3 { color: var(--accent); }

.contacts {
  padding: 74px 0;
  background: linear-gradient(135deg, #1e2322 0%, #202d2d 100%);
  border-top: 1px solid var(--line);
}
.contacts-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.contact-list p { color: var(--muted); }
.contact-list p:last-child { margin-bottom: 0; }
.contact-list strong { color: var(--text); }

.site-footer {
  padding: 38px 0;
  background: #171b1a;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  display: block;
  width: 82px;
  height: auto;
  object-fit: contain;
}
.footer-title {
  margin: 0;
  font-weight: 600;
}
.footer-slogan,
.copyright {
  margin: 0;
  color: var(--muted);
}
.footer-slogan { color: var(--accent); font-weight: 500; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .tech-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .header-logo { width: 165px; max-width: 72vw; }
  .nav { justify-content: flex-start; gap: 14px 20px; font-size: 15px; }
  .hero { padding: 64px 0 68px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  h2 { font-size: 28px; }
  .hero-text { font-size: 18px; }
  .section { padding: 58px 0; }
  .activity-list article { grid-template-columns: 1fr; gap: 8px; }
  .details-grid, .contacts-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .tech-strip { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, var(--max)); }
  .nav { display: none; }
  .text-panel, .official-list, .long-list article, .activity-list article, .detail-block, .contact-list { padding: 22px; }
  .official-list { padding-left: 42px; }
  .footer-logo { width: 64px; }
}

/* === v1.2 corrections === */
.brand {
  gap: 16px;
}
.header-logo {
  width: 76px;
  max-width: none;
  height: 58px;
  object-fit: contain;
  object-position: center;
}
.brand-name {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 600;
  white-space: nowrap;
}
.header-inner {
  min-height: 76px;
}
.hero {
  padding: 74px 0 80px;
}
.hero .eyebrow {
  display: none;
}
h1 {
  max-width: 860px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.12;
}
h2 {
  max-width: 900px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.2;
}
h3 {
  font-size: 18px;
}
.lead {
  margin-top: 22px;
  font-size: 22px;
}
.hero-text {
  font-size: 18px;
  max-width: 820px;
}
.section {
  padding: 68px 0;
}
.eyebrow {
  font-size: 13px;
  margin-bottom: 14px;
}
.footer-logo {
  width: 270px;
  max-width: 45vw;
  height: auto;
}
.footer-brand {
  align-items: center;
}
.footer-title {
  display: none;
}

@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .header-logo { width: 64px; height: 50px; }
  .brand-name { font-size: 18px; }
  h1 { font-size: clamp(34px, 9vw, 48px); }
  h2 { font-size: 25px; }
  .hero { padding: 56px 0 60px; }
  .footer-logo { width: 230px; max-width: 72vw; }
}

@media (max-width: 560px) {
  .tech-strip { grid-template-columns: 1fr; }
  .brand { gap: 12px; }
  .header-logo { width: 54px; height: 42px; }
  .brand-name { font-size: 16px; }
  .footer-logo { width: 210px; max-width: 84vw; }
}


/* v14 alignment fixes: every section uses the same container grid */
.section > .container,
.hero > .container,
.site-header > .container,
.footer > .container {
  width: min(var(--max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  max-width: 1040px;
}
.text-panel {
  max-width: 100%;
}


/* v15 hero logo breathing glow */
.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(620px, 112%);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(0.96);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(53, 195, 212, 0.24) 0%,
      rgba(53, 195, 212, 0.14) 34%,
      rgba(53, 195, 212, 0.06) 56%,
      rgba(53, 195, 212, 0.00) 74%);
  filter: blur(16px);
  opacity: 0.72;
  z-index: -1;
  pointer-events: none;
  animation: heroGlowBreath 6.5s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.hero-main-logo {
  position: relative;
  z-index: 1;
}

@keyframes heroGlowBreath {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.54;
    filter: blur(18px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.86;
    filter: blur(22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before {
    animation: none;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.68;
  }
}

/* === v16 engineering polish === */
.scroll-progress {
  --scroll-progress: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 18%, rgba(86, 226, 239, .95) 100%);
  box-shadow: 0 0 18px rgba(53, 195, 212, .45);
  pointer-events: none;
}

.hero,
.section,
.contacts {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  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: 52px 52px;
  mask-image: radial-gradient(circle at 72% 48%, rgba(0,0,0,.95), transparent 58%);
  opacity: .34;
  pointer-events: none;
}

.hero-inner,
.section > .container,
.contacts-inner,
.site-footer .container {
  position: relative;
  z-index: 1;
}

.section::before,
.contacts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(53, 195, 212, .55), transparent);
  opacity: .35;
  pointer-events: none;
}

.reveal-ready .hero-inner,
.reveal-ready .section > .container,
.reveal-ready .contacts-inner,
.reveal-ready .site-footer .container {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal-ready .hero-inner.is-visible,
.reveal-ready .section > .container.is-visible,
.reveal-ready .contacts-inner.is-visible,
.reveal-ready .site-footer .container.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-card,
.text-panel,
.official-list,
.long-list article,
.activity-list article,
.detail-block,
.contact-list {
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background-color 240ms ease;
}

.tech-card:hover,
.long-list article:hover,
.activity-list article:hover,
.detail-block:hover,
.contact-list:hover,
.text-panel:hover,
.official-list:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 195, 212, .38);
  box-shadow: 0 24px 70px rgba(0,0,0,.20), 0 0 0 1px rgba(53,195,212,.05) inset;
}

.official-list li,
.compact-list li {
  transition: color 180ms ease, transform 180ms ease;
}

.official-list li:hover,
.compact-list li:hover {
  color: var(--text);
  transform: translateX(2px);
}

.activity-list article span,
.tech-card strong,
.detail-block h3 {
  transition: color 200ms ease;
}

.activity-list article:hover span,
.tech-card:hover strong,
.detail-block:hover h3 {
  color: var(--accent);
}

.nav a {
  position: relative;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent);
  opacity: .8;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .reveal-ready .hero-inner,
  .reveal-ready .section > .container,
  .reveal-ready .contacts-inner,
  .reveal-ready .site-footer .container,
  .tech-card,
  .text-panel,
  .official-list,
  .long-list article,
  .activity-list article,
  .detail-block,
  .contact-list,
  .official-list li,
  .compact-list li,
  .nav a,
  .nav a::after {
    transition: none;
  }
}

/* === v20 technology block: calmer explanatory structure === */
.tech-note {
  max-width: 1040px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.018));
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}
.tech-note p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  max-width: 980px;
}
.tech-note .tech-lead {
  margin-top: 18px;
  color: rgba(238, 242, 241, .88);
  font-size: 16px;
  line-height: 1.65;
}
.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid rgba(53, 195, 212, .16);
}
.tech-list-item {
  position: relative;
  padding: 18px 22px 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.tech-list-item:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,.075);
}
.tech-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(53,195,212,.55);
}
.tech-list dt {
  margin: 0 0 7px;
  color: var(--text);
  font-weight: 650;
  font-size: 15px;
  line-height: 1.35;
}
.tech-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.tech-note:hover {
  border-color: rgba(53, 195, 212, .28);
  box-shadow: 0 24px 70px rgba(0,0,0,.18), 0 0 0 1px rgba(53,195,212,.04) inset;
}

@media (max-width: 760px) {
  .tech-list { grid-template-columns: 1fr; }
  .tech-list-item:nth-child(odd) { border-right: 0; }
}

@media (max-width: 560px) {
  .tech-note { padding: 22px; }
  .tech-note p { font-size: 16px; }
  .tech-note .tech-lead { font-size: 15px; }
  .tech-list-item { padding: 16px 12px 16px 18px; }
}

/* === v18 based on v17 stronger active hero glow === */
.hero-visual::before {
  width: min(720px, 128%);
  background:
    radial-gradient(circle at center,
      rgba(86, 226, 239, 0.42) 0%,
      rgba(53, 195, 212, 0.26) 28%,
      rgba(35, 122, 210, 0.15) 48%,
      rgba(53, 195, 212, 0.06) 66%,
      rgba(53, 195, 212, 0.00) 82%);
  filter: blur(18px);
  opacity: 0.88;
  animation: heroGlowBreathActive 4.8s ease-in-out infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 104%);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(86, 226, 239, 0.16) 22%,
      rgba(86, 226, 239, 0.05) 52%,
      rgba(86, 226, 239, 0) 76%);
  filter: blur(8px);
  opacity: 0.46;
  z-index: -1;
  pointer-events: none;
  animation: heroGlowCorePulse 3.2s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

@keyframes heroGlowBreathActive {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.62;
    filter: blur(18px);
  }
  45% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
    filter: blur(26px);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.82;
    filter: blur(22px);
  }
}

@keyframes heroGlowCorePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0.30;
    filter: blur(10px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.03);
    opacity: 0.68;
    filter: blur(6px);
  }
}

.hero-main-logo {
  filter: drop-shadow(0 0 18px rgba(86, 226, 239, 0.18));
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before,
  .hero-visual::after {
    animation: none;
  }
}


/* === v22 details layout fix === */
.details-grid .detail-block:nth-child(3) {
  grid-column: 1 / -1;
}

.details-grid .detail-block:nth-child(3) .compact-list {
  columns: 2;
  column-gap: 42px;
}

.details-grid .detail-block:nth-child(3) .compact-list li {
  break-inside: avoid;
}

@media (max-width: 860px) {
  .details-grid .detail-block:nth-child(3) {
    grid-column: auto;
  }

  .details-grid .detail-block:nth-child(3) .compact-list {
    columns: 1;
  }
}
.text-link {
  color: #39d7e8;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover {
  color: #7cecff;
  border-bottom-color: transparent;
}

.inline-link {
  color: #39d7e8;
  text-decoration: none;
  border-bottom: 2px solid rgba(57, 215, 232, 0.75);
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

.inline-link:visited {
  color: #39d7e8;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #7cecff;
  border-bottom-color: #7cecff;
  text-shadow: 0 0 14px rgba(57, 215, 232, 0.35);
}