/* LJCONSULT: tokens from the logo (charcoal, lime) plus complementary petrol, sand and sky.
   Lime is used for surfaces, lines and marks. Text uses charcoal, petrol or the darkened lime. */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --band: #EFEFEC;
  --sand: #F3ECDD;
  --sand-line: #E2D5B6;
  --sky: #E3EEF0;
  --ink: #343432;
  --muted: #5E5E58;
  --line: #DAD9D3;
  --lime: #AAC527;
  --lime-text: #596B0E;
  --petrol: #1F5F6B;
  --petrol-deep: #17454E;
  --on-petrol: #FFFFFF;
  --on-lime: #262624;
  --dark: #262624;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9C8C1;
  --card-shadow: 0 1px 0 rgba(52, 52, 50, 0.04);
  --f-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;
  --radius: 4px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1B1A; --surface: #252523; --band: #212120; --sand: #26241F; --sand-line: #3B372C; --sky: #1D2A2C;
    --ink: #F2F1EC; --muted: #B3B2AA; --line: #3A3A37; --lime-text: #C5E04A; --petrol: #7CC0CC;
    --petrol-deep: #1F5F6B; --dark: #121211; --card-shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B1B1A; --surface: #252523; --band: #212120; --sand: #26241F; --sand-line: #3B372C; --sky: #1D2A2C;
  --ink: #F2F1EC; --muted: #B3B2AA; --line: #3A3A37; --lime-text: #C5E04A; --petrol: #7CC0CC;
  --petrol-deep: #1F5F6B; --dark: #121211; --card-shadow: none; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; text-wrap: balance; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.eyebrow {
  font-family: var(--f-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--lime); flex: none; }

/* logo swap for dark mode */
.logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: none; }
  :root:not([data-theme="light"]) .logo-light { display: block; }
}
:root[data-theme="dark"] .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: block; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 56px; width: auto; }
.header-right { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 0.95rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--lime); }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.lang a {
  font-family: var(--f-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-decoration: none;
  padding: 8px 11px; line-height: 1; color: var(--ink); border-left: 1.5px solid var(--ink);
}
.lang a:first-child { border-left: 0; }
.lang a:hover { background: var(--band); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }

.btn {
  display: inline-block; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 24px; border-radius: var(--radius); border: 2px solid var(--ink);
  background: var(--ink); color: var(--bg); cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
/* form submit: same look as the button on lurivex.com (gold, square corners, dark text) */
form button.btn { width: auto; justify-self: start; align-self: flex-start; background: #c5a35b; border: 1px solid #c5a35b; border-radius: 0; color: #0a1420; font-weight: 500; font-size: 0.9rem; padding: 14px 26px; }
form button.btn:hover { background: #d1b36f; border-color: #d1b36f; transform: none; }
.btn.small { padding: 10px 18px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* hero */
.hero { padding: 84px 0 68px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 em { background: linear-gradient(transparent 62%, rgba(170, 197, 39, 0.5) 62%, rgba(170, 197, 39, 0.5) 92%, transparent 92%); } }
:root[data-theme="dark"] .hero h1 em { background: linear-gradient(transparent 62%, rgba(170, 197, 39, 0.5) 62%, rgba(170, 197, 39, 0.5) 92%, transparent 92%); }
.hero .lead { font-size: 1.16rem; color: var(--muted); max-width: 34em; margin: 26px 0 34px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.mark { width: 100%; max-width: 440px; margin-left: auto; color: var(--ink); }
.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.bar.b2 { animation-delay: 0.12s; }
.bar.b3 { animation-delay: 0.24s; }
.frame { animation: fade 1s ease 0.3s both; }
@keyframes rise { from { transform: scaleY(0.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--petrol); }
.fact span { color: var(--muted); font-size: 0.92rem; }

/* photos (only rendered when an image file exists at build time) */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--band); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-band { padding-top: 56px; }
.photo-band .photo { aspect-ratio: 2 / 1; }
.photo-band .photo img { object-position: 50% 40%; }
.card-photo { aspect-ratio: 16 / 10; margin: -34px -28px 26px; border-radius: 0; }

section { padding: 96px 0; }
.section-head { max-width: 42em; margin-bottom: 52px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* focus */
.focus { background: var(--sand); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.focus-card { background: var(--surface); border: 1px solid var(--sand-line); border-top: 6px solid var(--lime); border-radius: var(--radius); padding: 34px 28px; overflow: hidden; box-shadow: var(--card-shadow); }
.focus-card.petrol { background: var(--petrol-deep); border-color: var(--petrol-deep); border-top-color: var(--lime); color: var(--on-petrol); }
.focus-card .n { display: block; font-family: var(--f-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; color: var(--lime-text); margin-bottom: 14px; }
.focus-card.petrol .n { color: var(--lime); }
.focus-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
.focus-card:nth-child(3) { border-top-color: var(--petrol); }
.focus-card p { color: var(--muted); }
.focus-card.petrol p { color: #D5E6E9; }
.focus-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.focus-card li { padding-left: 26px; position: relative; font-weight: 500; }
.focus-card li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 14px; height: 4px; background: var(--lime); }

/* expertise */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--sand-line); padding: 28px 24px; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.card:nth-child(1) { border-top-color: var(--sand-line); }
.card:nth-child(2) { border-top-color: var(--petrol); }
.card:nth-child(3) { border-top-color: var(--lime); }
.card:nth-child(4) { border-top-color: var(--ink); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* services */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.service .n { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; color: var(--petrol); line-height: 1; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* projects */
.projects { background: var(--dark); color: var(--on-dark); }
.projects .eyebrow { color: var(--on-dark-muted); }
.projects .section-head p { color: var(--on-dark-muted); }
.entity.feature { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; align-items: center; border: 1px solid #4a4a47; border-radius: var(--radius); padding: 38px 34px; }
.project-logo { display: grid; place-items: center; min-height: 200px; background: #F2F1EC; border-radius: var(--radius); padding: 40px 32px; color: #343432; text-decoration: none; border-top: 4px solid var(--lime); transition: transform 0.15s ease; }
.project-logo:hover { transform: translateY(-2px); }
.project-logo img { max-height: 96px; max-width: 100%; width: auto; }
.project-logo .word { font-family: var(--f-display); font-weight: 600; font-size: 3.4rem; letter-spacing: -0.03em; line-height: 1; }
.project-logo .word i { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.04em; border-radius: 50%; background: var(--lime); }
.project-body .tag { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.project-body h3 { font-size: 1.7rem; font-weight: 700; margin: 8px 0 12px; }
.project-body p { color: var(--on-dark-muted); margin-bottom: 18px; }
.more { font-family: var(--f-display); font-weight: 600; color: var(--lime); text-decoration: none; border-bottom: 2px solid var(--lime); }

/* approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { padding: 8px 26px 8px 0; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; background: var(--lime); color: var(--on-lime); font-family: var(--f-display); font-weight: 700; border-radius: 50%; margin-bottom: 18px; }
.step:nth-child(even)::before { background: var(--petrol-deep); color: #fff; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* contact */
.contact { background: var(--sky); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--muted); }
.contact-info dl { margin: 28px 0 0; display: grid; gap: 16px; }
.contact-info dt { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 2px 0 0; font-weight: 500; }
.contact-info dd a { text-decoration-color: var(--petrol); text-underline-offset: 3px; }
form { background: var(--surface); padding: 32px; border-radius: var(--radius); border-top: 6px solid var(--petrol); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.88rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea, select {
  font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
select { padding-right: 8px; }
input:focus, textarea:focus, select:focus { border-color: var(--petrol); outline: 2px solid var(--lime); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.field-phone { display: grid; gap: 6px; }
.field-phone > label { display: block; }
.phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.fineprint a { text-underline-offset: 3px; }
.status { min-height: 1.4em; font-weight: 600; margin: 0; }
.status.ok { color: var(--lime-text); }
.status.err { color: #B3261E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.err { color: #FF8A80; } }
:root[data-theme="dark"] .status.err { color: #FF8A80; }

/* footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.site-footer img { height: 52px; width: auto; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.ai-tag { width: 100%; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-tag a { display: inline-block; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.ai-tag a:hover { border-color: var(--ink); }

/* legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal a { text-underline-offset: 3px; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .focus-grid { grid-template-columns: 1fr; }
  .entity.feature { grid-template-columns: 1fr; gap: 24px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 68px; }
  .brand img { height: 46px; }
  .header-right { gap: 12px; }
  .hero { padding: 44px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .mark { max-width: 260px; margin: 0; }
  section { padding: 64px 0; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:first-child { border-top: 0; }
  .service-list, .cards, .steps, .row { grid-template-columns: 1fr; }
  .focus-card { padding: 28px 22px; }
  .card-photo { margin: -28px -22px 22px; }
  .photo-band .photo { aspect-ratio: 4 / 3; }
  .phone { grid-template-columns: 1fr; }
  form { padding: 22px; }
}
@media (max-width: 420px) {
  .header-right .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bar, .frame { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ebulo card: logo on photo */
.project-logo.has-photo { position: relative; overflow: hidden; background: #1a1a18; padding: 0; min-height: 260px; border-top: 0; }
.project-logo.has-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.project-logo.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,20,18,0.35), rgba(20,20,18,0.72)); }
.project-logo.has-photo .eb-logo, .project-logo.has-photo .word { position: relative; z-index: 2; }
.project-logo.has-photo img.eb-logo { height: auto; width: min(62%, 260px); max-width: none; max-height: none; filter: drop-shadow(0 2px 14px rgba(0,0,0,0.45)); }
.project-logo.has-photo::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 4px; background: var(--lime); }
.project-logo.has-photo { display: flex; align-items: center; justify-content: center; }
.project-logo.has-photo img.eb-logo { flex: 0 0 auto; width: 210px; }
.project-logo.has-photo { align-items: flex-end; justify-content: flex-start; padding: 0 0 22px 24px; }
.project-logo.has-photo img.eb-logo { width: 150px; }
.project-logo.has-photo::before { background: linear-gradient(180deg, rgba(20,20,18,0.05) 35%, rgba(20,20,18,0.78)); }
/* logo bottom left */
.project-logo.has-photo { align-items: flex-end; justify-content: flex-start; padding: 0 0 26px 28px; }
.project-logo.has-photo img.eb-logo { width: 150px; }
.project-logo.has-photo::before { background: linear-gradient(180deg, rgba(20,20,18,0.1) 30%, rgba(20,20,18,0.78)); }

/* hero with background photo: always light text on a darkened photo, in both themes */
.hero.has-bg { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 96px 0 84px;
  --ink: #F2F1EC; --muted: #D9D7CF; background: #14140f; color: #F2F1EC; }
.hero.has-bg .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 40%; z-index: -2; }
.hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18,18,16,0.86) 0%, rgba(18,18,16,0.66) 42%, rgba(18,18,16,0.18) 100%), linear-gradient(180deg, rgba(18,18,16,0.3), rgba(18,18,16,0) 30%, rgba(18,18,16,0.45)); }
.hero.has-bg .wrap { grid-template-columns: minmax(0, 46rem); width: 100%; }
.hero.has-bg .eb-logo { display: none; }
.hero.has-bg h1 em { background: linear-gradient(transparent 62%, rgba(170, 197, 39, 0.55) 62%, rgba(170, 197, 39, 0.55) 92%, transparent 92%); color: var(--ink); }
.hero.has-bg .btn.ghost { border-color: #F2F1EC; color: #F2F1EC; }
.hero.has-bg .btn.ghost:hover { background: #F2F1EC; color: #262624; }
@media (max-width: 760px) { .hero.has-bg { min-height: 0; padding: 64px 0 52px; } .hero.has-bg::before { background: rgba(18,18,16,0.66); } }
