/* SynaptAI — site styles */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Minimal reset */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

h1, h2, h3, h4 {
  font-size: inherit;
  font-weight: inherit;
}

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

ul,
ol {
  list-style: none;
}

button {
  background: transparent;
  color: inherit;
}

:root {
  font-family: "Sora", system-ui, sans-serif;
  color: #ffffff;
  background: #0a0a0a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #ffffff;
  --muted: #a3a3a8;
  --faint: #8a8a91;
  --accent: #e8223a;
  --background: #0a0a0a;
  --surface: #0e0e0f;
  --line: rgba(255, 255, 255, 0.13);
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 16%, rgba(232, 34, 58, 0.07), transparent 27%),
    var(--background);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  color: var(--background);
  background: var(--accent);
}

.skip-link {
  position: absolute;
  z-index: 50;
  top: -60px;
  left: 16px;
  padding: 10px 16px;
  color: #0a0a0a;
  background: #ffffff;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

main {
  overflow: hidden;
}

/* Navigation */

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-self: flex-start;
}

.logo-tab {
  display: block;
  width: clamp(180px, 19vw, 228px);
  height: auto;
}

.nav-meta,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-meta {
  gap: clamp(24px, 4vw, 58px);
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  gap: 12px;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-contact,
.text-link,
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  transition: color 180ms ease;
}

.nav-contact:hover,
.text-link:hover,
.work-link:hover {
  color: var(--accent);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  transition: transform 180ms ease;
}

a:hover .arrow-icon,
button:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 82px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  padding: 80px clamp(24px, 8vw, 124px) 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.status-label,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(232, 34, 58, 0.7);
  animation: pulse 3s ease-in-out infinite;
}

h1 {
  max-width: 900px;
  margin: 34px 0 30px;
  font-size: clamp(48px, 6.2vw, 98px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h1 span {
  color: var(--muted);
}

.hero-intro {
  max-width: 480px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.65;
}

.text-link,
.work-link {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(232, 34, 58, 0.48);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(66vw, 660px);
}

.helix-mark {
  width: min(43vw, 500px);
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
  animation: reveal-mark 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.helix-strand {
  stroke-width: 1.35;
}

.helix-rungs {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.8;
}

.helix-node {
  fill: var(--accent);
  stroke: none;
  filter: drop-shadow(0 0 8px var(--accent));
  animation: pulse 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.visual-coordinate {
  position: absolute;
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.visual-coordinate-top {
  top: 15%;
  right: 6%;
}

.visual-coordinate-bottom {
  bottom: 16%;
  left: 5%;
}

.scroll-cue {
  position: absolute;
  bottom: 38px;
  left: clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 36px;
  height: 1px;
  background: var(--faint);
}

/* Sections */

.manifesto,
.outcomes,
.work,
.bespoke,
.contact {
  padding: 130px clamp(24px, 8vw, 124px);
  border-top: 1px solid var(--line);
}

.section-label::before {
  width: 18px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.manifesto-grid,
.bespoke-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(50px, 11vw, 180px);
  margin-top: 58px;
}

.manifesto h2,
.bespoke h2,
.contact h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.manifesto-copy {
  max-width: 560px;
}

.manifesto-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.6;
}

.manifesto-copy p:first-child {
  color: var(--ink);
}

.outcomes {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(50px, 9vw, 140px);
}

.outcomes-kicker,
.work-heading > p:last-child {
  max-width: 260px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.outcomes-list {
  border-top: 1px solid var(--line);
}

.outcome {
  display: grid;
  grid-template-columns: 45px minmax(130px, 0.65fr) minmax(200px, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.outcome-number {
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.outcome h3 {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.outcome p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Work */

.work {
  background: var(--surface);
}

.work-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 58px;
}

.work-heading > p:last-child {
  margin-top: 0;
  text-align: right;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-card {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 8%, rgba(232, 34, 58, 0.045), transparent 28%),
    rgba(10, 10, 10, 0.4);
}

.work-card-top {
  display: flex;
  min-height: 62px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.gp-logo {
  width: min(200px, 52%);
  height: auto;
}

.bridge-mark {
  width: min(180px, 43%);
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
}

.bridge-mark circle {
  fill: var(--accent);
  stroke: none;
  filter: drop-shadow(0 0 5px rgba(232, 34, 58, 0.65));
}

.work-card-copy {
  margin: auto 0;
  padding: 70px 0;
}

.work-card h2 {
  max-width: 530px;
  margin: 0 0 28px;
  font-size: clamp(31px, 3vw, 48px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.work-card-copy > p:not(.collaboration) {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.collaboration {
  max-width: 520px;
  margin: 38px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-transform: uppercase;
}

.work-link {
  margin-top: auto;
}

/* Bespoke */

.bespoke {
  position: relative;
  background:
    radial-gradient(circle at 18% 100%, rgba(232, 34, 58, 0.045), transparent 32%),
    var(--background);
}

.bespoke-grid {
  align-items: start;
}

.bespoke-grid > div {
  max-width: 570px;
}

.bespoke-grid p {
  margin: 0 0 40px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.65;
}

/* Contact */

.contact {
  padding-top: 150px;
  padding-bottom: 150px;
  background: var(--surface);
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label > span {
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  transition: border-color 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 44px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 11px 0;
  resize: vertical;
}

.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 6px) 19px,
    100% 19px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.contact-form select option {
  color: var(--ink);
  background: var(--surface);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  color: var(--background);
  background: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.contact-form button:hover {
  color: var(--accent);
  background: transparent;
}

.form-hint {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.form-hint a {
  color: var(--muted);
  border-bottom: 1px solid rgba(232, 34, 58, 0.4);
}

.form-hint a:hover {
  color: var(--accent);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.form-note a {
  color: var(--muted);
  border-bottom: 1px solid rgba(232, 34, 58, 0.4);
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
  padding: 38px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.footer-company {
  display: flex;
  max-width: 610px;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.footer-mark {
  width: 27px;
  height: 27px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  white-space: nowrap;
}

.copyright {
  justify-self: end;
  white-space: nowrap;
}

/* Legal pages */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px clamp(24px, 6vw, 48px) 120px;
}

.legal h1 {
  margin: 28px 0 16px;
  font-size: clamp(40px, 6vw, 64px);
}

.legal .updated {
  margin-bottom: 56px;
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal h2 {
  margin: 48px 0 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  margin: 14px 0;
  padding-left: 20px;
  list-style: disc;
}

.legal li + li {
  margin-top: 8px;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--ink);
  border-bottom: 1px solid rgba(232, 34, 58, 0.5);
}

.legal a:hover {
  color: var(--accent);
}

/* Motion */

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes reveal-mark {
  from {
    opacity: 0;
    transform: scale(0.92) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* Responsive */

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

  .work-card-top {
    flex-direction: column;
  }

  .gp-logo,
  .bridge-mark {
    width: 190px;
    max-width: 60%;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .copyright {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

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

  .hero {
    display: flex;
    min-height: 720px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .hero-visual {
    position: absolute;
    top: 14%;
    right: -34%;
    min-height: auto;
    opacity: 0.54;
  }

  .helix-mark {
    width: 540px;
    max-width: none;
  }

  .visual-coordinate {
    display: none;
  }

  .hero-intro {
    max-width: 390px;
  }

  .manifesto-grid,
  .bespoke-grid,
  .contact-grid,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .manifesto-grid,
  .bespoke-grid,
  .contact-grid {
    gap: 48px;
  }

  .outcomes {
    gap: 60px;
  }

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

  .work-card {
    min-height: 540px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-nav {
    min-height: 68px;
  }

  .logo-tab {
    width: 148px;
  }

  .nav-meta {
    gap: 0;
  }

  .nav-links {
    gap: 7px;
    font-size: 12px;
  }

  .hero {
    min-height: 640px;
  }

  h1 {
    margin-top: 28px;
    font-size: clamp(34px, 9.6vw, 56px);
  }

  .scroll-cue {
    display: none;
  }

  .manifesto,
  .outcomes,
  .work,
  .bespoke,
  .contact {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .outcome {
    grid-template-columns: 35px 1fr;
    gap: 10px;
  }

  .outcome p {
    grid-column: 2;
  }

  .work-heading {
    display: block;
  }

  .work-heading > p:last-child {
    margin-top: 24px;
    text-align: left;
  }

  .work-card {
    min-height: 520px;
    padding: 28px 24px;
  }

  .work-card-top {
    gap: 28px;
  }

  .work-card-copy {
    padding: 55px 0;
  }

  .gp-logo,
  .bridge-mark {
    max-width: 70%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  .helix-mark,
  .helix-node,
  .status-dot {
    animation: none;
  }
}
