:root {
  --bg: #07111f;
  --bg-2: #0a1526;
  --panel: #0c182a;
  --panel-2: #101e33;
  --line: rgba(178,198,229,.16);
  --line-strong: rgba(178,198,229,.26);
  --text: #f7f9fc;
  --muted: #98a8bf;
  --ink: #0b1220;
  --ink-muted: #5b687a;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --blue: #2563EB;
  --cyan: #00D4C8;
  --violet: #7C3AED;
  --orange: #f59e0b;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(4, 12, 25, .14);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { max-width: 840px; }
.skip-link { position: fixed; left: 14px; top: -90px; background: #fff; color: #111; z-index: 9999; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 14px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 999; color: white; background: rgba(7,17,31,.2); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7,17,31,.94); backdrop-filter: blur(18px); border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 153px; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.78); }
.nav-list a { transition: color .18s ease; }
.nav-list a:hover { color: #fff; }
.header-cta { margin-left: 3px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; background: #fff; border-radius: 10px; }
.mobile-menu { display: none; background: rgba(7,17,31,.99); border-top: 1px solid var(--line); }
.mobile-menu .container { padding: 18px 0 26px; }
.mobile-menu .nav-list { display: grid; gap: 4px; margin-bottom: 17px; }
.mobile-menu .nav-list a { display: block; padding: 11px 2px; font-size: 16px; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 19px; border-radius: 7px; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #1264f4; color: white; box-shadow: 0 10px 25px rgba(18,100,244,.22); }
.btn-primary:hover { background: #2c77ff; box-shadow: 0 13px 32px rgba(18,100,244,.3); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.025); }
.btn-secondary:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.42); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-full { width: 100%; }

/* Hero: intentionally compact to match the original ELARQO sketch */
.section-dark, .studio-dark, .hero { background: var(--bg); color: #fff; }
.hero { position: relative; padding: 116px 0 44px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 650px; height: 500px; right: -90px; top: -130px; background: radial-gradient(circle, rgba(37,99,235,.14), transparent 64%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: center; min-height: 385px; }
.hero-copy { padding: 20px 0; }
h1,h2,h3 { letter-spacing: -.035em; }
.hero h1 { margin: 0 0 20px; max-width: 560px; font-size: clamp(42px, 4.65vw, 58px); line-height: 1.03; font-weight: 800; }
.hero h1 span { color: var(--blue); }
.hero-copy > p { margin: 0; max-width: 575px; color: #a9b8cc; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; margin-top: 27px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }
.hero-image-frame { position: relative; width: min(100%, 610px); overflow: hidden; border-radius: 24px; }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, transparent 15%, transparent 88%, var(--bg) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%); }
.hero-image-frame img { width: 100%; aspect-ratio: 1.82/1; object-fit: cover; object-position: 52% 56%; filter: saturate(.94) contrast(1.04); }

/* Dark studio core */
.compact-heading { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 32px; margin-bottom: 17px; color: #d8e1ee; }
.compact-heading span { font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.compact-heading small { color: #64758e; font-size: 10px; }
.section-services { padding: 16px 0 30px; border-top: 1px solid rgba(255,255,255,.04); }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.service-card { min-height: 112px; display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.service-card:hover { transform: translateY(-2px); border-color: rgba(124,161,222,.36); background: rgba(255,255,255,.032); }
.service-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.035); }
.service-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.blue { color: #4c91ff; }
.service-icon.violet { color: #b275ff; }
.service-icon.orange { color: #f5a623; }
.service-icon.purple { color: #d16cff; }
.service-card h3 { margin: 0 0 7px; font-size: 14px; color: #f4f8ff; letter-spacing: -.015em; }
.service-card p { margin: 0; color: #8798b0; font-size: 11px; line-height: 1.55; }

.section-work { padding: 29px 0 22px; }
.work-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: rgba(2,8,17,.36); transition: transform .22s ease, border-color .22s ease; }
.work-card:hover { transform: translateY(-3px); border-color: rgba(111,151,219,.36); }
.work-image { aspect-ratio: 1.72/1; overflow: hidden; background: #0d1728; }
.work-image.light { background: #dfe7f4; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work-card:hover .work-image img { transform: scale(1.025); }
.work-caption { padding: 10px 11px 11px; }
.work-caption strong { display: block; color: #f6f8fc; font-size: 10px; letter-spacing: .03em; }
.work-caption span { display: block; margin-top: 3px; color: #7f8fa5; font-size: 9px; }

.section-process { padding: 18px 0 29px; }
.process-line { display: grid; grid-template-columns: 1fr .24fr 1fr .24fr 1.2fr .24fr 1.2fr; align-items: center; gap: 5px; }
.process-step { text-align: center; min-width: 0; }
.step-icon { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; color: #c6d4e8; font-size: 22px; }
.process-step b { display: block; color: #e8eef7; font-size: 10px; line-height: 1.3; }
.process-step p { margin: 4px auto 0; max-width: 190px; color: #718198; font-size: 9px; line-height: 1.45; }
.process-connector { display: flex; align-items: center; gap: 3px; color: #4e6078; }
.process-connector i { height: 1px; flex: 1; background: #34445a; }
.process-connector span { font-size: 11px; }

/* Light strip exactly after the dark studio block, as in the original sketch */
.approach-strip { padding: 18px 0 25px; background: #f4f6fa; border-top: 1px solid #e4e9f1; }
.approach-grid { display: grid; grid-template-columns: 1.5fr .72fr; gap: 12px; }
.approach-card,.build-card { border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; box-shadow: 0 6px 22px rgba(24,42,73,.04); }
.approach-card { padding: 15px 18px; }
.mini-title { text-align: center; color: #536174; font-size: 9px; font-weight: 800; letter-spacing: .08em; margin-bottom: 12px; }
.mini-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.mini-process div { text-align: center; }
.mini-process span { width: 26px; height: 26px; display: grid; place-items: center; margin: 0 auto 6px; border: 1px solid #c7d1df; border-radius: 50%; color: #5d6f87; font-size: 10px; font-weight: 800; }
.mini-process b { display: block; color: #29384e; font-size: 10px; }
.mini-process small { display: block; color: #8693a4; font-size: 8px; margin-top: 2px; }
.build-card { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.build-card h2 { margin: 0 0 7px; font-size: 20px; }
.build-card p { margin: 0 0 13px; color: #68778a; font-size: 11px; line-height: 1.55; }
.build-card .btn { min-height: 35px; font-size: 10px; padding: 0 14px; }

/* Extended website */
.section { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 850; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(34px,4vw,52px); line-height: 1.08; }
.section-heading p { color: var(--ink-muted); line-height: 1.7; }
.section-heading.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-heading h2 span,.about-copy h2 span { color: var(--blue); }
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.about-copy h2,.contact-copy h2 { margin: 13px 0 22px; font-size: clamp(36px,4.2vw,56px); line-height: 1.08; }
.about-copy > p,.contact-copy > p { color: var(--ink-muted); line-height: 1.78; font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: #344258; font-size: 14px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #e9f1ff; color: var(--blue); font-size: 11px; font-weight: 900; }
.about-panel { position: relative; min-height: 420px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 22px; background: linear-gradient(145deg,#08111f,#11233d); color: #fff; box-shadow: var(--shadow); }
.about-panel::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle,rgba(37,99,235,.20),transparent 65%); }
.about-panel img { position: relative; z-index: 1; width: 220px; }
.about-panel-copy { position: relative; z-index: 1; margin-top: 16px; text-align: center; }
.about-panel-copy span { color: #7e91ac; font-size: 9px; letter-spacing: .16em; }
.about-panel-copy strong { display: block; margin: 5px 0; font-size: 21px; }
.about-panel-copy p { margin: 0; color: #93a5bd; font-size: 13px; }

.section-contact { background: linear-gradient(180deg,#07111f,#0a1525); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 78px; align-items: center; }
.contact-copy > p { color: #9cabc0; }
.contact-details { display: grid; gap: 7px; margin-top: 26px; color: #dce6f5; }
.contact-card { padding: 32px; border-radius: 19px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.26); }
.contact-card form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-card label { display: grid; gap: 7px; color: #344258; font-size: 11px; font-weight: 800; }
.contact-card label span { color: #8491a2; font-weight: 500; }
.contact-card input,.contact-card textarea { width: 100%; border: 1px solid #dce4ef; border-radius: 8px; background: #f9fbfd; color: #111827; padding: 12px 13px; outline: none; transition: .18s ease; }
.contact-card input:focus,.contact-card textarea:focus { border-color: #7da6ff; box-shadow: 0 0 0 4px rgba(37,99,235,.08); background: #fff; }
.form-message { margin-bottom: 14px; border-radius: 8px; padding: 11px 13px; font-size: 12px; }
.form-message.success { background: #eafaf5; color: #14765b; }
.form-message.error { background: #fff0f0; color: #a12c2c; }
.hp-field { position: absolute!important; left: -9999px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

.faq-section { background: #f5f7fb; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; }
.faq-list { display: grid; gap: 11px; }
.faq-item { border: 1px solid #dde5ef; background: #fff; border-radius: 11px; padding: 0 19px; }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-size: 14px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 21px; color: var(--blue); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0; padding: 0 25px 18px 0; color: var(--ink-muted); font-size: 14px; line-height: 1.7; }

/* Footer */
.site-footer { padding: 55px 0 23px; background: #060d17; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 46px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid strong { margin-bottom: 6px; font-size: 13px; }
.footer-grid p,.footer-grid a { color: #8696ab; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { margin-bottom: 7px; }
.footer-brand .brand-logo { width: 142px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: #617086; font-size: 11px; }

/* Standard WordPress content */
.content-area { min-height: 70vh; padding: 140px 0 90px; background: #f5f7fb; }
.content-shell { padding: 42px; border: 1px solid #e1e7f0; border-radius: 19px; background: #fff; box-shadow: var(--shadow); }
.page-header h1,.archive-header h1 { margin: 10px 0 25px; font-size: clamp(40px,5vw,62px); }
.prose { color: #344257; font-size: 16px; line-height: 1.8; }
.prose h2,.prose h3 { color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid #e1e7f0; border-radius: 16px; }
.post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 23px; }
.post-card-body h2 { margin: 6px 0 11px; }
.post-date { color: #77869a; font-size: 11px; }
.text-link { color: var(--blue); font-weight: 750; }
.single-thumb { overflow: hidden; margin: 0 0 28px; border-radius: 16px; }
.error-page { text-align: center; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn,.service-card,.work-card { transition: none; }
}

@media (max-width: 1050px) {
  .primary-nav,.header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu.is-open { display: block; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .services-grid,.work-grid { grid-template-columns: repeat(2,1fr); }
  .process-line { grid-template-columns: 1fr; gap: 13px; }
  .process-connector { display: none; }
  .process-step { display: grid; grid-template-columns: 42px 180px 1fr; align-items: center; text-align: left; border-bottom: 1px solid var(--line); padding: 9px 0; }
  .step-icon { margin: 0; }
  .process-step p { margin: 0; max-width: none; }
  .about-grid,.contact-grid { gap: 42px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { height: 66px; }
  .brand-logo { width: 137px; }
  .hero { padding: 94px 0 25px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 8px; }
  .hero-copy { padding: 12px 0 0; }
  .hero h1 { max-width: 640px; font-size: clamp(39px,11vw,55px); }
  .hero-copy > p { font-size: 14px; }
  .hero-art { justify-content: center; }
  .hero-image-frame { max-width: 620px; }
  .section-services { padding-top: 10px; }
  .compact-heading { justify-content: flex-start; }
  .compact-heading small { display: none; }
  .services-grid,.work-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .about-grid,.contact-grid,.faq-grid { grid-template-columns: 1fr; }
  .about-panel { min-height: 360px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero h1 br { display: none; }
  .hero-actions .btn { width: 100%; }
  .services-grid,.work-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 100px; }
  .process-step { grid-template-columns: 38px 1fr; }
  .process-step p { grid-column: 2; margin-top: 4px; }
  .mini-process { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .content-shell { padding: 27px; }
}
