/* Foursure marketing – organic/biomimetic backup (2026-07-01) */

body.marketing-page {
  --mk-bg: #0b2c35;
  --mk-surface: rgba(16, 56, 66, 0.82);
  --mk-surface-2: rgba(24, 72, 78, 0.76);
  --mk-surface-3: rgba(33, 86, 84, 0.74);
  --mk-text: #e9feff;
  --mk-heading: #ffffff;
  --mk-muted: #b0dddd;
  --mk-line: rgba(147, 255, 232, 0.34);
  --mk-cyan: #00ffff;
  --mk-red: #ff9999;
  --mk-red-strong: #ff7f50;
  --mk-green: #00ff41;
  --mk-amber: #ffb86b;
  --mk-ocean: #0d5264;
  --mk-cellular: #ff9999;
  --mk-biolume: #00ffff;
  --mk-chlorophyll: #00ff41;
  --mk-coral: #ff7f50;
  --mk-organic-radius: 28px 18px 32px 20px;
  --mk-breathe: 4.8s;
  --mk-shadow: rgba(0, 26, 35, 0.28);
  min-height: 100vh;
  max-width: 100vw;
  overflow: auto;
  overflow-x: hidden;
  background-color: var(--mk-bg);
  background-image:
    repeating-linear-gradient(115deg, rgba(0, 255, 65, 0.08) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(28deg, rgba(0, 255, 255, 0.07) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 18% 18%, rgba(255, 153, 153, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(19, 95, 110, 0.9), rgba(11, 44, 53, 0.92) 52%, rgba(35, 76, 70, 0.86));
  background-size: 280px 280px, 320px 320px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--mk-text);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

body.marketing-page::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at center, rgba(0, 255, 255, 0.13) 0 1px, transparent 1px 46px),
    linear-gradient(90deg, transparent, rgba(255, 153, 153, 0.12), transparent);
  background-size: 260px 210px, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.46;
  transform: translateZ(0);
  animation: cellular-drift 18s ease-in-out infinite alternate;
}

.marketing-page a {
  color: inherit;
  text-decoration: none;
}

.marketing-page a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mk-chlorophyll) 70%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  border: 1px solid var(--mk-biolume);
  border-radius: 18px 12px 20px 14px;
  padding: 10px 12px;
  background: var(--mk-surface);
  color: var(--mk-heading);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--mk-biolume) 22%, transparent);
  background: rgba(8, 38, 48, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
}

.site-brand,
.site-login,
.site-nav a,
.marketing-button,
.contact-link {
  touch-action: manipulation;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 44px;
  min-height: 44px;
}

.site-brand img {
  display: block;
  width: 132px;
  max-width: 32vw;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--mk-biolume) 22%, transparent);
  border-radius: 16px 11px 18px 13px;
  padding: 6px 8px;
  background: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.site-nav a,
.site-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 18px 12px 20px 14px;
  padding: 0 12px;
  color: color-mix(in srgb, var(--mk-text) 76%, transparent);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-login:hover {
  border-color: color-mix(in srgb, var(--mk-chlorophyll) 28%, transparent);
  background: color-mix(in srgb, var(--mk-chlorophyll) 9%, transparent);
  color: var(--mk-heading);
}

.site-login {
  border-color: color-mix(in srgb, var(--mk-cellular) 54%, transparent);
  color: var(--mk-heading);
}

.marketing-hero {
  display: grid;
  align-content: center;
  gap: 48px;
  min-height: 720px;
  padding: 88px 24px 56px;
}

.hero-inner,
.flow-strip,
.marketing-section,
.marketing-footer {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.hero-inner {
  display: grid;
  gap: 22px;
}

.hero-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--mk-biolume) 22%, transparent);
  border-radius: 28px 18px 34px 20px;
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 0 26px 74px rgba(0, 255, 255, 0.11), 0 22px 70px var(--mk-shadow);
  animation: organic-breathe var(--mk-breathe) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-kicker,
.section-kicker {
  color: var(--mk-cellular);
  font-family: "Fira Code", Consolas, "Cascadia Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
  color: var(--mk-heading);
  letter-spacing: 0;
}

.marketing-page h1 {
  max-width: 900px;
  font-size: 88px;
  line-height: 0.95;
  font-weight: 800;
}

.marketing-page h2 {
  max-width: 880px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 760;
}

.marketing-page h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 760;
}

.hero-lede {
  max-width: 780px;
  color: color-mix(in srgb, var(--mk-text) 86%, transparent);
  font-size: 22px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--mk-line);
  border-radius: 22px 14px 24px 16px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.marketing-button.primary {
  border-color: color-mix(in srgb, var(--mk-cellular) 70%, var(--mk-coral));
  background: linear-gradient(135deg, var(--mk-cellular), var(--mk-coral));
  color: #00111f;
}

.marketing-button.primary:hover {
  background: linear-gradient(135deg, #ffb0b0, var(--mk-coral));
}

.marketing-button.secondary {
  background: color-mix(in srgb, var(--mk-biolume) 10%, transparent);
  color: var(--mk-heading);
}

.marketing-button.secondary:hover {
  border-color: var(--mk-biolume);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--mk-biolume) 24%, transparent);
  border-radius: 30px 18px 34px 22px;
  background: linear-gradient(145deg, rgba(21, 67, 77, 0.86), rgba(33, 87, 88, 0.7));
  box-shadow: 0 20px 54px var(--mk-shadow), inset 0 1px 0 rgba(233, 254, 255, 0.16);
}

.flow-strip div {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid color-mix(in srgb, var(--mk-biolume) 15%, transparent);
  transition: background-color 220ms ease, transform 220ms ease;
}

.flow-strip div:hover {
  background: color-mix(in srgb, var(--mk-chlorophyll) 7%, transparent);
}

.flow-strip div:last-child {
  border-right: 0;
}

.flow-strip span,
.service-index,
.team-tile span,
.contact-link span {
  display: block;
  color: var(--mk-muted);
  font-family: "Fira Code", Consolas, "Cascadia Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.flow-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--mk-heading);
  font-size: 16px;
}

.flow-strip p {
  margin-top: 8px;
  color: var(--mk-muted);
  font-size: 14px;
}

.marketing-section {
  min-height: 82vh;
  min-height: 82dvh;
  padding: 104px 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.section-heading > p:last-child,
.team-copy > p:last-child,
.contact-copy > p:last-child {
  max-width: 780px;
  color: color-mix(in srgb, var(--mk-text) 78%, transparent);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.service-card,
.team-tile,
.contact-panel {
  border: 1px solid color-mix(in srgb, var(--mk-biolume) 20%, transparent);
  border-radius: var(--mk-organic-radius);
  background:
    linear-gradient(145deg, rgba(22, 73, 82, 0.82), rgba(48, 105, 98, 0.66)),
    repeating-linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: 0 18px 42px rgba(0, 26, 35, 0.2), inset 0 1px 0 rgba(233, 254, 255, 0.14);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.service-card:hover,
.team-tile:hover,
.contact-panel:hover {
  border-color: color-mix(in srgb, var(--mk-chlorophyll) 38%, var(--mk-line));
  box-shadow: 0 24px 60px rgba(0, 26, 35, 0.22), 0 0 38px rgba(0, 255, 255, 0.12);
  transform: translateY(-2px) scale(1.01);
}

.service-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
}

.service-card:nth-child(1) {
  border-radius: 32px 18px 26px 20px;
}

.service-card:nth-child(2) {
  border-radius: 18px 34px 20px 28px;
}

.service-card:nth-child(3) {
  border-radius: 28px 20px 34px 18px;
}

.service-card:nth-child(4) {
  border-radius: 22px 28px 18px 34px;
}

.service-card:nth-child(2) .service-index {
  color: var(--mk-cyan);
}

.service-card:nth-child(3) .service-index {
  color: var(--mk-amber);
}

.service-card:nth-child(4) .service-index {
  color: var(--mk-green);
}

.service-card p,
.team-tile p {
  color: var(--mk-muted);
  font-size: 15px;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.team-copy {
  display: grid;
  gap: 18px;
}

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

.team-tile {
  display: grid;
  gap: 12px;
  min-height: 188px;
  padding: 22px;
}

.team-tile:nth-child(1) {
  border-radius: 30px 18px 26px 18px;
}

.team-tile:nth-child(2) {
  border-radius: 18px 30px 18px 26px;
}

.team-tile:nth-child(3) {
  border-radius: 24px 18px 30px 18px;
}

.team-tile:nth-child(4) {
  border-radius: 18px 26px 18px 30px;
}

.team-tile:nth-child(1) span {
  color: var(--mk-red);
}

.team-tile:nth-child(2) span {
  color: var(--mk-cyan);
}

.team-tile:nth-child(3) span {
  color: var(--mk-amber);
}

.team-tile:nth-child(4) span {
  color: var(--mk-green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 56px;
  min-height: 72vh;
  min-height: 72dvh;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border-radius: 34px 20px 30px 18px;
}

.contact-link {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--mk-biolume) 15%, transparent);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-link:last-child {
  border-bottom: 0;
}

.contact-link:hover {
  background: color-mix(in srgb, var(--mk-chlorophyll) 8%, transparent);
  transform: translateX(2px);
}

.contact-link strong {
  color: var(--mk-heading);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.marketing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px 0 40px;
  border-top: 1px solid color-mix(in srgb, var(--mk-biolume) 14%, transparent);
  color: var(--mk-muted);
  font-size: 13px;
}

.marketing-footer a {
  color: var(--mk-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.marketing-footer a:hover {
  color: var(--mk-heading);
}

.design-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.design-toggle a,
.design-toggle span {
  font-size: 13px;
}

.design-toggle span {
  font-weight: 700;
  color: var(--mk-heading);
}

.design-toggle a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .site-nav a,
  .site-login,
  .marketing-button,
  .contact-link {
    transition: none;
  }

  .marketing-button:hover {
    transform: none;
  }

  .hero-logo,
  body.marketing-page::before {
    animation: none;
  }

  .service-card:hover,
  .team-tile:hover,
  .contact-panel:hover,
  .contact-link:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .marketing-page h1 {
    font-size: 64px;
  }

  .marketing-page h2 {
    font-size: 36px;
  }

  .service-grid,
  .team-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-section,
  .team-section {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .site-nav {
    flex: 1 0 100%;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .site-login {
    display: none;
  }

  .marketing-hero {
    min-height: auto;
    padding: 58px 0 40px;
  }

  .hero-inner,
  .flow-strip,
  .marketing-section,
  .marketing-footer {
    width: auto;
    margin-right: 14px;
    margin-left: 14px;
  }

  .hero-logo {
    width: 220px;
  }

  .marketing-page h1 {
    font-size: 48px;
  }

  .marketing-page h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .marketing-button {
    width: 100%;
  }

  .flow-strip,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .flow-strip div {
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--mk-biolume) 14%, transparent);
  }

  .flow-strip div:last-child {
    border-bottom: 0;
  }

  .marketing-section {
    min-height: auto;
    padding: 72px 0;
  }

  .service-card {
    min-height: auto;
  }
}

@keyframes organic-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.015);
  }
}

@keyframes cellular-drift {
  from {
    background-position: 0 0, 0 0;
    opacity: 0.26;
  }

  to {
    background-position: 58px 34px, 0 0;
    opacity: 0.42;
  }
}
