/* =========================================================
   SYNTRA Systems — site styles
   Palette & type taken from syntrasystems.it:
   black #000, charcoal #1a1a1a, gray #4d4d4d, #a6a6a6,
   cyan #01fdff accent; IBM Plex Mono headings, Inter body.
   ========================================================= */

:root {
  --black: #000;
  --ink: #0a0a0a;
  --charcoal: #1a1a1a;
  --panel: #141414;
  --line: #2b2b2b;
  --gray: #4d4d4d;
  --muted: #a6a6a6;
  --white: #fff;
  --cyan: #01fdff;
  --cyan-dim: rgba(1, 253, 255, .14);
  --cyan-glow: 0 0 0 1px rgba(1, 253, 255, .35), 0 0 24px rgba(1, 253, 255, .18);

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* spacing scale: every section uses these */
  --sy: clamp(68px, 8vw, 104px);        /* standard section padding */
  --sy-tight: clamp(44px, 5vw, 64px);   /* compact strips (stats, info cards) */
  --sy-head: clamp(34px, 4vw, 52px);    /* section heading -> content */

  --radius: 6px;
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--mono); font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 40px; height: 40px; stroke-width: 1.6; }
.ico--xl { width: 44px; height: 44px; stroke-width: 1.5; color: var(--cyan); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--black); padding: 8px 14px; z-index: 1000; font-family: var(--mono); }
.skip-link:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}
.h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.h2--accent { color: var(--cyan); }

.cursor { display: inline-block; color: var(--cyan); margin-left: .08em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14px/1 var(--mono);
  letter-spacing: .05em; text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 5px;
  border: 2px solid var(--cyan);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn--solid { background: var(--cyan); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--cyan); box-shadow: var(--cyan-glow); }
.btn--outline { color: var(--cyan); background: transparent; }
.btn--outline:hover { background: var(--cyan); color: var(--black); }
.btn--dark { background: var(--black); color: var(--cyan); border-color: var(--black); }
.btn--dark:hover { background: var(--charcoal); border-color: var(--charcoal); }

.link {
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  color: var(--cyan); display: inline-flex; gap: 6px;
}
.link::before { content: '>'; transition: transform .2s; }
.link:hover::before { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--cyan); color: var(--black); font: 500 13px/1 var(--mono); }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 28px; min-height: 38px; }
.topbar__contact { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar__support { background: var(--black); color: var(--cyan); padding: 12px 16px; align-self: stretch; }
.topbar__support:hover { text-decoration: none !important; background: var(--charcoal); }
@media (max-width: 700px) {
  .topbar__inner { justify-content: space-between; gap: 12px; }
  .topbar__contact a:last-child { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo img { width: 160px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  padding: 12px 10px; color: var(--white);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link .ico { width: 14px; height: 14px; transition: transform .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--cyan); }
.nav__link.is-active { border-bottom-color: var(--cyan); }

.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > .nav__link { padding-right: 2px; }
.sub-toggle { width: 22px; height: 36px; display: grid; place-items: center; color: var(--white); transition: color .2s; }
.sub-toggle .ico { width: 14px; height: 14px; transition: transform .2s; }
.has-sub:hover .sub-toggle, .has-sub > .nav__link.is-active + .sub-toggle { color: var(--cyan); }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  list-style: none; margin: 0; padding: 8px 0;
  background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--cyan);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
}
.sub a { display: block; padding: 10px 18px; font: 400 13px/1.3 var(--mono); color: #ddd; white-space: nowrap; }
@media (max-width: 1100px) { .sub a { white-space: normal; } }
.sub a::before { content: '> '; color: var(--cyan); opacity: 0; transition: opacity .15s; }
.sub a:hover { color: var(--cyan); background: var(--cyan-dim); }
.sub a:hover::before { opacity: 1; }
@media (min-width: 1101px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub-toggle .ico, .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
  .sub { top: 100%; }
  .sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav__link { padding-left: 7px; padding-right: 7px; font-size: 12px; }
  .nav { gap: 14px; }
  .logo img { width: 140px; }
}

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cyan); transition: transform .25s, opacity .25s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would become the containing block for the fixed menu panel */
  .header { backdrop-filter: none; background: var(--black); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 110px); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-top: 1px solid var(--line);
    padding: 12px 16px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 14px; border-bottom: 0; }
  .nav__link.is-active { border-bottom: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--cyan); margin: 0 0 12px 4px; border-radius: 0; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > .nav__link { flex: 1; width: auto; }
  .sub-toggle { width: 52px; height: 52px; border-left: 1px solid var(--line); }
  .sub-toggle .ico { width: 18px; height: 18px; }
  .has-sub .sub { flex-basis: 100%; }
  .has-sub.is-open .sub { display: block; }
  .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
  .nav__cta { margin-top: 24px; }
}

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(560px, 78vh, 760px); overflow: hidden; background: var(--black); }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide {
  display: flex; align-items: center; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s;
}
/* image layer with slow cinematic push-in (Ken Burns) */
.slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.25) 100%), var(--bg, none) center/cover no-repeat;
  transform: scale(1.14); transition: transform 9s cubic-bezier(.2,.6,.2,1);
}
.slide.is-active::before { transform: scale(1); }
.slide__content { position: relative; z-index: 2; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide--grid {
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.5)),
    radial-gradient(ellipse at 75% 60%, rgba(1,253,255,.18), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(1,253,255,.07) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(1,253,255,.07) 47px 48px),
    #020608;
}
.slide__content { padding-bottom: 90px; }
.slide__content > * { max-width: 720px; }
.slide.is-active .slide__content > * { animation: rise .8s both; }
.slide.is-active .slide__content > :nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__content > :nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.is-active .slide__content > * { animation: none; } }

.slide__title { font-size: clamp(36px, 6vw, 68px); font-weight: 600; margin-bottom: 20px; }
.slide__text { font-size: 18px; color: #d6d6d6; max-width: 620px; margin-bottom: 32px; }

.hero__arrow {
  position: absolute; top: 45%; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(0,0,0,.5); border-radius: var(--radius);
  color: var(--cyan); transition: background .2s, border-color .2s;
}
.hero__arrow .ico { width: 22px; height: 22px; }
.hero__arrow:hover { background: var(--cyan-dim); border-color: var(--cyan); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
.hero__dots { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 28px; height: 4px; background: rgba(255,255,255,.3); border-radius: 2px; transition: background .2s, width .2s; }
.hero__dots button.is-active { background: var(--cyan); width: 44px; }
@media (max-width: 800px) {
  .hero__arrow { display: none; }
  .hero { height: auto; min-height: 560px; }
  .slide { position: absolute; }
  .slide__content { padding-top: 60px; padding-bottom: 100px; }
  .hero__dots { bottom: 40px; }
}

/* ---------- Feature boxes ---------- */
.features { position: relative; z-index: 2; margin-top: -80px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 34px 30px; background: var(--charcoal); border: 1px solid var(--line);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.feature + .feature { border-left: 0; }
.feature .ico { color: var(--cyan); }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--cyan-glow); position: relative; z-index: 1; }
.feature--accent { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.feature--accent .ico, .feature--accent p { color: var(--black); }
@media (max-width: 800px) {
  .features { margin-top: 0; }
  .features__grid { grid-template-columns: 1fr; padding: 0; }
  .feature + .feature { border-left: 1px solid var(--line); border-top: 0; }
}

/* ---------- Showcase ---------- */
.showcase { padding: var(--sy) 0; }
.showcase__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.showcase__copy p { color: #cfcfcf; font-size: 17px; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--panel); padding: 34px 28px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dd { margin: 0; font: 600 clamp(40px, 5vw, 56px)/1 var(--mono); color: var(--cyan); }
.stat dt { font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 900px) { .showcase__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- About / terminal ---------- */
.about { padding: 0 0 var(--sy); }   /* follows .showcase on the same black background */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__copy p { color: #cfcfcf; }
.about__copy .btn { margin-top: 12px; }

.terminal { background: #050a0b; border: 1px solid #1d3a3b; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(1, 253, 255, .08), 0 0 0 1px rgba(1,253,255,.06); }
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0e1516; border-bottom: 1px solid #1d3a3b; }
.terminal__bar span { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.terminal__bar span:nth-child(1) { background: #d83a1f; }
.terminal__bar span:nth-child(2) { background: #a6a6a6; }
.terminal__bar span:nth-child(3) { background: var(--cyan); }
.terminal__bar p { margin: 0 0 0 10px; font: 400 12px/1 var(--mono); color: var(--muted); }
.terminal__body { margin: 0; padding: 22px 22px 26px; font: 400 14px/1.75 var(--mono); color: #d9d9d9; overflow-x: auto; white-space: pre; }
.t-prompt { color: var(--cyan); }
.t-dim { color: #6b7b7c; }
.t-ok { color: var(--cyan); }
@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .terminal__body { font-size: 11.5px; padding: 16px; } }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 860px; margin: 0 auto var(--sy-head); }
.section-head__lead { color: #cfcfcf; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 24px; flex-wrap: wrap; }
.section-head--split .h2 { margin-bottom: 0; }
/* no stray margin at the end of text blocks, so section padding is the only gap */
:where(.section-head, .split__copy, .showcase__copy, .about__copy, .coffee__inner, .page-hero__inner, .faq details > div, .tile__body, .feat, .pipeline li, .industry__body, .info-card) > :last-child { margin-bottom: 0; }

/* ---------- Services grid ---------- */
.services {
  padding: var(--sy) 0;
  background:
    linear-gradient(rgba(10,10,10,.9), rgba(10,10,10,.95)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.03) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.03) 31px 32px),
    var(--charcoal);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #4d4d4d; /* matches the gray service cards on syntrasystems.it */
  background: linear-gradient(180deg, #4d4d4d, #3a3a3a);
  border: 1px solid #5c5c5c; border-radius: 10px;
  padding: 38px 30px; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card .ico { margin: 0 auto 20px; display: block; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { margin: 0; color: #e0e0e0; font-size: 15px; }
.card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--cyan-glow); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Coffee CTA ---------- */
.coffee { background: var(--cyan); color: var(--black); padding: var(--sy) 0; }
.coffee__inner { max-width: 860px; text-align: center; }
.coffee__icon { width: 48px; height: 48px; stroke-width: 1.6; margin: 0 auto 16px; display: block; }
.coffee .h2 { font-weight: 600; }
.coffee__small { font: 500 14px/1.4 var(--mono); }
.form { margin-top: 36px; display: grid; gap: 16px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label span { display: block; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; font: 400 15px/1.4 var(--sans);
  background: rgba(255,255,255,.88); color: var(--black);
  border: 2px solid transparent; border-radius: 5px; transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--black); background: #fff; }
.form input.is-invalid { border-color: #d83a1f; }
.form textarea { resize: vertical; }
.form .btn { justify-self: center; margin-top: 8px; min-width: 180px; }
.form__status { text-align: center; font: 500 14px/1.4 var(--mono); min-height: 1.4em; margin: 0; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Industries carousel ---------- */
.industries { padding: var(--sy) 0; }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 2px 16px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.industry { scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.industry:hover { border-color: var(--cyan); transform: translateY(-4px); }
.industry__media {
  height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(1,253,255,.16), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(1,253,255,.06) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(1,253,255,.06) 23px 24px),
    #070b0c;
  border-bottom: 1px solid var(--line);
}
.industry__media .ico { width: 52px; height: 52px; stroke-width: 1.4; color: var(--cyan); }
.industry__media code { font: 400 13px/1 var(--mono); color: var(--muted); }
.industry__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.industry__body h3 { font-size: 20px; margin-bottom: 10px; }
.industry__body p { color: var(--muted); font-size: 15px; flex: 1; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--black); border: 1px solid var(--line); border-radius: 50%; color: var(--cyan);
  transition: border-color .2s, background .2s;
}
.carousel__btn .ico { width: 20px; height: 20px; }
.carousel__btn:hover { border-color: var(--cyan); background: var(--cyan-dim); }
.carousel__btn--prev { left: -60px; }
.carousel__btn--next { right: -60px; }
@media (max-width: 1340px) { .carousel__btn--prev { left: -8px; } .carousel__btn--next { right: -8px; } }
@media (max-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .carousel__track { grid-auto-columns: 85%; } .carousel__btn { display: none; } }

/* ---------- Resources / posts ---------- */
.resources { padding: 0 0 var(--sy); }   /* follows .industries on the same black background */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .25s, transform .25s; }
.post:hover { border-color: var(--cyan); transform: translateY(-4px); }
.post__media { height: 210px; display: flex; align-items: flex-end; padding: 22px; position: relative; }
.post__media code { font: 400 13px/1.7 var(--mono); color: #e6e6e6; }
.post__media code span { color: var(--cyan); }
.post__media--a { background: linear-gradient(160deg, rgba(1,253,255,.25), transparent 60%), url('assets/cta-bg.jpg') center/cover; }
.post__media--b { background: linear-gradient(200deg, rgba(1,253,255,.18), rgba(0,0,0,.4)), url('assets/hero-tech.jpg') center/cover; }
.post__media--c {
  background:
    radial-gradient(circle at 80% 20%, rgba(1,253,255,.3), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(1,253,255,.06) 14px 15px),
    #06090a;
}
.post__body { padding: 22px 24px 28px; }
.post__meta { display: flex; gap: 18px; flex-wrap: wrap; font: 400 12px/1 var(--mono); color: var(--muted); margin-bottom: 14px; }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__meta .ico { color: var(--cyan); }
.post h3 { font-size: 19px; margin-bottom: 18px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Partners ---------- */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--charcoal); padding: clamp(32px, 4vw, 44px) 0; }
.partners__inner { display: flex; justify-content: space-around; align-items: center; gap: 40px; flex-wrap: wrap; }
/* Logos are trimmed white files; each carries its own --w/--h so every mark
   has the same visual weight (equal area, capped height/width). */
.partners img { width: var(--w, auto); height: var(--h, 40px); flex: none; object-fit: contain; opacity: .82; transition: opacity .2s, filter .2s; }
.partners img:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(1,253,255,.5)); }
@media (max-width: 600px) {
  .partners__inner { justify-content: center; gap: 28px 36px; }
  .partners img { width: calc(var(--w, 120px) * .78); height: calc(var(--h, 40px) * .78); }
}

/* ---------- Footer ---------- */
.footer { background: var(--black); padding-top: 40px; }
.footer__logo { display: block; width: 150px; margin: 0 auto 28px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; padding-bottom: 32px; }
.footer__col .ico--xl { width: 30px; height: 30px; margin: 0 auto 10px; display: block; }
.footer__col h3 { font-size: 16px; margin-bottom: 10px; }
.footer__col p, .footer__col address { color: var(--muted); font-size: 14.5px; line-height: 1.55; font-style: normal; margin-bottom: 12px; }
.footer__col .btn { padding: 11px 20px; }
.footer__col a:not(.btn):hover { color: var(--cyan); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 400 14px/1.4 var(--mono); color: var(--muted); }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gray); }
.social { display: flex; justify-content: center; gap: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--cyan-dim); border-color: var(--cyan); }
.social .ico { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid var(--line); background: #050505; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.footer__bar p { margin: 0; }
.footer__bar a:hover { color: var(--cyan); }
@media (max-width: 800px) { .footer__cols { grid-template-columns: 1fr; gap: 28px; } .footer__bar-inner { justify-content: center; text-align: center; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--cyan); color: var(--black); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .ico { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
/* blur-in, like a lens pulling focus. Uses an animation with fill "backwards"
   so hover transforms on cards still work once the entrance is finished. */
.reveal { opacity: 0; }
.reveal.is-in { opacity: 1; animation: blur-in 1s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0ms); }
@keyframes blur-in {
  from { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } .reveal.is-in { animation: none; } }

/* =========================================================
   INNER PAGES
   ========================================================= */

/* ---------- Photo treatment (terminal duotone + scanlines) ---------- */
.photo { position: relative; overflow: hidden; background: #050a0b; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.08) brightness(.82); transition: filter .5s, transform .6s; }
.photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, rgba(1,253,255,.16), rgba(0,0,0,.25) 70%);
  mix-blend-mode: normal;
}
a:hover .photo img, .photo:hover img { filter: grayscale(0) contrast(1.05) brightness(.95); transform: scale(1.03); }

/* window-chrome frame around a photo */
.photo-frame { margin: 0; border: 1px solid #1d3a3b; border-radius: 10px; overflow: hidden; background: #050a0b; box-shadow: 0 30px 80px rgba(1,253,255,.07); }
.photo-frame__bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #0e1516; border-bottom: 1px solid #1d3a3b; }
.photo-frame__bar span { width: 11px; height: 11px; border-radius: 50%; background: #a6a6a6; }
.photo-frame__bar span:nth-child(1) { background: #d83a1f; }
.photo-frame__bar span:nth-child(3) { background: var(--cyan); }
.photo-frame__bar p { margin: 0 0 0 10px; font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-frame .photo { aspect-ratio: 4 / 3; }
.photo-frame--wide .photo { aspect-ratio: 16 / 10; }
.photo-frame figcaption { padding: 10px 16px; font: 400 12px/1.4 var(--mono); color: var(--muted); border-top: 1px solid #1d3a3b; }
.photo-frame figcaption::before { content: '# '; color: var(--cyan); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; padding: calc(var(--sy) + 8px) 0 var(--sy); overflow: hidden; isolation: isolate;
  background: #020608;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 50%, rgba(0,0,0,.45) 100%),
    var(--img, none) center/cover no-repeat;
  animation: push-in 2.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes push-in { from { transform: scale(1.12); filter: blur(6px); } to { transform: scale(1); filter: blur(0); } }
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 85% 30%, rgba(1,253,255,.14), transparent 55%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__inner > * { max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 600; margin: 0 0 20px; }
.page-hero__lead { font-size: 18px; color: #d6d6d6; margin-bottom: 30px; }
.page-hero__lead:last-child { margin-bottom: 0; }
.page-hero:has(.article-meta) h1 { font-size: clamp(30px, 4.2vw, 48px); }
.page-hero .chips { margin-top: 8px; }
.page-hero .page-hero__inner > * { animation: rise .7s both; }
.page-hero .page-hero__inner > :nth-child(2) { animation-delay: .08s; }
.page-hero .page-hero__inner > :nth-child(3) { animation-delay: .16s; }
.page-hero .page-hero__inner > :nth-child(4) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .page-hero .page-hero__inner > * { animation: none; } }
@media (max-width: 600px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.9)), var(--img, none) center/cover no-repeat; }
  .page-hero__lead { font-size: 16px; }
}

/* shell-prompt breadcrumb */
.prompt { font: 400 14px/1.5 var(--mono); color: var(--muted); margin: 0 0 18px; word-break: break-word; }
.prompt__user { color: #8ef9ff; }
.prompt a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(1,253,255,.35); text-underline-offset: 3px; }
.prompt a:hover { text-decoration-color: var(--cyan); }
.prompt__cmd { color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Generic sections ---------- */
.section { padding: var(--sy) 0; }
.section--alt { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--grid {
  background:
    linear-gradient(rgba(10,10,10,.9), rgba(10,10,10,.95)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.03) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.03) 31px 32px),
    var(--charcoal);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section--tight { padding: var(--sy-tight) 0; }
/* two plain (black) sections in a row share one gap instead of doubling it.
   Sections after a gray/grid band keep their full top padding. */
.section:not(.section--alt):not(.section--grid) + .section:not(.section--alt):not(.section--grid) { padding-top: 0; }

.lead { font-size: 18px; color: #d6d6d6; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* split: copy + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__copy p { color: #cfcfcf; }
.split__copy .btn-row { margin-top: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--rev > :first-child { order: 0; } }

/* stack: photo with terminal overlapping */
.stack { position: relative; padding-bottom: 60px; }
.stack .terminal { position: absolute; left: -40px; bottom: 0; width: min(440px, 90%); }
.stack .terminal__body { font-size: 12.5px; padding: 16px 18px; }
@media (max-width: 1100px) { .stack .terminal { left: 16px; } }
@media (max-width: 600px) { .stack { padding-bottom: 0; } .stack .terminal { position: relative; left: 0; width: 100%; margin-top: -30px; } }

/* checklist as terminal output */
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 44px; color: #d9d9d9; }
.checklist li::before { content: '[ok]'; position: absolute; left: 0; top: 1px; font: 500 13px/1.6 var(--mono); color: var(--cyan); }
.checklist strong { color: var(--white); font-weight: 600; }
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 600px) { .checklist--2 { grid-template-columns: 1fr; } }

/* feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; transition: border-color .25s, transform .25s; }
.feat:hover { border-color: rgba(1,253,255,.6); transform: translateY(-3px); }
.feat .ico { width: 34px; height: 34px; stroke-width: 1.6; color: var(--cyan); margin-bottom: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.feat__cmd { display: block; font: 400 12px/1 var(--mono); color: #5f7273; margin-bottom: 14px; }
@media (max-width: 1000px) { .feat-grid, .feat-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid, .feat-grid--4, .feat-grid--2 { grid-template-columns: 1fr; } }

/* photo tiles (link cards) */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.tile:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: var(--cyan-glow); }
.tile .photo { aspect-ratio: 16 / 9; }
.tile__path { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 400 12px/1 var(--mono); color: var(--cyan); background: rgba(0,0,0,.7); padding: 6px 8px; border-radius: 4px; }
.tile__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tile__body h3 { font-size: 20px; margin-bottom: 10px; }
.tile__body p { color: var(--muted); font-size: 15px; flex: 1; }
@media (max-width: 1000px) { .tiles--3, .tiles--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tiles, .tiles--3, .tiles--4 { grid-template-columns: 1fr; } }

/* pipeline / process */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 16px; counter-reset: step; }
.pipeline li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; }
.pipeline li::after { content: '\2192'; position: absolute; right: -15px; top: 26px; font: 500 16px/1 var(--mono); color: var(--cyan); z-index: 1; }
.pipeline li:last-child::after { display: none; }
.pipeline__n { display: block; font: 600 13px/1 var(--mono); color: var(--cyan); margin-bottom: 14px; }
.pipeline__n::before { content: '$ '; color: #5f7273; }
.pipeline h3 { font-size: 17px; margin-bottom: 8px; }
.pipeline p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .pipeline { grid-template-columns: 1fr 1fr; } .pipeline li::after { display: none; } }
@media (max-width: 600px) { .pipeline { grid-template-columns: 1fr; } }

/* diff comparison */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.diff__col { background: #050a0b; border: 1px solid #1d3a3b; border-radius: 10px; overflow: hidden; }
.diff__head { padding: 14px 20px; font: 500 13px/1 var(--mono); border-bottom: 1px solid #1d3a3b; background: #0e1516; color: var(--muted); }
.diff__col ul { list-style: none; margin: 0; padding: 14px 0; font: 400 14px/1.5 var(--mono); }
.diff__col li { padding: 7px 20px 7px 44px; position: relative; }
.diff__col--minus li { color: #e8a596; background: rgba(216,58,31,.06); }
.diff__col--minus li::before { content: '-'; position: absolute; left: 20px; color: #d83a1f; }
.diff__col--plus li { color: #cffeff; background: rgba(1,253,255,.05); }
.diff__col--plus li::before { content: '+'; position: absolute; left: 20px; color: var(--cyan); }
.diff__col li + li { margin-top: 2px; }
@media (max-width: 800px) { .diff { grid-template-columns: 1fr; } }

/* stats strip (reuses .stat) */
.stats--row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .stats--row { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.faq details[open] { border-color: rgba(1,253,255,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font: 500 16px/1.4 var(--mono); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '> '; color: var(--cyan); }
.faq summary::after { content: '+'; position: absolute; right: 24px; top: 18px; font: 500 20px/1 var(--mono); color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 24px 22px 44px; color: #cfcfcf; }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
/* CTA band: black stage with a glowing cyan "planet horizon" rising from below */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: #000; color: var(--white); padding: var(--sy) 0 calc(var(--sy) + 56px); border-top: 1px solid var(--line); text-align: center; }
.cta-band::before {
  content: ''; position: absolute; z-index: -2; left: 50%; bottom: -72%; width: min(1500px, 150%); aspect-ratio: 2.2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(1,253,255,.55), rgba(88,175,219,.28) 45%, rgba(0,60,90,.12) 70%, transparent 100%);
  filter: blur(30px); animation: orb-breathe 9s ease-in-out infinite alternate;
}
.cta-band::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -66%; width: min(1300px, 130%); aspect-ratio: 2.2 / 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, #000 92%, transparent 100%);
  box-shadow: 0 -2px 0 rgba(197,232,255,.85), 0 -10px 40px rgba(1,253,255,.55), 0 -40px 120px rgba(1,253,255,.25);
  animation: orb-rise 9s ease-in-out infinite alternate;
}
@keyframes orb-breathe { from { opacity: .75; transform: translateX(-50%) scale(.96); } to { opacity: 1; transform: translateX(-50%) scale(1.04); } }
@keyframes orb-rise { from { transform: translateX(-50%) translateY(10px); } to { transform: translateX(-50%) translateY(-8px); } }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-band__inner > div:first-child { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; margin-bottom: 12px; letter-spacing: -.02em; }
.cta-band p { margin: 0; font-size: 18px; max-width: 640px; color: #cfd8da; }
.cta-band .prompt { color: var(--cyan); margin-bottom: 14px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--dark { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.cta-band .btn--dark:hover { background: transparent; color: var(--cyan); box-shadow: var(--cyan-glow); }
.cta-band .btn-row .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.cta-band .btn-row .btn--outline:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--white); }
@media (max-width: 600px) { .cta-band::before, .cta-band::after { bottom: -40%; width: 220%; } }

/* key/value spec list */
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0; }
.kv > div { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.kv > div:nth-child(odd) { border-right: 1px solid var(--line); }
.kv dt { font: 500 13px/1.6 var(--mono); color: var(--cyan); min-width: 24px; }
.kv dd { margin: 0; color: #d9d9d9; }
@media (max-width: 700px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { border-right: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { font: 400 13px/1 var(--mono); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: #d9d9d9; }
.chips li::before { content: '#'; color: var(--cyan); margin-right: 4px; }

/* industry rows */
.ind-row + .ind-row { margin-top: var(--sy); }
.ind-row h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }

/* industry/post cards with photos (home) */
.industry__media--photo { padding: 0; display: block; height: 190px; position: relative; }
.industry__media--photo .photo { height: 100%; }
.industry__media--photo code { position: absolute; left: 14px; bottom: 12px; z-index: 1; background: rgba(0,0,0,.72); padding: 6px 8px; border-radius: 4px; color: var(--cyan); }
.post__media--photo { padding: 0; display: block; position: relative; }
.post__media--photo .photo { position: absolute; inset: 0; }
.post__media--photo code { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1; }

/* ---------- Contact ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.info-card .ico { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 14px; stroke-width: 1.6; }
.info-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.info-card p, .info-card address { margin: 0; font-style: normal; font: 500 15px/1.5 var(--mono); }
.info-card a:hover { color: var(--cyan); }
@media (max-width: 1000px) { .info-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .info-cards { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form--dark { margin-top: 0; }
.form--dark label span { color: var(--muted); }
.form--dark input, .form--dark textarea, .form--dark select {
  width: 100%; padding: 14px 16px; font: 400 15px/1.4 var(--sans);
  background: #050a0b; color: var(--white); border: 1px solid #2a3a3b; border-radius: 5px;
}
.form--dark select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form--dark input:focus, .form--dark textarea:focus, .form--dark select:focus { outline: none; border-color: var(--cyan); background: #071012; box-shadow: 0 0 0 3px rgba(1,253,255,.15); }
.form--dark .btn { justify-self: start; }
.form--dark .form__status { text-align: left; color: var(--cyan); }
.form label.full { grid-column: 1 / -1; }
.map { border: 1px solid #1d3a3b; border-radius: 10px; overflow: hidden; background: #050a0b; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- Articles ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 17px; color: #d6d6d6; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; color: var(--white); }
.prose h2::before { content: '## '; color: var(--cyan); }
.prose h3 { font-size: 19px; margin: 30px 0 10px; color: var(--white); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--cyan); background: var(--panel); font: 400 16px/1.6 var(--mono); color: #e6e6e6; }
.prose .terminal { margin: 28px 0; }
.prose .photo-frame { margin: 8px 0 32px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font: 400 13px/1 var(--mono); color: var(--muted); margin-bottom: 0; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .ico { color: var(--cyan); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.sidebar__box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.sidebar__box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; color: var(--cyan); }
.sidebar__box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sidebar__box li a { font: 400 14px/1.45 var(--mono); color: #d9d9d9; }
.sidebar__box li a::before { content: '> '; color: var(--cyan); }
.sidebar__box li a:hover { color: var(--cyan); }
.sidebar__box p { color: var(--muted); font-size: 15px; }
.sidebar__box--cta { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.sidebar__box--cta h3 { color: var(--black); }
.sidebar__box--cta p { color: #053; color: rgba(0,0,0,.75); }
@media (max-width: 1000px) { .sidebar { position: static; } }

/* newsletter */
.newsletter { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.newsletter input { flex: 1 1 240px; padding: 14px 16px; font: 400 15px/1.4 var(--mono); background: #050a0b; color: var(--white); border: 1px solid #2a3a3b; border-radius: 5px; }
.newsletter input:focus { outline: none; border-color: var(--cyan); }
.newsletter .form__status { flex-basis: 100%; text-align: left; color: var(--cyan); }

.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; }
.chips a { color: inherit; }
.chips a:hover { color: var(--cyan); }

/* ---------- 404 ---------- */
.notfound { position: relative; overflow: hidden; isolation: isolate; min-height: 60vh; display: grid; place-items: center; padding: var(--sy) 0; }
.notfound .terminal { max-width: 720px; width: 100%; }

/* =========================================================
   MOTION & EFFECTS  (inspired by screen.movie, in SYNTRA cyan)
   ========================================================= */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); --blue: #58afdb; --ice: #c5e8ff; }

/* ---------- Page-to-page transitions (View Transitions API) ---------- */
@view-transition { navigation: auto; }
.header { view-transition-name: site-header; }
.topbar { view-transition-name: site-topbar; }
::view-transition-old(root) { animation: vt-out .38s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .65s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(12px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(12px); transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--ice));
  box-shadow: 0 0 12px rgba(1,253,255,.8);
}

/* ---------- Floating glass "pill" header on scroll (desktop) ---------- */
.logo img { transition: width .5s var(--ease-out); }
@media (min-width: 1101px) {
  .header { height: var(--header-h); transition: background-color .45s, border-color .45s; }
  .header__inner {
    height: 100%; min-height: 0; border: 1px solid transparent;
    transition: max-width .6s var(--ease-out), height .6s var(--ease-out), margin .6s var(--ease-out), padding .6s var(--ease-out),
                border-radius .6s var(--ease-out), background-color .45s, border-color .45s, box-shadow .45s;
  }
  .header.is-scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.is-scrolled .header__inner {
    max-width: 1170px; height: 62px; margin-top: 11px; padding: 0 12px 0 22px; border-radius: 18px;
    background: rgba(6,10,11,.66); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
    border-color: rgba(1,253,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 50px rgba(0,0,0,.55), 0 0 40px rgba(1,253,255,.08);
  }
  .header.is-scrolled .logo img { width: 130px; }
  .header.is-scrolled .nav__cta { padding: 11px 18px; border-radius: 10px; }
}

/* ---------- Eyebrow pills with a live status dot ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 18px;
  font-size: 12px; border-radius: 999px;
  border: 1px solid rgba(1,253,255,.22);
  background: linear-gradient(180deg, rgba(1,253,255,.09), rgba(1,253,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 24px rgba(1,253,255,.06);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse-dot 2.2s ease-in-out infinite; flex: none; }
@keyframes pulse-dot { 50% { opacity: .35; box-shadow: 0 0 2px var(--cyan); } }

/* ---------- Word-by-word headline reveal ---------- */
.w { display: inline-block; }
@keyframes word-in { from { opacity: 0; filter: blur(12px); transform: translateY(.42em); } to { opacity: 1; filter: blur(0); transform: none; } }
.is-play .w, .slide.is-active .w, .reveal.is-in .w {
  animation: word-in .9s var(--ease-out) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms + 120ms);
}
.page-hero .page-hero__inner > h1 { animation: none; }
.slide.is-active .slide__content > .slide__title { animation: none; }

/* ---------- Animated canvas layers ---------- */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .fx-canvas { z-index: 1; mix-blend-mode: screen; -webkit-mask: linear-gradient(90deg, rgba(0,0,0,.35), #000 60%); mask: linear-gradient(90deg, rgba(0,0,0,.35), #000 60%); }
.page-hero .fx-canvas, .notfound .fx-canvas { -webkit-mask: linear-gradient(90deg, rgba(0,0,0,.4), #000 55%); mask: linear-gradient(90deg, rgba(0,0,0,.4), #000 55%); }
.hero__arrow, .hero__dots { z-index: 3; }
.page-hero .fx-canvas { z-index: -1; mix-blend-mode: screen; opacity: .9; }
.notfound .fx-canvas { z-index: -1; opacity: .8; }

/* ---------- Cursor spotlight on cards ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; }
.spot::before { z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(1,253,255,.13), transparent 45%); }
.spot::after {
  z-index: 2; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(1,253,255,.95), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Button shine ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .85s var(--ease-out);
}
.btn:hover::after { transform: translateX(130%); }
.btn--outline::after, .btn--dark::after { background: linear-gradient(115deg, transparent 35%, rgba(1,253,255,.35) 50%, transparent 65%); }

/* ---------- Living grid sections ---------- */
.section--grid, .services { position: relative; overflow: hidden; isolation: isolate; animation: grid-drift 26s linear infinite; }
@keyframes grid-drift { to { background-position: 0 0, 0 32px, 32px 0, 0 0; } }
.section--grid::before, .section--grid::after, .services::before, .services::after {
  content: ''; position: absolute; z-index: -1; width: 70vw; max-width: 980px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(1,253,255,.13), transparent);
  animation: blob-float 18s ease-in-out infinite alternate;
}
.section--grid::before, .services::before { left: -20%; top: -45%; }
.section--grid::after, .services::after { right: -20%; bottom: -50%; background: radial-gradient(closest-side, rgba(88,175,219,.14), transparent); animation-delay: -9s; }
@keyframes blob-float { to { transform: translate(16%, 20%) scale(1.15); } }

/* ---------- Coffee band: drifting light ---------- */
.coffee { position: relative; overflow: hidden; isolation: isolate; }
.coffee::before {
  content: ''; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 58px, rgba(0,0,0,.055) 58px 60px);
  animation: stripes 14s linear infinite;
}
.coffee::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; top: -40%; left: -20%; width: 70%; height: 180%;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent);
  animation: sheen-drift 12s ease-in-out infinite alternate;
}
@keyframes stripes { to { transform: translateX(132.4px); } }
@keyframes sheen-drift { to { transform: translateX(110%); } }

/* ---------- Glowing app-icon over CTA bands ---------- */
.cta-band__inner::before {
  content: ''; width: 84px; height: 84px; border-radius: 22px; flex: none;
  background: url('assets/favicon.png') center / 74% no-repeat, linear-gradient(180deg, #0c1618, #030607);
  border: 1px solid rgba(1,253,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 40px rgba(1,253,255,.35), 0 0 100px rgba(1,253,255,.18);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Partner logo marquee ---------- */
.partners { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners__inner.is-marquee { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; max-width: none; padding: 0; margin: 0; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.partners__inner.is-marquee img { margin: 0 44px; }
@media (max-width: 600px) { .partners__inner.is-marquee img { margin: 0 26px; } }
.partners:hover .is-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats glow ---------- */
.stat dd { text-shadow: 0 0 28px rgba(1,253,255,.35); }

/* ---------- Scroll-linked photo frames (where supported) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photo-frame { transform-origin: 50% 100%; animation: frame-in linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    .photo-frame .photo img { animation: img-parallax linear both; animation-timeline: view(); }
  }
}
@keyframes frame-in { from { opacity: .15; transform: perspective(1400px) rotateX(16deg) scale(.9); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes img-parallax { from { transform: scale(1.14) translateY(-5%); } to { transform: scale(1.14) translateY(5%); } }

/* ---------- Respect reduced motion everywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  .section--grid, .services, .coffee::before, .coffee::after, .cta-band::before, .cta-band::after, .cta-band__inner::before,
  .eyebrow::before, .partners__inner.is-marquee, .section--grid::before, .section--grid::after, .services::before, .services::after,
  .page-hero::before, .is-play .w, .slide.is-active .w, .reveal.is-in .w { animation: none !important; }
  .slide::before { transition: none; transform: none; }
}
