:root {
  --ink: #07111f;
  --ink-soft: #0e1c33;
  --navy: #123460;
  --teal: #169a91;
  --mint: #87df64;
  --cyan: #29c7d8;
  --sand: #f2eee7;
  --cloud: #f7f9fc;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.1);
  --text: #213146;
  --text-soft: #58677d;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-dark: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(8, 20, 36, 0.12);
  --shadow-strong: 0 30px 90px rgba(7, 17, 31, 0.2);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1240px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(41, 199, 216, 0.08), transparent 32%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 1.5rem 0 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(18, 52, 96, 0.04), rgba(22, 154, 145, 0.05));
}

.section-dark,
.page-hero-dark,
.section-cta {
  background:
    radial-gradient(circle at top right, rgba(135, 223, 100, 0.18), transparent 25%),
    radial-gradient(circle at bottom left, rgba(41, 199, 216, 0.18), transparent 25%),
    linear-gradient(160deg, #081323 0%, #123460 56%, #0d2545 100%);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.page-hero-dark h1,
.page-hero-dark h2,
.page-hero-dark p,
.section-cta h2,
.section-cta p {
  color: var(--white);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.page-hero .section-heading,
.page-hero-dark .section-heading {
  max-width: 760px;
}

.page-hero h1,
.page-hero-dark h1 {
  font-size: clamp(2.6rem, 4.3vw, 4.5rem);
  max-width: 13ch;
}

.eyebrow,
.feature-tag,
.timeline-year {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}

.page-lead,
.hero-text {
  font-size: 1.15rem;
  max-width: 760px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(18, 52, 96, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.nav-logo img {
  width: min(290px, 44vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links a.active {
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 16px 40px rgba(41, 199, 216, 0.28);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 52, 96, 0.12);
}

.section-dark .btn-secondary,
.section-cta .btn-secondary,
.page-hero-dark .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--navy);
}

.text-link::after {
  content: "→";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(18, 52, 96, 0.96), rgba(10, 24, 43, 0.92)),
    linear-gradient(90deg, rgba(41, 199, 216, 0.18), transparent);
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1,
.hero-copy p,
.hero-copy li {
  color: var(--white);
}

.hero-copy .eyebrow {
  color: var(--mint);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.hero-visual img,
.feature-art img,
.photo-shell img,
.founder-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.industry-strip span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(18, 52, 96, 0.06);
  border: 1px solid rgba(18, 52, 96, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.pillar-grid,
.deliverable-grid,
.credibility-grid-alt,
.difference-grid,
.proof-mini-grid,
.secondary-proof-grid {
  display: grid;
  gap: 1.35rem;
}

.pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deliverable-grid,
.difference-grid,
.proof-mini-grid,
.secondary-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credibility-grid-alt {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.deliverable-card,
.cred-card,
.about-card,
.difference-card,
.proof-mini-card,
.secondary-proof-card,
.solution-card,
.industry-card,
.proof-card {
  padding: 1.65rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(18, 52, 96, 0.1);
  box-shadow: var(--shadow);
}

.section-dark .deliverable-card,
.section-dark .proof-mini-card,
.page-hero-dark .proof-mini-card {
  background: var(--surface-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .deliverable-card h3,
.section-dark .proof-mini-card h3 {
  color: var(--white);
}

.pillar-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
}

.feature-stack,
.solution-stack,
.industry-page-stack,
.proof-stack {
  display: grid;
  gap: 1.5rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1.6rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(18, 52, 96, 0.1);
  box-shadow: var(--shadow);
}

.feature-art img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.founder-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 52, 96, 0.1);
  box-shadow: var(--shadow);
}

.two-col-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 2.2rem;
  align-items: center;
}

.two-col-hero > :first-child h1 {
  max-width: 11ch;
}

.photo-shell {
  max-width: 460px;
  margin-left: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.7rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.timeline-commercial .timeline-item {
  border-left-color: var(--mint);
}

.solution-header {
  margin-bottom: 1.4rem;
}

.solution-grid,
.industry-columns {
  display: grid;
  gap: 1rem;
}

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

.solution-grid > div,
.industry-columns > div {
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(18, 52, 96, 0.04);
  border: 1px solid rgba(18, 52, 96, 0.08);
}

.solution-grid h3,
.industry-columns h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.industry-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.industry-title {
  margin-bottom: 1rem;
}

.proof-card {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.8rem;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 0.8rem;
}

.proof-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.proof-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
}

.cta-box {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 4.7rem 0 1.6rem;
}

.page-hero-dark {
  padding: 4.7rem 0 3rem;
}

.page-hero-compact {
  padding-bottom: 2.6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.contact-panel {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(18, 52, 96, 0.1);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2.8rem);
  max-width: none;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 1rem;
}

.contact-note {
  font-size: 0.96rem;
}

.contact-checklist {
  display: grid;
  gap: 0.9rem;
}

.contact-checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.contact-checklist li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
}

.footer {
  padding: 3.6rem 0 1.5rem;
  background: #07101d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: min(280px, 100%);
  margin-bottom: 1rem;
  filter: brightness(1.08);
}

.footer-tagline,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: grid;
  gap: 0.8rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.redirect-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.redirect-main p,
.redirect-main a {
  color: var(--navy);
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col-hero,
  .feature-panel,
  .founder-panel,
  .proof-card,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .deliverable-grid,
  .difference-grid,
  .proof-mini-grid,
  .secondary-proof-grid,
  .credibility-grid-alt,
  .about-grid,
  .solution-grid,
  .industry-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-shell {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 82px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 720px) {
  .section,
  .page-hero,
  .page-hero-dark {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pillar-grid,
  .deliverable-grid,
  .difference-grid,
  .proof-mini-grid,
  .secondary-proof-grid,
  .credibility-grid-alt,
  .about-grid,
  .solution-grid,
  .industry-columns {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .nav-logo img {
    width: min(260px, 56vw);
  }

  .contact-panel h2 {
    font-size: 1.55rem;
  }
}

/* Brand accent — coloured top border on every card, mint→cyan gradient. */
.pillar-card,
.deliverable-card,
.about-card,
.difference-card,
.proof-mini-card,
.secondary-proof-card,
.solution-card,
.industry-card,
.proof-card,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.pillar-card::before,
.deliverable-card::before,
.about-card::before,
.difference-card::before,
.proof-mini-card::before,
.secondary-proof-card::before,
.solution-card::before,
.industry-card::before,
.proof-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  pointer-events: none;
}

/* Card titles pick up the navy brand colour instead of default near-black. */
.pillar-card h3,
.deliverable-card h3,
.about-card h3,
.difference-card h3,
.secondary-proof-card h3 {
  color: var(--navy);
}

/* Dark-section overrides — keep white on dark backgrounds and soften the accent. */
.section-dark .deliverable-card h3,
.section-dark .proof-mini-card h3 {
  color: var(--white);
}

.section-dark .deliverable-card::before,
.section-dark .proof-mini-card::before {
  opacity: 0.85;
}
