/* Fisherman Labs — one-pager */

:root {
  --labs-blue: #4565ad;
  --labs-blue-deep: #394e96;
  --studio-red: #ea5153; /* accent only — Studio discontinued */
  --mesh-orange: #f07a3e;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --text: #1a1f2e;
  --text-muted: #5a6478;
  --border: #e4e8f0;
  --shadow: 0 12px 40px rgba(69, 101, 173, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Tongari", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
}

/* —— Fonts —— */
@font-face {
  font-family: "Tongari";
  src: url("../fonts/Tongari-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tongari";
  src: url("../fonts/Tongari-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tongari";
  src: url("../fonts/Tongari-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tongari";
  src: url("../fonts/Tongari-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tongari";
  src: url("../fonts/Tongari-Extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/RobotoMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/RobotoMono-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/RobotoMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/RobotoMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* —— Reset —— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--labs-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--labs-blue-deep); }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  background: var(--white);
  color: var(--text);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* —— Header / nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(26, 31, 46, 0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--labs-blue);
  text-decoration: none;
}
.nav-brand:hover { color: var(--labs-blue-deep); }
.nav-brand img { width: 148px; height: auto; }
.nav-brand .fish {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--labs-blue); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--labs-blue);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--labs-blue-deep); }
.nav-cta img { width: 14px; height: auto; filter: brightness(0) invert(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: 0 12px 30px rgba(26, 31, 46, 0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border: none;
  }
}

/* —— Hero mesh —— */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 12% 20%, #4565ad 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 78% 18%, #ea5153 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 55% 75%, #f07a3e 0%, transparent 55%),
    radial-gradient(ellipse 90% 80% at 30% 90%, #394e96 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 92% 70%, #ea5153 0%, transparent 45%),
    linear-gradient(135deg, #4565ad 0%, #5a6fba 28%, #c86a55 55%, #ea5153 100%);
  background-color: #4565ad;
}
.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.12) 0%, transparent 35%),
    radial-gradient(circle at 70% 55%, rgba(240,122,62,0.35) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-wordmark {
  width: min(320px, 70vw);
  color: var(--white);
}
.hero-fish {
  width: min(110px, 22vw);
  color: var(--white);
  opacity: 0.95;
}
.hero-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-lead {
  font-size: 0.95rem;
  max-width: 42ch;
  opacity: 0.92;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--white);
  color: var(--labs-blue);
}
.btn-primary:hover {
  background: var(--off-white);
  color: var(--labs-blue-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn img { width: 14px; height: auto; }

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.section-header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--labs-blue);
  margin-bottom: 0.85rem;
}
.eyebrow img { width: 16px; height: auto; }
.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  color: var(--text);
}
.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— About —— */
.about {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.about-card p:last-child { margin-bottom: 0; }
.about-meta {
  display: grid;
  gap: 1rem;
}
.meta-item {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}
.meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--labs-blue);
}
.meta-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* —— Services —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--labs-blue);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover {
  border-color: #c9d3ea;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }
.service-card .num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--studio-red);
  margin-bottom: 0.65rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.service-card .tech {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: var(--labs-blue);
}
.sectors {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
}
.sectors-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--labs-blue);
}
.sectors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* —— Contact CTA —— */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, #4565ad 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 20%, #ea5153 0%, transparent 50%),
    radial-gradient(ellipse 45% 50% at 60% 90%, #f07a3e 0%, transparent 50%),
    linear-gradient(120deg, #394e96 0%, #4565ad 40%, #c45a5c 100%);
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; }
}
.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.contact p {
  opacity: 0.92;
  max-width: 40ch;
  margin-bottom: 1.5rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: background 0.15s, border-color 0.15s;
}
.contact-links a:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.contact-links .label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  display: block;
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.contact-links .value { font-size: 0.95rem; }

/* —— Footer —— */
.site-footer {
  background: var(--text);
  color: #aeb6c8;
  padding: 2.25rem 0 2rem;
  font-size: 0.78rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand img.wordmark { width: 140px; }
.footer-brand img.fish { width: 36px; }
.imprint {
  line-height: 1.7;
  max-width: 36ch;
}
.imprint strong {
  color: #d8deea;
  font-weight: 500;
}
.footer-meta {
  text-align: right;
}
@media (max-width: 600px) {
  .footer-meta { text-align: left; }
}
.footer-meta a { color: #c5cce0; }

/* —— Mobile readability (phones / OnePlus-class viewports) —— */
@media (max-width: 720px) {
  html {
    font-size: 17.5px;
  }
  body {
    font-size: 1rem;
    line-height: 1.7;
  }
  h1, h2, h3, .display {
    line-height: 1.22;
    letter-spacing: -0.015em;
  }
  .container {
    width: min(100% - 1.75rem, var(--max));
  }
  .hero-inner {
    padding: 3.25rem 0 3.75rem;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 7.2vw, 2.45rem);
    margin-bottom: 0.85rem;
  }
  .hero-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: none;
  }
  .hero-kicker {
    font-size: 0.8rem;
  }
  .hero-actions {
    gap: 0.75rem;
  }
  .btn {
    font-size: 0.95rem;
    padding: 0.9rem 1.35rem;
    min-height: 48px;
  }
  .section {
    padding: 3.75rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-header h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.1rem);
  }
  .section-header p {
    font-size: 1.02rem;
    line-height: 1.7;
  }
  .eyebrow {
    font-size: 0.78rem;
  }
  .about-card {
    padding: 1.35rem 1.25rem;
  }
  .about-card h3 {
    font-size: 1.25rem;
  }
  .about-card p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .meta-item {
    padding: 1.15rem 1.2rem;
  }
  .meta-item strong {
    font-size: 1.08rem;
  }
  .meta-item span {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .service-card {
    padding: 1.35rem 1.25rem 1.45rem;
  }
  .service-card h3 {
    font-size: 1.28rem;
  }
  .service-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .service-card .tech {
    font-size: 0.78rem;
    line-height: 1.6;
  }
  .service-card .num {
    font-size: 0.78rem;
  }
  .sectors {
    padding: 1.1rem 1.15rem;
    gap: 0.65rem 1rem;
  }
  .sectors-label {
    font-size: 0.78rem;
  }
  .sectors-list {
    font-size: 0.9rem;
    gap: 0.4rem 0.95rem;
    line-height: 1.55;
  }
  .contact h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.05rem);
  }
  .contact p {
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: none;
  }
  .contact-links {
    gap: 0.75rem;
  }
  .contact-links a {
    padding: 1.15rem 1.2rem;
    min-height: 56px;
  }
  .contact-links .label {
    font-size: 0.78rem;
  }
  .contact-links .value {
    font-size: 1.05rem;
  }
  .site-footer {
    font-size: 0.88rem;
    padding: 2.5rem 0 2.25rem;
  }
  .imprint {
    line-height: 1.75;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 0.95rem 0.25rem;
    min-height: 44px;
  }
  .nav-cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.1rem;
    min-height: 44px;
  }
}
