@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(/fonts/plus-jakarta-sans.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #063B38;
  --body: #24504B;
  --muted: #55706C;
  --teal: #0B5D58;
  --teal-hover: #084A46;
  --bright: #1FA38F;
  --mint: #E3F3EF;
  --tint: #F3FAF8;
  --line: #D5E6E2;
  --bg: #FFFFFF;
  --error: #B42318;
  --on-dark: #E3F3EF;
  --on-dark-muted: #A9C9C3;
  --accent-dark: #7FD9C6;
  --r-ctl: 10px;
  --r-card: 16px;
  --r-panel: 20px;
  --shell: 1120px;
  --shadow: 0 12px 32px -18px rgba(6, 59, 56, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 16px/1.65 "Plus Jakarta Sans", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.2; }
p { margin: 0; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--bg); padding: 8px 12px; }

/* Buttons are pills, echoing the figures in the mark. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--teal);
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), background-color .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--mint); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { margin-left: -12px; }
.brand img { width: 172px; height: auto; }
.top nav { display: none; gap: 28px; }
.top nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.top nav a:hover { color: var(--teal); }

/* Hero */
.hero { padding: 48px 0 8px; }
.hero-in { display: grid; gap: 40px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.lead { font-size: 18px; margin-top: 20px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-art {
  position: relative; overflow: hidden;
  background: var(--mint); border-radius: var(--r-panel);
  min-height: 340px; padding: 28px;
  display: flex; align-items: flex-end;
}
.art-mark { position: absolute; right: -40px; top: -30px; width: 300px; height: auto; }
.art-mark .a { fill: #fff; }
.art-mark .b { fill: var(--bright); opacity: .35; }
.flow {
  position: relative; width: 100%; max-width: 380px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.flow-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.flow ul { list-style: none; margin: 0; padding: 0; }
.flow li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); font-weight: 600;
}
.flow li:first-child { border-top: 0; }
.flow li span { display: flex; align-items: center; gap: 10px; }
.flow li span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.flow li.ok span::before { background: var(--teal); border-color: var(--teal); }
.flow li.now span::before { background: var(--bright); border-color: var(--bright); animation: pulse 2.4s ease-in-out infinite; }
.flow em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.flow li.ok em { color: var(--teal); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(31, 163, 143, .18); } }

/* Sections */
.sec { padding: 72px 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head p { margin-top: 12px; color: var(--muted); }

/* Services: asymmetric grid, the AI card inverted */
.services { display: grid; gap: 16px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; background: var(--bg);
  display: flex; flex-direction: column; gap: 12px;
}
.svc > p { font-size: 15px; line-height: 1.7; }
.svc .sub { color: var(--muted); font-weight: 600; margin-top: -6px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--bright); }
.svc-ai { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.svc-ai h3 { color: #fff; }
.svc-ai .sub { color: var(--accent-dark); }
.svc-ai .ticks b { color: #fff; }
.svc-ai .ticks li::before { background: var(--accent-dark); }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--teal);
  background: var(--mint); border-radius: 999px; padding: 4px 10px;
}
.more { margin-top: auto; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Projects */
.projects { display: grid; gap: 16px; }
.case {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 28px; display: grid; gap: 24px;
}
.case-kind { font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.case-copy p:last-child { margin-top: 12px; }
.case .ticks { align-content: start; }
.case-z { align-content: start; gap: 12px; }

/* Process: vertical flow with dots, no numbers */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 32px 36px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--teal);
}
.steps li::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 6px; font-size: 15px; }

/* Contact: inverted band */
.contact { background: var(--ink); color: var(--on-dark); }
.contact h2 { color: #fff; }
.contact-in { display: grid; gap: 36px; }
.contact-copy > p { margin-top: 12px; color: var(--on-dark-muted); }
.channels { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.channels li { display: flex; align-items: center; gap: 12px; }
.channels svg { width: 20px; height: 20px; color: var(--accent-dark); flex: none; }
.channels a { color: #fff; font-weight: 600; text-decoration: none; }
.channels a:hover { text-decoration: underline; }

.form {
  position: relative; background: var(--bg); color: var(--body);
  border-radius: var(--r-panel); padding: 28px; display: grid; gap: 16px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-ctl);
  padding: 11px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--teal); outline-offset: 0; }
.row2 { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.note { font-size: 13px; color: var(--muted); }
.status:empty { display: none; }
.status { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--tint); color: var(--ink); }
.status.ok { background: var(--mint); color: var(--teal); }
.status.err { background: #FDECEA; color: var(--error); }

/* Footer continues the contact band */
.foot { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .12); padding: 40px 0; font-size: 14px; }
.foot-in { display: grid; gap: 20px; }
.foot img { width: 172px; margin-left: -12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Privacy page */
.doc { padding: 56px 0 72px; }
.doc .shell { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc .updated { color: var(--muted); margin-top: 8px; }

@media (min-width: 768px) {
  .top nav { display: flex; }
  .hero { padding: 72px 0 24px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero-art { min-height: 420px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1.6fr 1fr; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .sec { padding: 96px 0; }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(12, 1fr); }
  .services .svc:nth-child(1) { grid-column: span 7; }
  .services .svc:nth-child(2) { grid-column: span 5; }
  .services .svc:nth-child(3) { grid-column: span 5; }
  .services .svc:nth-child(4) { grid-column: span 7; }
  .case-main { grid-template-columns: 1fr 1fr; }
  .how { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .how .sec-head { margin-bottom: 0; }
  .contact-in { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .foot nav { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
