/* SYNAPTIQ LTD — Minimum Viable Website
   No framework, no external fonts, no JavaScript.
*/

:root {
  --ink: #172330;
  --ink-soft: #435160;
  --navy: #112b3c;
  --teal: #1f6f72;
  --teal-dark: #175b5e;
  --bg: #fbfcfd;
  --muted: #f2f5f6;
  --line: #dbe3e7;
  --white: #ffffff;

  --shadow-soft: 0 18px 60px rgba(17, 43, 60, 0.08);
  --radius: 18px;
  --max-width: 1120px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid #8dc9cb;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-180%);
  transition: transform 120ms ease;
}

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

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

.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 227, 231, 0.9);
  background: rgba(251, 252, 253, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
}

.brand-name {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.brand-descriptor {
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.desktop-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--teal-dark);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 20%, rgba(31, 111, 114, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfdfd 0%, #f8fafb 100%);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  max-width: 14ch;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.9rem);
}

.section h2 {
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
}

.hero-lead {
  max-width: 700px;
  margin: 1.7rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover {
  background: #0c2331;
}

.button-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
}

.button-secondary:hover {
  border-color: #b8c8d0;
  background: var(--white);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.visual-frame {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(17, 43, 60, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(rgba(17, 43, 60, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 43, 60, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff 0%, #eef5f5 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-soft);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(31, 111, 114, 0.16);
  border-radius: 50%;
}

.node {
  position: absolute;
  z-index: 4;
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(17, 43, 60, 0.1);
}

.node-a { left: 17%; top: 68%; }
.node-b { left: 31%; top: 48%; }
.node-c { left: 48%; top: 57%; }
.node-d { left: 61%; top: 35%; }
.node-e { left: 78%; top: 24%; }
.node-f { left: 77%; top: 62%; }

.line,
.axis,
.curve {
  position: absolute;
  z-index: 2;
  display: block;
}

.line {
  height: 2px;
  background: rgba(31, 111, 114, 0.58);
  transform-origin: left center;
}

.line-a { width: 24%; left: 19%; top: 68%; transform: rotate(-45deg); }
.line-b { width: 18%; left: 33%; top: 49%; transform: rotate(26deg); }
.line-c { width: 26%; left: 50%; top: 57%; transform: rotate(-47deg); }
.line-d { width: 21%; left: 63%; top: 35%; transform: rotate(-31deg); }
.line-e { width: 25%; left: 50%; top: 58%; transform: rotate(10deg); }

.axis {
  background: rgba(17, 43, 60, 0.18);
}

.axis-x {
  left: 13%;
  right: 10%;
  bottom: 15%;
  height: 1px;
}

.axis-y {
  left: 13%;
  top: 12%;
  bottom: 15%;
  width: 1px;
}

.curve {
  width: 58%;
  height: 58%;
  left: 22%;
  top: 18%;
  border-top: 3px solid rgba(17, 43, 60, 0.5);
  border-right: 3px solid rgba(17, 43, 60, 0.5);
  border-radius: 0 100% 0 0;
  transform: rotate(12deg);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-white {
  background: var(--white);
}

.section-muted {
  border-block: 1px solid var(--line);
  background: var(--muted);
}

.section-intro {
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.6rem;
}

.section-heading > p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
}

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

.focus-card {
  min-height: 235px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.card-index {
  display: inline-block;
  margin-bottom: 2.3rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.focus-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
}

.focus-card p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.split-layout,
.contact-grid,
.collaboration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.body-copy p,
.collaboration-section p {
  margin: 0;
}

.body-copy p + p,
.collaboration-section p + p {
  margin-top: 1rem;
}

.body-copy {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.collaboration-section {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 15% 15%, rgba(141, 201, 203, 0.14), transparent 32%),
    var(--navy);
}

.collaboration-section h2 {
  color: var(--white);
}

.section-kicker-light {
  color: #a9d7d8;
}

.button-light {
  margin-top: 1.5rem;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  background: #f2f7f7;
}

.contact-lead {
  max-width: 500px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
}

.contact-card {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--muted);
  font-style: normal;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.contact-row + .contact-row {
  border-top: 1px solid var(--line);
}

.contact-row span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-row strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-row a {
  color: var(--teal-dark);
}

.privacy-note {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.privacy-note details {
  padding-block: 1.15rem;
}

.privacy-note summary {
  width: fit-content;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.privacy-note p {
  max-width: 780px;
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 2.2rem;
  color: rgba(255, 255, 255, 0.72);
  background: #0b202d;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-inner span:not(.footer-brand),
.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 750;
    background: var(--white);
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    width: min(230px, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .mobile-nav nav a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav nav a + a {
    border-top: 1px solid var(--line);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 4.5rem;
  }

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

  .hero-visual {
    justify-content: start;
  }

  .visual-frame {
    width: min(100%, 420px);
  }

  .section-heading,
  .split-layout,
  .contact-grid,
  .collaboration-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading {
    align-items: start;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

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

  .header-inner {
    min-height: 68px;
  }

  .brand-descriptor {
    display: none;
  }

  .hero-grid {
    padding-block: 3.6rem 4rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    min-height: 48px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .mobile-nav summary {
    padding-inline: 0.68rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
