/* Nexora 360 — brand system v4 · logo teal/orange · square edges */
:root {
  --ink: #0e2e36;
  --pine: #16505e;
  --pine-line: #23616f;
  --leaf: #2187a0;
  --leaf-dark: #196d80;
  --gold: #f49b1b;
  --gold-soft: #fdebcf;
  --paper: #f4f7f7;
  --white: #ffffff;
  --text: #17333a;
  --text-soft: #476268;
  --line: #dce5e6;
  --wa: #1fae54;
  --radius: 0;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-dark); text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 700; margin-bottom: 0.6rem; }
h3 { font-size: 1.18rem; font-weight: 700; }
.section { padding: 84px 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-dark);
  margin-bottom: 16px;
}
.lede { font-size: 1.13rem; color: var(--text-soft); max-width: 620px; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 247, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: 0.01em; }
.brand svg { flex: none; }
.brand b { color: var(--leaf-dark); font-weight: 800; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-soft); font-size: 0.94rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 0;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 174, 84, 0.28); }
.btn-wa:hover { color: #fff; background: #189a49; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--pine); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffab33; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost-light { background: transparent; color: #e9f2f4; border: 1.5px solid var(--pine-line); }
.btn-ghost-light:hover { color: #fff; border-color: var(--leaf); }
.btn-sm { padding: 9px 16px; font-size: 0.8rem; }

/* ============ HERO (dark evergreen, chat mockup) ============ */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(33, 135, 160, 0.25), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(244, 155, 27, 0.12), transparent 55%),
    var(--ink);
  color: #e9f2f4;
  padding: 92px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: #a3bcc3; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .lede { margin-top: 20px; }
.hero-facts { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 34px; font-family: var(--font-mono); font-size: 0.8rem; color: #8aa6ad; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: "▸"; color: var(--gold); }

/* chat mockup */
.chat {
  background: #0f333c;
  border: 1px solid var(--pine-line);
  border-radius: 0;
  padding: 22px;
  max-width: 420px;
  margin-left: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--pine-line);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 0;
  background: var(--leaf); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
}
.chat-head .who { line-height: 1.3; }
.chat-head .who strong { color: #fff; font-size: 0.95rem; display: block; }
.chat-head .who span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--leaf); }
.msg {
  max-width: 85%; padding: 11px 14px; border-radius: 0;
  font-size: 0.9rem; line-height: 1.5; margin-bottom: 10px;
  opacity: 0; transform: translateY(8px);
  animation: msg-in 0.45s ease forwards;
}
.msg.them { background: #1b3f4a; color: #d5e5ea; }
.msg.us { background: #005c4b; color: #e7f6ef; margin-left: auto; }
.msg .t { display: block; font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.4); margin-top: 5px; text-align: right; }
.msg:nth-child(2) { animation-delay: 0.3s; }
.msg:nth-child(3) { animation-delay: 1.1s; }
.msg:nth-child(4) { animation-delay: 2s; }
.msg:nth-child(5) { animation-delay: 2.9s; }
@keyframes msg-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; opacity: 1; transform: none; } }
.chat-note {
  margin-top: 14px; font-family: var(--font-mono); font-size: 0.7rem;
  color: #7d99a1; text-align: center; letter-spacing: 0.04em;
}

/* dark band */
.band { background: var(--pine); color: #e9f2f4; }
.band .eyebrow { color: var(--gold); }
.band h2 { color: #fff; }
.band p { color: #b3ccd3; max-width: 640px; }
.band-inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 58px 0; }

/* cards */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 46, 54, 0.1); border-color: #bcd0d4; }
.card .tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold-soft); color: #a05e00;
  padding: 5px 10px; border-radius: 0; margin-bottom: 16px;
}
.card h3 { margin-bottom: 4px; }
.card .price {
  font-family: var(--font-mono); font-weight: 600; font-size: 1.22rem;
  font-variant-numeric: tabular-nums; margin: 12px 0 2px; color: var(--ink);
}
.card .price small { font-size: 0.74rem; font-weight: 500; color: var(--text-soft); display: block; margin-top: 3px; }
.card ul { margin: 16px 0 20px; padding: 0; flex: 1; }
.card li { list-style: none; padding-left: 20px; position: relative; font-size: 0.92rem; color: var(--text-soft); margin-bottom: 8px; }
.card li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 0; background: var(--leaf); }
/* featured = inverted evergreen card */
.card.featured { background: var(--ink); border-color: var(--ink); }
.card.featured h3, .card.featured .price { color: #fff; }
.card.featured .price small { color: #9db9c0; }
.card.featured li { color: #b3ccd3; }
.card.featured li::before { background: var(--gold); }
.card.featured .tag { background: var(--gold); color: var(--ink); }
.card.featured:hover { box-shadow: 0 20px 48px rgba(14, 46, 54, 0.35); }
.card.featured .btn-dark { background: var(--gold); color: var(--ink); }
.card.featured .btn-dark:hover { background: #ffab33; }

.note {
  margin-top: 28px; font-size: 0.96rem; color: var(--text);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 0; padding: 18px 22px;
}

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 0; width: 100%; height: auto; object-fit: cover; box-shadow: 0 22px 50px rgba(14, 46, 54, 0.16); }
.split .price-line { font-family: var(--font-mono); font-weight: 600; font-size: 1.35rem; font-variant-numeric: tabular-nums; margin-top: 6px; }
.split .price-line span { font-size: 0.78rem; font-weight: 500; color: var(--text-soft); }

/* process steps (real sequence: audit → pilot → scale) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: 28px 24px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  color: var(--ink); background: var(--gold);
  padding: 4px 9px; border-radius: 0;
  display: inline-block; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--text-soft); }

/* faq */
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.faq div { background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 24px; }
.faq h3 { font-size: 1rem; margin-bottom: 8px; }
.faq p { font-size: 0.92rem; color: var(--text-soft); }

/* blog teaser */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: 26px; font-weight: 700; font-family: var(--font-display); font-size: 1.02rem;
  color: var(--ink); line-height: 1.35;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 46, 54, 0.1); }
.post small { display: block; margin-top: 14px; color: var(--leaf-dark); font-family: var(--font-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; margin-top: 40px; }
.contact-info p { margin-bottom: 16px; color: var(--text-soft); }
.contact-info strong { color: var(--text); }
form .field { margin-bottom: 16px; }
form label { display: block; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 7px; color: var(--text); }
form input, form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 0;
  font: inherit; background: var(--white); color: var(--text);
}
form input:focus, form textarea:focus { outline: 2px solid var(--leaf); border-color: transparent; }
#form-status { margin-top: 12px; font-size: 0.92rem; font-weight: 600; }

/* footer */
footer { background: var(--ink); color: #8aa6ad; padding: 52px 0 32px; font-size: 0.92rem; }
footer .brand { color: #fff; }
footer .brand b { color: var(--gold); }
footer a { color: #8aa6ad; }
footer a:hover { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 7px; }
.copyright { border-top: 1px solid var(--pine-line); padding-top: 20px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em; }

/* responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .chat { margin: 0 auto; }
  .band-inner { grid-template-columns: 1fr; }
  .steps, .faq, .posts, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 22px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .hero { padding: 64px 0 70px; }
}

/* our work — continuous slider */
.work-strip {
  overflow: hidden; margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.work-track { display: flex; gap: 22px; width: max-content; animation: work-slide 45s linear infinite; }
.work-strip:hover .work-track { animation-play-state: paused; }
@keyframes work-slide { to { transform: translateX(-50%); } }
.work-card {
  width: 300px; flex: none; background: var(--white);
  border: 1px solid var(--line); display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 46, 54, 0.14); }
.work-card .shot { height: 190px; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card .meta { padding: 14px 16px 16px; }
.work-card .meta strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.work-card .meta span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--leaf-dark); letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) {
  .work-track { animation: none; }
  .work-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* industries grid */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.ind-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ind-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 46, 54, 0.12); }
.ind-card .shot { height: 160px; overflow: hidden; border-bottom: 1px solid var(--line); }
.ind-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.ind-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ind-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ind-card .hook { font-size: 0.9rem; color: var(--text); font-weight: 600; margin-bottom: 12px; }
.ind-card ul { padding: 0; margin: 0 0 14px; flex: 1; }
.ind-card li { list-style: none; padding-left: 18px; position: relative; font-size: 0.86rem; color: var(--text-soft); margin-bottom: 6px; }
.ind-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--leaf); }
.ind-card .proof { font-family: var(--font-mono); font-size: 0.68rem; color: var(--leaf-dark); letter-spacing: 0.02em; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } #paths .grid { grid-template-columns: 1fr !important; } }

/* real logo */
.brand img.logo { height: 42px; width: auto; display: block; }
footer .brand img.mark { height: 36px; width: auto; }
.chat-avatar { background: #fff; padding: 6px; }
.chat-avatar img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .brand img.logo { height: 36px; } }

/* hero digital rain */
.hero-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-rain { display: none; } }

/* rain-behind: translucent light sections (solid cards keep text clean) */
.section.alt { background: rgba(255, 255, 255, 0.86); }

/* our work — artistic masonry gallery (/work/) */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 14px; margin-top: 40px; }
.gallery-item {
  position: relative; overflow: hidden; grid-column: span 2; grid-row: span 1;
  display: block; background: var(--ink);
}
.gallery-item.g-big  { grid-column: span 3; grid-row: span 2; }
.gallery-item.g-tall { grid-column: span 2; grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 3; grid-row: span 1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img, .gallery-item.is-active img {
  transform: scale(1.08); filter: brightness(0.55);
}
.gallery-item .reveal {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(0deg, rgba(14,46,54,0.92), transparent);
  transform: translateY(100%); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover .reveal, .gallery-item:focus-visible .reveal, .gallery-item.is-active .reveal {
  transform: translateY(0); opacity: 1;
}
.gallery-item .reveal strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.gallery-item .reveal span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.02em; }
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 110px; }
  .gallery-item.g-big { grid-column: span 4; grid-row: span 2; }
  .gallery-item.g-wide { grid-column: span 4; }
  .gallery-item.g-tall { grid-column: span 2; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item, .gallery-item.g-big, .gallery-item.g-tall, .gallery-item.g-wide { grid-column: span 2; grid-row: span 1; }
}

/* long-form article (blog posts) */
.article { max-width: 700px; margin: 0 auto; }
.article .eyebrow { display: block; }
.article .byline { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-soft); margin-top: 18px; }
.article-body { max-width: 700px; margin: 40px auto 0; font-size: 1.05rem; line-height: 1.75; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { margin-top: 46px; margin-bottom: 14px; font-size: 1.5rem; }
.article-body h3 { margin-top: 30px; margin-bottom: 10px; }
.article-body strong { color: var(--ink); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 30px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink);
}
.article-cta {
  margin-top: 48px; padding: 28px; background: var(--paper); border: 1px solid var(--line);
  text-align: center;
}
.article-cta p { margin-bottom: 16px; color: var(--text-soft); }
