:root {
  --ink: #0b1220;
  --ink-2: #111827;
  --paper: #f7f8f5;
  --paper-strong: #ffffff;
  --muted: #617064;
  --muted-dark: #aab7c3;
  --line: #dce3dd;
  --line-dark: rgba(255, 255, 255, 0.14);
  --orange: #ff9900;
  --teal: #16c6bd;
  --green: #35b779;
  --blue: #4f7cff;
  --red: #d55c4a;
  --shadow: 0 24px 70px rgba(8, 17, 34, 0.16);
  --max-width: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 10px 14px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 12, 23, 0.78);
  color: #eef5f2;
  padding: 0 28px;
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 40px rgba(7, 12, 23, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
  margin-left: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 8px;
  color: rgba(238, 245, 242, 0.72);
  font-size: 0.92rem;
  font-weight: 680;
  padding: 9px 11px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
}

.language-switch button {
  min-width: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(238, 245, 242, 0.72);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 780;
  padding: 7px 9px;
}

.language-switch button.is-active {
  background: #ffffff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--ink);
  color: #f4f7fb;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  background:
    linear-gradient(110deg, rgba(9, 17, 31, 0.98) 0%, rgba(11, 18, 32, 0.92) 45%, rgba(11, 18, 32, 0.62) 72%, rgba(11, 18, 32, 0.92) 100%),
    url("assets/cloud-topology.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(22, 198, 189, 0.12) 44% 45%, transparent 45% 100%),
    linear-gradient(45deg, transparent 0 61%, rgba(255, 153, 0, 0.15) 61% 62%, transparent 62% 100%);
  content: "";
}

.hero-canvas {
  position: absolute;
  top: calc(18% - 120px);
  right: max(770px, calc((100vw - var(--max-width)) / 2 + 746px));
  z-index: 2;
  width: min(640px, 46vw);
  height: min(500px, 52vh);
  opacity: 0.86;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100% - 48px, var(--max-width));
  min-height: calc(100svh - var(--header-height) - 118px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 58px;
  padding: 62px 0 34px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 830;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-size: 5.35rem;
  line-height: 0.93;
}

h2 {
  margin-bottom: 0;
  font-size: 2.55rem;
  line-height: 1.06;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-lead {
  max-width: 720px;
  color: #d5e0e7;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 780;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--orange), #ffd166);
  color: #131c20;
  box-shadow: 0 18px 34px rgba(255, 153, 0, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7fb;
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.portrait-panel {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 2371 / 3874;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.portrait-panel::before {
  display: none;
}

.portrait-panel img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  filter: drop-shadow(0 28px 48px rgba(3, 9, 20, 0.42));
}

.portrait-panel::after {
  display: none;
}

.hero-strip {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.hero-strip dl {
  display: grid;
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-strip div {
  border-left: 1px solid var(--line-dark);
  padding: 22px 24px;
}

.hero-strip div:last-child {
  border-right: 1px solid var(--line-dark);
}

.hero-strip dt {
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 860;
  line-height: 1.1;
}

.hero-strip dd {
  margin: 6px 0 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

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

.about-layout,
.toolkit-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.about-band {
  background: var(--paper-strong);
}

.about-copy {
  color: #3d4b43;
  font-size: 1.06rem;
}

.about-copy > p:last-of-type,
.contact-layout p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.about-pillars article,
.expertise-card,
.toolkit-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 24px;
}

.about-pillars article {
  background:
    linear-gradient(180deg, rgba(22, 198, 189, 0.07), rgba(255, 255, 255, 0)),
    #ffffff;
}

.about-pillars span,
.card-index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 860;
}

.about-pillars h3 {
  font-size: 1rem;
}

.about-pillars p,
.expertise-card p,
.toolkit-group p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.split-heading > p {
  margin-bottom: 0;
  color: var(--muted);
}

.expertise-band {
  position: relative;
  background:
    linear-gradient(135deg, #f3f7f5 0%, #eef4f7 42%, #f7f2e8 100%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expertise-card {
  position: relative;
  min-height: 242px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.expertise-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  content: "";
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 198, 189, 0.45);
  box-shadow: 0 24px 60px rgba(8, 17, 34, 0.11);
}

.expertise-card.is-featured {
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.12), rgba(22, 198, 189, 0.08)),
    #ffffff;
}

.experience-band {
  background: #ffffff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 174px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  padding: 0 0 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  color: var(--muted);
  font-weight: 820;
}

.timeline-content {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.timeline-item:last-child .timeline-content {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-content::before {
  position: absolute;
  top: 7px;
  left: -55px;
  width: 13px;
  height: 13px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--line);
  content: "";
}

.timeline-content p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.toolkit-band {
  background:
    linear-gradient(110deg, rgba(11, 18, 32, 0.97), rgba(12, 25, 43, 0.94)),
    url("assets/cloud-topology.jpg") center / cover no-repeat;
  color: #f4f7fb;
}

.toolkit-band .section-kicker {
  color: #8ce7df;
}

.toolkit-groups {
  display: grid;
  gap: 16px;
}

.toolkit-group {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.toolkit-group h3 {
  margin-bottom: 14px;
}

.chip-list,
.certificate-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list {
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #edf6f4;
  font-size: 0.86rem;
  font-weight: 740;
  padding: 6px 10px;
}

.certificates-band {
  background: #f7f2e8;
}

.certificate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.certificate-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  min-height: 86px;
  padding: 12px 16px;
  font-weight: 740;
}

.cert-badge-img {
  width: 63px;
  height: 63px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(8, 17, 34, 0.12));
}

.contact-band {
  background: var(--ink);
  color: var(--paper);
}

.contact-band .section-kicker {
  color: #8ce7df;
}

.contact-layout p {
  max-width: 620px;
  color: #dce5df;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(246, 248, 244, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

a.contact-link {
  transition:
    background 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

a.contact-link:hover,
a.contact-link:focus-visible {
  border-color: rgba(22, 198, 189, 0.42);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.contact-link span {
  color: #b8c6bf;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #070c17;
  color: #d8e0db;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    display: none;
    width: min(320px, calc(100vw - 36px));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(7, 12, 23, 0.96);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 0 38px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .hero-canvas {
    top: calc(46% - 120px);
    right: 246px;
    width: min(620px, calc(100vw - 48px));
    height: 360px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-strip dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .toolkit-layout,
  .contact-layout,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-pillars,
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section-inner,
  .hero-inner,
  .hero-strip dl {
    width: min(100% - 32px, var(--max-width));
  }

  .language-switch button {
    min-width: 36px;
    padding: 7px;
  }

  h1 {
    max-width: 8ch;
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.76rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-canvas {
    top: 50%;
    right: 16px;
    width: calc(100vw - 32px);
    height: 320px;
    opacity: 0.68;
  }

  .hero-strip dl,
  .about-pillars,
  .expertise-grid,
  .certificate-list {
    grid-template-columns: 1fr;
  }

  .hero-strip div {
    border-right: 1px solid var(--line-dark);
  }

  .section {
    padding: 72px 0;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

  .timeline-content::before {
    left: -34px;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 10px;
  }

}

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

  .hero-canvas {
    display: none;
  }
}
