/* ELAN Tech & Ventures — site styles
   Brand colors are defined once here; change them to restyle the whole site. */
:root {
  --navy-900: #0A1626;
  --navy-800: #0D1E33;
  --navy-700: #13294A;
  --green-600: #1FA34A;
  --green-500: #2BBF57;
  --lime-400: #7DCB3A;
  --lime-300: #9BE04A;
  --ink: #12202F;
  --muted: #55657A;
  --line: #E2E8EF;
  --bg: #FFFFFF;
  --bg-alt: #F4F7F5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 22, 38, .08);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy-900); background: linear-gradient(90deg, var(--green-500), var(--lime-300)); padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(125, 203, 58, .35); }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--lime-300); }

.eyebrow { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); margin-bottom: .8em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 22, 38, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 120px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #D6E0EA; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .93rem; }
.site-nav a:not(.btn):hover { color: var(--lime-300); }
.site-nav .btn { color: var(--navy-900); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #C9D6E3; padding: 90px 0 100px; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 203, 58, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 203, 58, .07) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--lime-300); }
.lead { font-size: 1.15rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art svg { width: 100%; height: auto; }
.traces path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-text p { color: #33435A; }
.credo { margin-top: 1.5em; padding: 18px 22px; border-left: 4px solid var(--lime-400); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-weight: 500; }
.credo span { font-family: var(--font-head); font-weight: 700; color: var(--green-600); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pillars li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.pillars li::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; background: linear-gradient(var(--green-500), var(--lime-300)); border-radius: 3px; }
.pillars h3 { margin-bottom: .3em; }
.pillars p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFE7BF; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--lime-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; margin-top: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-600); background: #EAF6E1; padding: .3em .8em; border-radius: 999px; }

/* Industries + process */
.industries { list-style: none; padding: 0; margin: 0 0 64px; display: flex; flex-wrap: wrap; gap: 12px; }
.industries li { padding: .6em 1.15em; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .95rem; background: #fff; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--lime-400); }
.step span { font-family: var(--font-head); font-weight: 800; color: var(--lime-400); font-size: .95rem; }
.step h3 { margin: .3em 0 .3em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Ventures band */
.ventures { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #C9D6E3; }
.ventures h2 { color: #fff; }
.ventures .eyebrow { color: var(--lime-300); }
.ventures-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ventures-inner > div { max-width: 680px; }
.ventures-inner p:last-child { margin: 0; }
.ventures .btn { flex-shrink: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.contact-list span { width: 90px; color: var(--muted); font-size: .9rem; }
.contact-form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #CBD5E0; border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--lime-400); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-note.error { color: #B42318; }

/* Footer */
.site-footer { background: var(--navy-900); color: #8FA1B5; padding: 44px 0; font-size: .88rem; }
.footer-inner { display: flex; align-items: center; gap: 40px; }
.footer-inner img { width: 110px; height: auto; flex-shrink: 0; }
.footer-text p { margin: 0 0 .3em; }
.quote { font-style: italic; color: #6E8196; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .ventures-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px 20px; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; }
  .site-nav .btn { width: auto; margin-top: 8px; padding: .6em 1.2em; }
  .cards, .process { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 70px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .traces path { animation: none; stroke-dashoffset: 0; }
}
