/* =====================================================================
   Acciosonic — static site styles
   ===================================================================== */

:root {
  --navy: #0F1B3D;
  --navy-deep: #071026;
  --ink: #1E293B;
  --slate: #475569;
  --muted: #94A3B8;
  --cyan: #06B6D4;
  --cyan-soft: #CFFAFE;
  --coral: #FF7A59;
  --coral-deep: #CC4A2A;
  --gold: #FBBF24;
  --light: #F5F7FA;
  --paper: #FAFBFD;
  --white: #FFFFFF;
  --line: #E2E8F0;

  --nav-height: 64px;
  --brand-font: "Calibri", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  font-family: var(--brand-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--coral);
  color: white;
  padding: 12px 18px;
  font-weight: 600;
  z-index: 200;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 27, 61, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.105em;
}
.nav-logo svg {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  padding: 6px 2px;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--coral); }

.nav-cta {
  background: var(--coral);
  color: white;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--coral-deep); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}
.nav-burger:hover,
.nav-burger:focus-visible { background: rgba(255,255,255,0.08); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

/* On desktop, the mobile-only "Get in touch" entry inside .nav-links is hidden */
.nav-links .nav-cta-mobile { display: none; }

/* ============ HERO ============ */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(120deg, rgba(15,27,61,0.94) 0%, rgba(15,27,61,0.72) 55%, rgba(15,27,61,0.55) 100%),
    url('img/banner_accio_radial.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: white;
  padding: 138px 32px 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -200px; top: 50px;
  width: 600px; height: 600px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -180px; top: 70px;
  width: 560px; height: 560px;
  border: 1px solid var(--cyan-soft);
  border-radius: 50%;
  opacity: 0.28;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-bar {
  width: 64px;
  height: 4px;
  background: var(--coral);
  margin-bottom: 24px;
}
.hero-tagline {
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--cyan);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  max-width: 900px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 17px;
  color: #A8B4C8;
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--coral-deep); border-color: var(--coral-deep); }

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover,
.btn-secondary:focus-visible { border-color: var(--cyan); color: var(--cyan); }

/* ============ SECTIONS ============ */
.section { padding: 100px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 800px;
  letter-spacing: -0.01em;
}
.section-bar {
  width: 50px;
  height: 4px;
  background: var(--coral);
  margin-bottom: 32px;
}
.section-lead {
  font-size: 17px;
  color: var(--slate);
  max-width: 760px;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* ============ INVESTMENT THESIS ============ */
.thesis-panel {
  background: var(--white);
  border-left: 8px solid var(--coral);
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: 24px;
  box-shadow: 0 2px 18px rgba(15,27,61,0.04);
}
.thesis-panel p {
  max-width: 940px;
  color: var(--navy);
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.35;
}
.split-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.split-card {
  background: var(--paper);
  padding: 28px;
  border-top: 5px solid var(--coral);
}
.split-card.solution { border-top-color: var(--cyan); }
.split-card h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 12px;
}
.split-card p {
  color: var(--slate);
  font-size: 15px;
}

.section-light { background: var(--paper); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: white; }
.section-navy .section-title { color: white; }
.section-navy .section-lead { color: var(--muted); }

/* ============ MEDIA FIGURE (shared) ============ */
.media-figure {
  margin: 0 0 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15,27,61,0.10);
  background: var(--navy);
}
.media-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.section-navy .media-figure {
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  margin-top: 40px;
  margin-bottom: 0;
}
.media-figure figcaption {
  font-size: 12px;
  color: var(--muted);
  background: rgba(15,27,61,0.92);
  padding: 10px 16px;
  font-style: italic;
}

/* ============ WHAT IS A TAXEL ============ */
.taxel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.taxel-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.taxel-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.taxel-num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.taxel-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.taxel-feature p {
  font-size: 14px;
  color: var(--slate);
}

.stack {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(15,27,61,0.06);
}
.stack-layer {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}
.stack-layer.cover { background: var(--light); color: var(--navy); }
.stack-layer.pixel { background: var(--cyan-soft); color: var(--navy); }
.stack-layer.taxel { background: var(--coral); color: white; font-weight: 700; padding: 18px; }
.stack-layer.tft { background: var(--light); color: var(--navy); }
.stack-layer.substrate { background: var(--line); color: var(--navy); }
.stack-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate);
  font-style: italic;
  text-align: center;
}

/* ============ TECH METRICS ============ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 24px;
}
.metric {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
}
.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
}
.metric-label {
  font-size: 13px;
  color: var(--muted);
}

/* ============ PLATFORM (SAAS) ============ */
.saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.saas-card {
  background: white;
  border-radius: 8px;
  padding: 32px;
  border-top: 4px solid var(--coral);
  box-shadow: 0 2px 12px rgba(15,27,61,0.05);
}
.saas-card:nth-child(2) { border-top-color: var(--cyan); }
.saas-card:nth-child(3) { border-top-color: var(--gold); }
.saas-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.saas-card .scale {
  font-size: 12px;
  color: var(--coral);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 16px;
}
.saas-card p {
  font-size: 14px;
  color: var(--slate);
}

/* ============ APPLICATIONS ============ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.app-card {
  background: white;
  border-radius: 8px;
  padding: 28px;
  border-left: 4px solid var(--cyan);
  box-shadow: 0 2px 12px rgba(15,27,61,0.05);
}
.app-card.featured {
  border-left-color: var(--coral);
  background: linear-gradient(180deg, rgba(255,122,89,0.04), white);
}
.app-card .timing {
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.app-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.app-card p {
  font-size: 13.5px;
  color: var(--slate);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-block p {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 8px;
}
.contact-block a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}
.contact-block a:hover,
.contact-block a:focus-visible { text-decoration: underline; }

.contact-cta {
  display: inline-block;
  margin-top: 8px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: var(--muted);
  padding: 60px 32px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; font-size: 13px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover,
.footer a:focus-visible { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav { padding: 12px 20px; }
  .nav-burger { display: inline-flex; }

  .nav-cta { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 16, 38, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    /* Hidden by default on mobile */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.is-open {
    max-height: 80vh;
    visibility: visible;
    transition: max-height 0.25s ease, padding 0.25s ease, visibility 0s linear 0s;
  }
  .nav-links li {
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links li:first-child { border-top: none; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
  }
  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 12px;
    background: var(--coral);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    width: 100%;
  }
  .nav-links .nav-cta-mobile:hover,
  .nav-links .nav-cta-mobile:focus-visible {
    background: var(--coral-deep);
    color: white;
  }

  .section { padding: 70px 24px; }
  .hero { padding: 110px 24px 70px; }
  .split-cards,
  .taxel-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
