/* Vielo Platforms — editorial, photo-led layout (light), in the logo's navy, royal blue and silver. */
:root {
  --ink: #0a1430;
  --ink-2: #33405e;
  --mute: #66718a;
  --line: #e3e7ef;
  --paper: #ffffff;
  --paper-2: #f4f6fa;
  --navy: #01081a;
  --navy-2: #0b1a3d;
  --blue: #2f5bd8;
  --blue-2: #5b84ff;
  --live: #10a36b;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Sora, Inter, system-ui, sans-serif; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; font-weight: 600; }
h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; font-weight: 600; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.eyebrow, .kicker { font: 600 12.5px/1 Inter, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); margin-top: 18px; max-width: 62ch; line-height: 1.6; }
.lead.narrow { max-width: 62ch; }
.tag { font: 600 12px/1 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; text-decoration: none; font: 600 15px Inter, sans-serif; background: var(--ink); color: #fff; border: 1px solid var(--ink); transition: background 0.2s, transform 0.15s; cursor: pointer; }
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink-2); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.text-link { display: inline-block; margin-top: 18px; font: 600 15px Inter, sans-serif; color: var(--blue); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.text-link:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 Sora, sans-serif; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand-sub { font-weight: 400; color: var(--mute); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 8, 26, 0.88) 0%, rgba(1, 8, 26, 0.55) 45%, rgba(1, 8, 26, 0.1) 100%), linear-gradient(0deg, rgba(1, 8, 26, 0.6), transparent 45%); }
.hero-copy { position: relative; padding: 120px 0 clamp(56px, 9vw, 110px); }
.hero .eyebrow { color: #9fb6ff; }
.hero h1 { max-width: 14ch; margin-top: 18px; }
.hero .lead { color: rgba(255, 255, 255, 0.85); }

/* At a glance */
.band { background: var(--navy); color: #fff; }
.band-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-row > div { padding: 28px 22px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.band-row > div:first-child { border-left: 0; padding-left: 0; }
.band b { display: block; font: 600 26px/1.1 Sora, sans-serif; letter-spacing: -0.02em; }
.band span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head h2 { margin-top: 16px; }

/* Service tiles: photo cards */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: #fff; isolation: isolate; }
.tile-lg { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 8, 26, 0.92) 0%, rgba(1, 8, 26, 0.45) 55%, rgba(1, 8, 26, 0.15) 100%); z-index: -1; }
.tile:hover img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.tile .tag { color: #9fb6ff; }
.tile h3 { margin-top: 10px; font-size: 22px; }
.tile-lg h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tile p { margin-top: 8px; color: rgba(255, 255, 255, 0.82); font-size: 15px; max-width: 46ch; }

/* Selected work */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case { display: block; text-decoration: none; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.case:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(10, 20, 48, 0.35); }
.case h3 { margin-top: 14px; font-size: 23px; }
.case p:not(.tag) { margin-top: 10px; color: var(--ink-2); }
.case .more { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--blue); }

/* Products */
.products { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.product { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.product.feature { background: var(--navy); color: #fff; border-color: var(--navy); display: flex; align-items: flex-end; min-height: 360px; background-image: radial-gradient(90% 80% at 100% 0%, rgba(47, 91, 216, 0.45), transparent 60%); }
.product h3 { margin-top: 16px; font-size: 26px; }
.product p:not(.pill) { margin-top: 10px; color: var(--ink-2); }
.product.feature p:not(.pill) { color: rgba(255, 255, 255, 0.82); }
.product.feature .text-link { color: #9fb6ff; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.pill.live { color: var(--live); border-color: rgba(16, 163, 107, 0.4); background: rgba(16, 163, 107, 0.08); }
.product.feature .pill.live { color: #5fe0aa; border-color: rgba(95, 224, 170, 0.4); background: rgba(95, 224, 170, 0.1); }
.pill.soon { color: var(--blue); border-color: rgba(47, 91, 216, 0.35); background: rgba(47, 91, 216, 0.07); }

/* Scale */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid3 > div { padding-top: 22px; border-top: 2px solid var(--ink); }
.grid3 p { margin-top: 10px; color: var(--ink-2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { padding-top: 22px; border-top: 1px solid var(--line); }
.steps span { font: 600 14px Sora, sans-serif; color: var(--blue); }
.steps h3 { margin-top: 10px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Statement */
.statement { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.statement-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 8, 26, 0.9), rgba(1, 8, 26, 0.45)); }
.statement-copy { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.statement h2 { max-width: 16ch; margin-top: 16px; font-size: clamp(34px, 4.6vw, 60px); }
.statement .eyebrow { color: #9fb6ff; }
.statement .lead { color: rgba(255, 255, 255, 0.82); }

/* Careers teaser, contact */
.split { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.split h2 { margin-top: 14px; }
.work { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { margin-top: 14px; }
.contact dl { margin: 0; border-top: 1px solid var(--line); }
.contact dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact dt { color: var(--mute); }
.contact dd { margin: 0; font-weight: 600; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--blue); }

/* Footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { border-radius: 10px; }
.foot-brand b { color: #fff; font-family: Sora, sans-serif; font-size: 17px; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot-h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot nav a { text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* Careers page: job postings */
.careers-page { padding-top: clamp(56px, 7vw, 96px); }
.careers-page h2 { margin-top: 14px; }
.jobs { margin-top: 36px; display: grid; gap: 12px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.job[open], .job:hover { border-color: var(--blue); box-shadow: 0 18px 40px -30px rgba(10, 20, 48, 0.4); }
.job summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: 19px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; color: var(--mute); font-size: 14px; }
.job-meta span + span::before { content: "·"; margin-right: 14px; opacity: 0.6; }
.job-toggle { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.2s; }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.job-body { padding: 0 26px 26px; }
.job-body > p { color: var(--ink-2); }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 18px 0 22px; }
.job-cols h4 { margin: 0 0 8px; font: 600 12.5px/1 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.job-cols ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }

/* Form dialogs */
.sheet { width: min(620px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -20px rgba(1, 8, 26, 0.55); }
.sheet::backdrop { background: rgba(1, 8, 26, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.form { position: relative; padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; }
.form h2 { font-size: clamp(22px, 3vw, 28px); margin: 2px 0 6px; }
.form .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label span { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.4 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 91, 216, 0.15); background: #fff; }
.field input[type="file"] { padding: 9px; cursor: pointer; color: var(--ink-2); }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; font: 600 14px Inter, sans-serif; color: #fff; background: var(--ink); cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { color: var(--mute); font-size: 13.5px; }
.form-status { min-height: 1.2em; font-size: 14.5px; }
.form-status.ok { color: var(--live); }
.form-status.err { color: #c62828; }
.form.sent .field, .form.sent .row2, .form.sent .form-note, .form.sent button[type="submit"] { display: none; }
.form.sent .form-status { font-size: 16px; padding: 10px 0 4px; }

/* Plain pages (privacy) */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 52px); margin-top: 14px; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 12px; }

/* Responsive */
@media (max-width: 980px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .tile-lg { grid-column: span 2; grid-row: span 1; }
  .products, .grid3, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band-row { grid-template-columns: 1fr 1fr; }
  .band-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .tile-lg { grid-column: auto; }
  .cases, .steps, .job-cols, .row2, .foot-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-auto-flow: row; }
  .band-row > div { border-left: 0; padding-left: 0; }
  .hero { min-height: 88vh; }
  .job summary { padding: 18px; }
  .job-body { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile img, .case { transition: none; }
}
.jobs-group { margin-top: 44px; font-size: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jobs-group + .jobs, .jobs-group + .lead + .jobs { margin-top: 18px; }

/* ── Service, guide and comparison pages ── */
.page-hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: Sora, Inter, sans-serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 6px 0 14px; }
.narrow-wrap { max-width: 860px; }
.crumbs { font-size: 13px; color: var(--mute); margin: 0 0 18px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.btn-line-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line-dark:hover { background: var(--paper-2); border-color: var(--ink-2); }
.prose h2 { font-family: Sora, Inter, sans-serif; font-size: clamp(22px, 3vw, 28px); margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin: 0 0 12px; }
.prose ul { margin: 8px 0 16px; padding-left: 20px; color: var(--ink-2); }
.prose li { margin: 6px 0; }
.prose a { color: var(--blue); }
.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--mute); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 10px 0 0; color: var(--ink-2); }
.faq-item a { color: var(--blue); }
.cta-band { border-top: 1px solid var(--line); }
.case p:not(.tag) { color: var(--ink-2); margin: 6px 0 10px; }
.tile-link { display: inline-block; margin-top: 10px; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); }
.tile-link:hover { border-bottom-color: #fff; }
