/* KAPTURO marketing — brand tokens */
:root {
  --navy: #003291;
  --navy-deep: #0a1f3e;
  --navy-ink: #0f1b2e;
  --gold: #f5a524;
  --gold-soft: #f2b84b;
  --white: #ffffff;
  --page: #f3f6fb;
  --mist: #e8eef7;
  --muted: #5b6b84;
  --body: #1a2b48;
  --line: rgba(15, 27, 46, 0.1);
  --shadow: 0 24px 60px rgba(10, 31, 62, 0.18);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--page);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--navy-ink);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 31, 62, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 2.5rem;
  height: auto;
  aspect-ratio: 256 / 200;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  padding: 0.5rem 0 1.25rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-ink);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(245, 165, 36, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(0, 50, 145, 0.55), transparent 50%),
    linear-gradient(155deg, #061428 0%, #0a1f3e 42%, #003291 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
  animation: grid-drift 28s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 48rem;
  height: 48rem;
  right: -12rem;
  top: -8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.16), transparent 65%);
  animation: glow-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-72px, -72px, 0);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6.75rem 0 4rem;
}

.hero-brand-surface {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.85rem 1.05rem 0.7rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  display: block;
  width: min(100%, 168px);
  height: auto;
  aspect-ratio: 900 / 977;
  object-fit: contain;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: rgba(243, 246, 251, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  animation: rise 0.9s var(--ease) 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s var(--ease) 0.24s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-ink);
}

.section-intro {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-alt {
  background: linear-gradient(180deg, #eef3fa 0%, var(--page) 100%);
}

.section-navy {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(245, 165, 36, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.section-navy h2,
.section-navy .section-kicker {
  color: var(--white);
}

.section-navy .section-kicker {
  color: var(--gold-soft);
}

.section-navy .section-intro {
  color: rgba(243, 246, 251, 0.78);
}

/* Feature grid — interaction/scan containers, not decorative card clutter */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-ink);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.industry-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .industry-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .industry-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-list li {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  color: var(--navy-ink);
}

.industry-list span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 450;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.split-panel {
  min-height: 16rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(160deg, #102a56, #003291);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.split-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.split-panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.9);
}

.split-panel .dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Contact */
.contact-shell {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-shell {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--body);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(0, 50, 145, 0.35);
  border-color: var(--navy);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
}

.contact-meta a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.25rem;
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 2.25rem;
  height: auto;
  aspect-ratio: 256 / 200;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-grid h3 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before,
  .hero::after,
  .hero-brand-surface,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-cta,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
