/* VIZTEK Auto — site styles */
:root {
  --ground: #05070D;
  --band: #0A0E17;
  --panel: #0C111B;
  --line: #1C2433;
  --line-strong: #3A4660;
  --text: #F2F5FA;
  --text-soft: #C6CEDC;
  --text-muted: #A3ADBF;
  --blue: #5B9BFF;
  --blue-fill: #1F5FE0;
  --blue-fill-hover: #2B6DF0;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, 'Helvetica Neue', Arial, sans-serif;
  --glow: #1A2742;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #6BA4FF; }
a:hover { color: #9CC2FF; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Type */
.display {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  text-wrap: balance;
}
h1.display { font-size: clamp(42px, 8.4vw, 120px); line-height: 0.9; }
h2.display { font-size: clamp(40px, 6vw, 80px); }
.display .blue, .blue { color: var(--blue); }
.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.lede { margin: 0; font-size: 22px; color: #DDE3EE; }
.soft { color: var(--text-soft); }
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  text-transform: uppercase;
}
h3.heavy { font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; }
p { margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue-fill);
  color: #FFFFFF;
  text-decoration: none;
  padding: 18px 32px;
  font: 600 19px var(--body);
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--blue-fill-hover); color: #FFFFFF; }
.btn-sm { padding: 12px 20px; font-size: 16px; }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--blue);
  color: var(--text);
  text-decoration: none;
  padding: 14px 24px;
  font-weight: 600;
}
.btn-ghost:hover { background: rgba(91, 155, 255, 0.12); color: var(--text); }
.link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Family bar */
.family { background: var(--band); border-bottom: 1px solid var(--line); font-size: 14px; }
.family .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.family a { color: var(--text-muted); text-decoration: none; }
.family a:hover { color: var(--text); }
.family .here { color: var(--text); font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 13, 0.94); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 30px; letter-spacing: 0.02em; color: var(--text); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 16px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); font: 600 16px var(--body); padding: 10px 16px; min-height: 44px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
}

/* Sections */
.sec { padding: 96px 0; }
.sec.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 48px; }
.head { display: flex; flex-direction: column; gap: 16px; }
.head-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .stack { gap: 36px; } }

/* Photo slots: swap the gradient for a real image with
   style="--photo: url(../images/your-file.jpg)" on the element
   (a relative path is read from the css folder). */
.photo {
  background-color: var(--ground);
  background-image: var(--shade, linear-gradient(90deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.62) 50%, rgba(5, 7, 13, 0.3) 100%)), var(--photo, radial-gradient(ellipse at 75% 60%, var(--glow) 0%, #0A0F1A 45%, var(--ground) 75%));
  background-size: cover;
  background-position: center;
}
.photo.flip { --shade: linear-gradient(270deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.6) 50%, rgba(5, 7, 13, 0.3) 100%); }
.case-photo.photo { --shade: linear-gradient(rgba(5, 7, 13, 0.3), rgba(5, 7, 13, 0.6)); }
.slot-label { display: inline-block; font-size: 13px; color: var(--text-muted); border: 1px dashed var(--line-strong); padding: 6px 10px; }
.placeholder { border: 1px dashed var(--line-strong); background: var(--panel); color: var(--text-muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { min-height: 640px; padding-top: 120px; padding-bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 980px; }
.hero .photo.flip { --shade: linear-gradient(270deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.6) 50%, rgba(5, 7, 13, 0.3) 100%); }
.case-photo.photo { --shade: linear-gradient(rgba(5, 7, 13, 0.3), rgba(5, 7, 13, 0.6)); }
.slot-label { align-self: flex-end; }
.hero.page .wrap { min-height: 420px; padding-top: 96px; }
@media (max-width: 640px) { .hero .wrap { min-height: 0; padding-top: 72px; } .hero.page .wrap { padding-top: 56px; } }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.grid-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.case-media.grid-videos { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.case-media .video-title { font-size: 22px; }

.point { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--blue-fill); padding-top: 20px; }
.point p, .item p, .card p { color: var(--text-soft); }
.item { display: flex; flex-direction: column; gap: 6px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.note { border: 1px dashed var(--line-strong); padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.note h3 { font-size: 24px; }
.note p { flex: 1 1 420px; color: var(--text-soft); }

/* Video tiles */
.video { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.video:hover { color: var(--text); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background-color: var(--ground);
  background-image: var(--thumb, radial-gradient(ellipse at 60% 65%, var(--glow) 0%, #0A0F1A 55%, var(--ground) 100%));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-thumb svg { width: 56px; height: 56px; transition: transform 0.15s ease; }
.video.lg .video-thumb svg { width: 76px; height: 76px; }
.video:hover .video-thumb svg { transform: scale(1.08); }
.video:hover .video-thumb { border-color: var(--blue); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { display: flex; flex-direction: column; gap: 4px; }
.video-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.video-title { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.video.lg .video-title { font-size: 34px; }

/* Statement band */
.statement { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement .wrap { min-height: 440px; padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 40px; }
.statement p.display { align-self: stretch; text-align: right; font-size: clamp(40px, 6vw, 84px); }

/* Case studies */
.case { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-photo { height: 220px; display: flex; align-items: flex-end; padding: 12px; font-size: 13px; color: var(--text-muted); }
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-place { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.case-name { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.case-body p { color: var(--text-soft); }
.case-result { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--blue); }

.case-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 40px; }
.case-row .case-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.case-row .case-media { flex: 2 1 480px; min-width: 0; }
.case-row .case-result { margin-top: 8px; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > .col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.split > .shot { flex: 1 1 520px; min-width: 0; min-height: 380px; }
.line-item { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
.line-item h3 { font-size: 28px; }
.line-item p { color: var(--text-soft); }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--blue-fill); padding-top: 18px; }
.steps .num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 48px; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 28px; }
.steps p { color: var(--text-soft); }

/* Audit */
.audit { border-top: 1px solid var(--line); }
.audit .wrap { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.audit-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.audit-copy h2.display { font-size: clamp(52px, 8vw, 108px); line-height: 0.9; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { border-top: 1px solid #2A3550; padding-top: 10px; }
.audit-form { flex: 1 1 440px; min-width: 0; background: var(--panel); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select { background: var(--ground); border: 1px solid var(--line-strong); color: var(--text); font: inherit; padding: 13px 14px; min-height: 50px; width: 100%; }
.field input::placeholder { color: #8A94A8; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; }
.form-note { font-size: 15px; color: var(--text-muted); }
.form-status { font-weight: 600; }
.form-status.ok { color: #7FD6A4; }
.form-status.warn { color: #FFC56B; }
@media (max-width: 640px) { .audit .wrap { padding-top: 64px; padding-bottom: 64px; } .audit-form { padding: 24px; } }

/* CTA band on inner pages */
.cta-band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: space-between; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.foot-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-brand .name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; }
.foot-brand p { color: var(--text-soft); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 15px; color: var(--text-muted); }

/* VIZTEK Studios additions */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; display: block; }
.brand .blue { font-size: 32px; letter-spacing: 0.03em; line-height: 1; }
.nav-links { gap: 8px 22px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.logos img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14px; background: var(--panel); border: 1px solid var(--line); opacity: 0.9; }
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 10px; }
.frames .frame { display: block; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 16 / 9; overflow: hidden; }
.frames img { width: 100%; height: 100%; object-fit: cover; }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.division { background: var(--panel); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.division .item p { color: var(--text-soft); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tools li { border: 1px solid var(--line-strong); padding: 8px 14px; font-weight: 600; font-size: 15px; }
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 18px; color: var(--text-soft); font-size: 18px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 22px; }
.contact-lines a { color: var(--text); text-decoration: none; }
.contact-lines a:hover { color: var(--blue); }
.field textarea { background: var(--ground); border: 1px solid var(--line-strong); color: var(--text); font: inherit; padding: 13px 14px; min-height: 150px; width: 100%; resize: vertical; }
.pagelinks { display: flex; flex-wrap: wrap; gap: 14px; }

.photo.bright { --shade: linear-gradient(90deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.6) 42%, rgba(5, 7, 13, 0.12) 100%); }
.hero.bright .hero-copy { text-shadow: 0 2px 24px rgba(5, 7, 13, 0.6); }
@media (max-width: 860px) { .photo.bright { --shade: linear-gradient(rgba(5, 7, 13, 0.72), rgba(5, 7, 13, 0.72)); } }
@media (max-width: 480px) { .brand { gap: 8px; } .brand img { height: 22px; } .brand .blue { font-size: 23px; } }
.grid-videos { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid-videos .video-title { font-size: 30px; }
.frames img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
