/* Evo Dev — site styles */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0F172A;
  --navy-2: #16213A;
  --navy-3: #1E293B;
  --teal: #06B6D4;
  --teal-ink: #0E7490;      /* teal for text on white (passes 4.5:1) */
  --blue: #2563EB;
  --white: #FFFFFF;
  --tint: #F4F7FA;
  --line: #E2E8F0;
  --ink: #0F172A;
  --body: #334155;
  --muted: #475569;
  --on-dark: #CBD5E1;
  --radius: 14px;
  --wrap: 1160px;
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: #22C5E0; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--teal-ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--teal); }
.eyebrow-dark { color: var(--teal); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); padding: 112px 0 104px; }
.hero-mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(52vw, 640px); height: auto; pointer-events: none; }
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.2vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; max-width: 14ch; }
.hero .accent { color: var(--teal); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 58ch; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 44px 0 0; }
.hero-tags li { font-size: 13px; font-weight: 500; color: #E2E8F0; padding: 6px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(15,23,42,.6); }
@media (max-width: 860px) { .hero-mark { display: none; } .hero { padding: 72px 0 80px; } }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section h2, .contact h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; max-width: 22ch; }
.section-lead { font-size: 18px; max-width: 60ch; margin-top: 18px; color: var(--muted); }
@media (max-width: 860px) { .section { padding: 72px 0; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #CBD5E1; box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); }
.card h3 { font-size: 19px; font-weight: 700; margin: 20px 0 8px; }
.card p { font-size: 16px; color: var(--muted); }
.icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--navy); stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--teal); }
.step-num { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--teal-ink); letter-spacing: .08em; }
.steps h3 { font-size: 21px; margin: 8px 0 10px; }
.steps p { font-size: 16px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.ticks li { position: relative; padding-left: 40px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 6px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks strong { color: var(--ink); }
.prose { display: grid; gap: 18px; font-size: 18px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 48px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.work-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.work-type { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status-live { background: #ECFEFF; color: #0E7490; }
.status-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 6px; vertical-align: 1px; }
.status-dev { background: #F1F5F9; color: #475569; }
.work-card h3 { font-size: 19px; }
.work-card p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--blue); }
.text-link:hover { text-decoration: underline; }
.work-cta { margin-top: 20px; background: var(--navy); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.work-cta h3 { color: #fff; font-size: 22px; }
.work-cta p { color: var(--on-dark); margin-top: 6px; font-size: 16px; }

/* Contact */
.contact { background: var(--navy); color: var(--on-dark); padding: 104px 0; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact-direct { margin-top: 28px; font-size: 16px; }
.contact-direct a { color: var(--teal); font-weight: 600; font-size: 19px; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }
.contact-form { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #E2E8F0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: #fff; background: var(--navy);
  border: 1px solid #334155; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6,182,212,.25); }
.field [aria-invalid="true"] { border-color: #F87171; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 14px; color: #94A3B8; }
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } .contact { padding: 72px 0; } .contact-form { padding: 24px; } }

/* Footer */
.site-footer { background: #0A1020; color: #94A3B8; padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer img { height: 28px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Simple pages (privacy, 404) */
.page { padding: 88px 0 104px; }
.page h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page .prose { max-width: 70ch; }
