/* ============================================================
   automationwisnu — flat 2D, tech-leaning, Upwork-inspired.
   Section-by-section background rhythm:
   white -> light green tint -> white -> deep green + neon
   (Project Demos climax) -> white -> solid green -> dark.
   Green stays an accent outside Project Demos.
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:            #FFFFFF;
  --bg-secondary:  #FAFAF8;

  /* Green, accent only (outside Project Demos) */
  --green:         #14A800;   /* highlights, borders, arrows, icons, closing bg */
  --green-dark:    #0D7A00;   /* CTA background, passes AA on white */
  --green-darker:  #0A6300;   /* CTA hover / active */
  --green-tint:    #EAF7E6;   /* trust-bar background, small fills */
  --green-neon:    #1FD400;   /* brighter border on interactive states */

  /* Neon glow, interactive states ONLY (never on resting elements) */
  --glow:          0 0 12px rgba(20, 168, 0, .45);
  --glow-strong:   0 0 16px rgba(20, 168, 0, .6);

  /* Project Demos section (deep green climax) */
  --demo-bg:       #1F6B39;
  --demo-surface:  #1A5C33;
  --demo-text:     #FFFFFF;
  --demo-text-2:   #E8F2EB;
  --demo-neon:     #76C457;
  --demo-border:   #2D8049;
  --glow-neon:        0 0 12px rgba(118, 196, 87, .5);
  --glow-neon-strong: 0 0 18px rgba(118, 196, 87, .65);

  /* Text */
  --text:          #1A1A1A;
  --text-secondary:#5E6B66;

  /* Lines / dark */
  --border:        #E4EBE8;
  --tech-accent:   #0B1F17;   /* diagram outlines, footer background */
  --footer-bg:     #0B1F17;

  /* Feedback */
  --danger:        #B42318;
  --danger-bg:     #FDECEA;

  /* Circuit-line texture tile (very faint, z-index 0, hero + about only) */
  --circuit-neutral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23EDF1EF' stroke-width='1'%3E%3Cpath d='M0 16H24V0M32 64V44H64M0 48H14V64M50 0V20H64M24 16V44'/%3E%3C/g%3E%3Cg fill='%23EDF1EF'%3E%3Ccircle cx='24' cy='16' r='2'/%3E%3Ccircle cx='32' cy='44' r='2'/%3E%3Ccircle cx='14' cy='48' r='2'/%3E%3Ccircle cx='50' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");

  /* Rhythm */
  --maxw: 1120px;
  --radius: 12px;
  --radius-sm: 9px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-secondary);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: var(--green-dark); }

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; }
:where(section, footer)[id] { scroll-margin-top: 5.25rem; }

/* Keep real content above the circuit-line texture layer */
.section > .container,
.trust > .container,
.closing > .container { position: relative; z-index: 1; }

/* Faint circuit texture behind the hero (fades out downward) and About */
.hero, .about { overflow: hidden; }
.hero::before,
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--circuit-neutral);
  background-repeat: repeat;
  pointer-events: none;
}
.hero::before {
  opacity: .6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
.about::before { opacity: .45; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--green-dark);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .85rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .12s var(--ease),
              box-shadow .18s var(--ease);
}
/* Primary / submit buttons signal "interactive" with a soft neon glow */
.btn-primary {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--glow);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-darker);
  border-color: var(--green-neon);
  box-shadow: var(--glow-strong);
}
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--green-neon);
  color: var(--green-dark);
  box-shadow: var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
  padding: .6rem 1rem;
  font-size: .9rem;
}
.btn-ghost:hover,
.btn-ghost:focus-visible { background: var(--green-tint); box-shadow: var(--glow); }
/* Inverted button for the solid-green Closing CTA section */
.btn-invert {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}
.btn-invert:hover,
.btn-invert:focus-visible {
  background: #EAF7E6;
  border-color: #EAF7E6;
  color: var(--green-darker);
  box-shadow: 0 0 14px rgba(255, 255, 255, .55);
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }

:where(a, button, input, select, textarea, .acc-trigger):focus-visible {
  outline: 3px solid rgba(20, 168, 0, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--green-dark); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .i-x { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-x { display: block; }

.nav-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-menu.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-links a {
  display: block;
  padding: .7rem .25rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-dark);
  text-shadow: 0 0 9px rgba(20, 168, 0, .4);
}
.nav-links a[aria-current="true"] { color: var(--green-dark); }
.nav-cta { justify-content: center; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    border: 0;
    background: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links { flex-direction: row; gap: 1.5rem; }
  .nav-links a { padding: .35rem 0; }
  .nav-links a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--green); }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.025em;
  max-width: 24ch;
  text-wrap: balance;
}
.hero .hl {
  color: var(--green-dark);
  box-shadow: inset 0 -0.28em 0 var(--green-tint);
}
.hero-copy { position: relative; z-index: 1; }
.hero-sub { margin: 1.25rem 0 0; font-size: 1.075rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* Credibility badges, directly under the CTAs */
.stat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
}
.hero-stats { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

/* Right-side visual: enlarged Flow I Sell diagram over a soft neon backdrop.
   The blurred radial glow is the only gradient/blur anywhere in the hero. */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-flow {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 27rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.hero-flow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22%;
  background: radial-gradient(circle at 50% 50%,
              rgba(118, 196, 87, .55) 0%,
              rgba(118, 196, 87, .22) 38%,
              rgba(118, 196, 87, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-flow-label {
  margin: 0 0 1.1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
}
.hero-flow .flow--stack { width: 100%; align-items: stretch; gap: .45rem; }
.hero-flow .flow-box {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  padding: .9rem 1.1rem;
  white-space: normal;
}
.hero-flow .flow-arrow { align-self: center; margin-left: 0; }
.flow-ico { display: inline-flex; flex: 0 0 auto; }
.flow-ico svg { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.04fr .96fr; }
  .hero-visual { justify-content: flex-end; }
}

/* ---------- Flowchart motif ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.flow-box {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: .6rem .9rem;
  border: 1.5px solid var(--tech-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--tech-accent);
  white-space: nowrap;
}
.flow-box--accent {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-dark);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}
.flow-arrow { color: var(--green); display: inline-flex; flex: 0 0 auto; }

.flow--stack { flex-direction: column; align-items: flex-start; }
.flow--stack .flow-arrow { transform: rotate(90deg); margin-left: 1.4rem; }

/* Project + About flow diagrams stack on narrow screens */
.project-flow { overflow-x: auto; padding-bottom: .25rem; }
@media (max-width: 640px) {
  .project-flow .flow,
  .about-flow { flex-direction: column; align-items: flex-start; }
  .project-flow .flow-arrow,
  .about-flow .flow-arrow { transform: rotate(90deg); margin-left: 1.4rem; }
}

/* ---------- Trust bar (light green tint, flat, no pattern) ---------- */
.trust {
  background: var(--green-tint);
  border-block: 1.5px solid var(--border);
  padding-block: 1.7rem;
}
.cred-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 0 0 1.15rem;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--green-dark);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  padding: .4rem .8rem;
  background: #fff;
}
.cred-dot { color: var(--green); }
.cred-item {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
}
.trust-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.trust-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: .82rem;
  color: var(--text-secondary);
  margin-right: .5rem;
}
.pill-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
  padding: .35rem .7rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.trust .pill:hover {
  border-color: var(--green-neon);
  color: var(--green-dark);
  box-shadow: var(--glow);
}

/* ---------- Section head ---------- */
.section-head { max-width: 52ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { font-size: clamp(1.6rem, 3.8vw, 2.35rem); font-weight: 700; }
.section-head p { margin: .75rem 0 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(1.25rem, 4vw, 2.5rem); }
.about-grid h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; max-width: 18ch; }
.about-body p { margin: 0 0 1rem; font-size: 1.05rem; max-width: 58ch; }
.about-pivot {
  font-size: .92rem;
  color: var(--text-secondary);
  max-width: 54ch;
}
.about-flow { margin-top: 1.75rem; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}

/* ============================================================
   PROJECT DEMOS  (deep green climax section)
   ============================================================ */
.projects { background: var(--demo-bg); color: var(--demo-text-2); }
.projects .section-head h2 { color: var(--demo-text); }
.projects .section-head p { color: var(--demo-text-2); }

/* ---------- Accordion ---------- */
.accordion { margin-top: .5rem; }
.acc-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.acc-item.is-open { border-color: var(--green); box-shadow: var(--glow); }
.acc-trigger:hover .acc-title { color: var(--green-dark); }
.acc-heading { margin: 0; font: inherit; }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.acc-index {
  font-family: "JetBrains Mono", monospace;
  font-size: .8rem;
  color: var(--green-dark);
  flex: 0 0 auto;
}
.acc-title {
  flex: 1;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.acc-plus {
  flex: 0 0 auto;
  color: var(--green-dark);
  display: inline-flex;
  transition: transform .22s var(--ease);
}
.acc-item.is-open .acc-plus { transform: rotate(45deg); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel-inner {
  padding: 1.25rem 1.15rem 1.6rem;
  border-top: 1.5px solid var(--border);
}

/* Deep-green theming of the accordion */
.projects .acc-item { background: var(--demo-surface); border-color: var(--demo-border); }
.projects .acc-item.is-open { border-color: var(--demo-neon); box-shadow: var(--glow-neon); }
.projects .acc-index { color: var(--demo-neon); }
.projects .acc-title { color: var(--demo-text); }
.projects .acc-trigger:hover .acc-title { color: var(--demo-neon); }
.projects .acc-plus { color: var(--demo-neon); }
.projects .acc-panel-inner { border-top-color: var(--demo-border); }

.project-problem { margin: 0 0 1.25rem; color: var(--text); max-width: 62ch; }
.project-problem .lbl {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  margin-right: .5rem;
}
.projects .project-problem { color: var(--demo-text-2); }
.projects .project-problem .lbl { color: var(--demo-neon); }
.tool-row { margin: 1.1rem 0 0; }

/* Larger, thicker, neon-lit flow diagrams inside Project Demos */
.projects .project-flow .flow { gap: .7rem; }
.projects .flow-box {
  border-color: var(--demo-neon);
  border-width: 2px;
  background: rgba(255, 255, 255, .05);
  color: var(--demo-text);
  font-size: .95rem;
  padding: .7rem 1rem;
  box-shadow: 0 0 10px rgba(118, 196, 87, .22);
}
.projects .flow-box--accent {
  background: var(--demo-neon);
  border-color: var(--demo-neon);
  color: var(--tech-accent);
  font-family: "JetBrains Mono", monospace;
  box-shadow: 0 0 14px rgba(118, 196, 87, .5);
}
.projects .flow-arrow { color: var(--demo-neon); filter: drop-shadow(0 0 3px rgba(118, 196, 87, .55)); }
.projects .flow-arrow svg { width: 46px; height: 20px; }

.projects .pill {
  background: transparent;
  border-color: var(--demo-border);
  color: var(--demo-text-2);
}
.projects .pill:hover {
  border-color: var(--demo-neon);
  color: var(--demo-text);
  box-shadow: var(--glow-neon);
}

/* ---------- Demo forms ---------- */
.project-demo {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1.5px dashed var(--border);
}
.projects .project-demo { border-top-color: var(--demo-border); }
.project-demo h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .35rem;
}
.projects .project-demo h4 { color: var(--demo-text); }
.demo-note { margin: 0 0 1.15rem; font-size: .9rem; }
.demo-note em { color: var(--text); font-style: normal; font-weight: 500; }
.projects .demo-note { color: var(--demo-text-2); }
.projects .demo-note em { color: var(--demo-text); }

.demo-form { max-width: 34rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.field .req { color: var(--green-dark); }
.field .opt { color: var(--text-secondary); font-weight: 400; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  min-height: 44px;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green-neon);
  outline: 2px solid rgba(20, 168, 0, .35);
  outline-offset: 1px;
  box-shadow: var(--glow);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--danger); }
.field-err {
  margin: .35rem 0 0;
  font-size: .82rem;
  color: var(--danger);
}

/* Deep-green form theming */
.projects .field label { color: var(--demo-text); }
.projects .field .req { color: var(--demo-neon); }
.projects .field .opt { color: var(--demo-text-2); }
.projects .field input,
.projects .field textarea,
.projects .field select { border-color: var(--demo-border); }
.projects .field input:focus,
.projects .field textarea:focus,
.projects .field select:focus {
  border-color: var(--demo-neon);
  outline-color: rgba(118, 196, 87, .4);
  box-shadow: var(--glow-neon);
}
.projects .field-err { color: #FFD7D0; }

.form-error {
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  border: 1.5px solid var(--danger);
  background: var(--danger-bg);
  color: #8A231B;
  border-radius: var(--radius-sm);
  font-size: .88rem;
}

.form-submit { position: relative; margin-top: .25rem; }
.form-submit .spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
.form-submit.is-loading { pointer-events: none; }
.form-submit.is-loading .btn-label { visibility: hidden; }
.form-submit.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Submit button on deep green: bright neon fill with dark text */
.projects .btn-primary {
  background: var(--demo-neon);
  border-color: var(--demo-neon);
  color: var(--tech-accent);
  box-shadow: var(--glow-neon);
}
.projects .btn-primary:hover,
.projects .btn-primary:focus-visible {
  background: #8AD46B;
  border-color: #8AD46B;
  box-shadow: var(--glow-neon-strong);
}
.projects .form-submit .spinner {
  border-color: rgba(11, 31, 23, .3);
  border-top-color: var(--tech-accent);
}
.projects .btn-ghost {
  color: var(--demo-neon);
  border-color: var(--demo-neon);
}
.projects .btn-ghost:hover,
.projects .btn-ghost:focus-visible { background: rgba(118, 196, 87, .16); box-shadow: var(--glow-neon); }

.form-done {
  padding: 1.35rem;
  border: 1.5px solid var(--green);
  background: var(--green-tint);
  border-radius: var(--radius);
}
.form-done .done-check { color: var(--green-dark); margin-bottom: .5rem; }
.form-done h5 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  outline: none;
}
.form-done p { margin: 0 0 1rem; color: var(--text); font-size: .92rem; }
.form-done .done-email { font-weight: 600; color: var(--green-darker); word-break: break-all; }
.projects .form-done { border-color: var(--demo-neon); }

/* ---------- How I Work ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.step { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
  background: var(--green);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .92rem;
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: .85rem 0 .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--green-dark);
}
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.step p { margin: 0; font-size: .96rem; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

/* ---------- Closing CTA (solid green) ---------- */
.closing {
  background: var(--green);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.closing-inner { display: grid; justify-items: center; gap: .5rem; }
.closing h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); font-weight: 700; max-width: 20ch; color: #fff; }
.closing p { margin: 0 0 1.25rem; font-size: 1.1rem; color: #fff; opacity: .92; }

/* ---------- Footer (dark) ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #C9D6CE;
  padding-block: 2.5rem 1.5rem;
}
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand .brand { font-size: 1.1rem; color: #fff; display: inline-flex; align-items: center; }
.footer-brand .brand span { color: var(--demo-neon); }
.footer-hex {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: .5rem;
  background: var(--demo-neon);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
}
.footer-brand p { margin: .5rem 0 0; font-size: .92rem; color: #C9D6CE; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  color: #F0F5F0;
  text-decoration: none;
  font-weight: 500;
  font-family: "Space Grotesk", sans-serif;
}
.footer-links a:hover { color: var(--demo-neon); }
.footer-contact { font-size: .88rem; color: #8FA396; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid rgba(255, 255, 255, .1);
}
.footer-bottom p { margin: 0; font-size: .82rem; color: #8FA396; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links { align-items: flex-end; text-align: right; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .form-submit.is-loading .spinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, .9);
  }
  .projects .form-submit.is-loading .spinner { border-top-color: var(--tech-accent); }
}
