/* Eldar Ventures: static rebuild (2026-11-29) of the 2019 Divi/WordPress one-pager.
   Colours from the 2019 brand pack and the old theme. No frameworks. */
:root {
  --navy: #000099;
  --navy-deep: #00006b;
  --blue: #0000cc;
  --red: #ff003c;
  --sky: #66ccff;
  --ink: #000;
  --grey: #4c4c4c;
  --grey-light: #a8a8a8;
  --field: #eee;
  --mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  --sans: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 14px/1.8 var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; font-weight: 300; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: 130px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font: 500 14px/1 var(--mono); }
.nav a { color: rgba(0,0,0,.7); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); }

/* Bands */
.band { padding: 80px 0; }
.band-light { background: #fff; }
.band-hero { background: var(--navy) url(/assets/img/bg-curves.jpg) center / cover no-repeat; color: #fff; padding: 140px 0 120px; }
.band-code { background: var(--navy) url(/assets/img/bg-code.jpg) center / cover no-repeat; }
.band-fireworks { background: var(--navy) url(/assets/img/bg-fireworks.jpg) center / cover no-repeat; }
.band-projects { background: var(--navy-deep); }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .band-hero, .band-code, .band-fireworks { background-attachment: fixed; }
}

.hero-title { font: 300 clamp(44px, 8vw, 96px)/1.05 var(--mono); letter-spacing: -2px; color: #fff; }
.hero-spark { display: inline-block; width: .55em; vertical-align: top; margin: .02em 0 0 .06em; }
.hero-lead { margin: 56px 0 0; font: 400 clamp(17px, 2vw, 22px)/1.45 var(--mono); }
.hero-lead em { font-style: italic; }
.hero-lead a { color: #fff; }

.band-quote { padding: 180px 0; text-align: center; }
.quote { margin: 0; color: #fff; font: 300 clamp(28px, 4vw, 46px)/1.3 var(--mono); letter-spacing: -1px; }

/* Two-column text blocks with navy rules */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ruled { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding: 56px 0; }
.ruled-top { border-top: 1px solid var(--navy); padding-top: 40px; }
.mono-lead { font: 500 16px/1.5 var(--mono); color: var(--navy); margin-bottom: 20px; }
.spark-small { width: 30px; }
.split-right p { font-size: 14px; line-height: 2; }

.section-title { font: 300 clamp(34px, 4.5vw, 50px)/1.2 var(--mono); letter-spacing: -1px; text-align: center; color: var(--navy); }
.section-title.light { color: #fff; }
.section-title.red { color: var(--red); }
.section-sub { text-align: center; margin: 16px auto 56px; max-width: 760px; }
.section-sub.light { color: #fff; }

/* Project cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.card { background: #fff; padding: 36px 28px 28px; display: flex; flex-direction: column; }
.card-logo { height: 70px; width: auto; align-self: flex-start; margin: 0 0 32px; }
/* collection-logo.png is a 190x180 canvas with the mark in its middle third: enlarge, then trim the empty space */
.card-logo-square { height: 150px; margin: -40px 0 -8px -14px; }
.card p { flex: 1; }

.btn { display: inline-block; align-self: flex-start; font: 500 12px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 1px solid; background: transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-light { color: var(--sky); border-color: var(--sky); }
.btn-light:hover, .btn-light:focus-visible { background: var(--sky); color: #fff; }
.btn-dark { color: var(--navy); border-color: var(--navy); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--navy); color: #fff; }
.btn:disabled { opacity: .5; cursor: progress; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 40px; align-items: start; padding-bottom: 56px; }
.mono-head { font: 500 16px/1.4 var(--mono); color: var(--navy); margin-bottom: 24px; }
.social { list-style: none; margin: 0 0 32px; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; background: var(--navy); }
.social a:hover, .social a:focus-visible { background: var(--blue); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.small-link { color: var(--sky); font-size: 11px; text-decoration: none; }
.small-link:hover, .small-link:focus-visible { text-decoration: underline; }

.contact-form { display: grid; gap: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; background: var(--field); padding: 14px 16px; font: 12px/2.1 var(--mono); letter-spacing: 1px; color: var(--grey); border-radius: 0; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.contact-form [aria-invalid="true"] { outline: 2px solid var(--red); }
.form-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.form-status { margin: 0; flex: 1; font: 12px/1.5 var(--mono); color: var(--grey); }
.form-status.ok { color: var(--navy); }
.form-status.err { color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.office { font-style: normal; font-size: 13px; line-height: 1.9; }
.office a { color: inherit; text-decoration: none; }
.office a.small-link { color: var(--sky); display: inline-block; margin-top: 16px; }
.office-head { font: 500 14px/1.4 var(--mono); color: var(--red); margin-bottom: 8px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 16px 0 72px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }

.site-footer p { font-size: 10px; color: var(--grey-light); padding: 16px 0 40px; margin: 0; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,40,.85); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; }
.lightbox-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; text-shadow: 0 0 6px rgba(0,0,0,.6); }

/* Responsive */
@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-column: 1 / -1; grid-row: 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  :root { --header-h: 104px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0; }
  .brand img { width: 110px; }
  .nav { gap: 4px 18px; font-size: 13px; }
  .band { padding: 56px 0; }
  .band-hero { padding: 72px 0 64px; }
  .hero-lead br, .section-sub br { display: none; }
  .band-quote { padding: 110px 0; }
  .split, .cards { grid-template-columns: 1fr; gap: 32px; }
  .ruled { padding: 40px 0; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .contact { grid-template-columns: 1fr; }
  .contact-form { grid-row: auto; }
  .gallery { gap: 16px; }
}
