/* Vantage Technology Group — site styles */

@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --bg-alt: #efede8;
  --surface: #ffffff;
  --ink: #0e1726;
  --ink-2: #2b3545;
  --muted: #5b6575;
  --line: #e2dfd8;
  --line-strong: #cdc9c0;
  --accent: #b5521c;
  --accent-ink: #ffffff;
  --accent-soft: #f6e6db;
  --band: #0e1726;
  --band-ink: #eef0f4;
  --band-muted: #a3adbb;
  --band-line: #26324a;
  --shadow: 0 1px 2px rgba(14, 23, 38, 0.06), 0 12px 32px -12px rgba(14, 23, 38, 0.18);
  --shadow-lg: 0 2px 4px rgba(14, 23, 38, 0.06), 0 40px 80px -30px rgba(14, 23, 38, 0.38);

  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0f18;
    --bg-alt: #0e1520;
    --surface: #121a27;
    --ink: #e9ecf1;
    --ink-2: #c9d0da;
    --muted: #949fae;
    --line: #1f2a3a;
    --line-strong: #2d3a4e;
    --accent: #f08a4b;
    --accent-ink: #1a0d04;
    --accent-soft: #2a1a10;
    --band: #111a28;
    --band-ink: #eef0f4;
    --band-muted: #a3adbb;
    --band-line: #26324a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0f18;
  --bg-alt: #0e1520;
  --surface: #121a27;
  --ink: #e9ecf1;
  --ink-2: #c9d0da;
  --muted: #949fae;
  --line: #1f2a3a;
  --line-strong: #2d3a4e;
  --accent: #f08a4b;
  --accent-ink: #1a0d04;
  --accent-soft: #2a1a10;
  --band: #111a28;
  --band-ink: #eef0f4;
  --band-muted: #a3adbb;
  --band-line: #26324a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

/* Theme-specific images: shown according to the active theme */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); }
.btn-link svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-name span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--bg-alt); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 880px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.035em; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { margin-top: 28px; max-width: 660px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-visual { position: relative; margin-top: 80px; padding-bottom: 0; }
.shot {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; }
.hero-stage { position: relative; height: clamp(300px, 46vw, 600px); }
.hero-stage .shot-a { position: absolute; left: 0; top: 0; width: 72%; }
.hero-stage .shot-b { position: absolute; right: 0; top: 18%; width: 52%; }
.shot-tag {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 15, 24, 0.78); color: #f2f4f7;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.02em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.shot-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #e8793a); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3; pointer-events: none; }

/* ---------- Facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 4; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 36px 28px 36px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.fact span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Products ---------- */
.products { background: var(--bg); }
.product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center;
  padding: 56px 0;
}
.product + .product { border-top: 1px solid var(--line); }
.product.is-reversed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.product.is-reversed .product-copy { order: 2; }
.product-logo { height: 40px; width: auto; }
.product-kicker { margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.product h3 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); }
.product-copy > p { margin-top: 16px; color: var(--muted); }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 12px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.5 11l6-6.5' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.5 11l6-6.5' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.platforms { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.platforms span {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--surface); padding: 4px 9px; border-radius: 6px;
}
.product-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.product-actions .btn { min-height: 44px; }

/* ---------- Capabilities band ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--band-muted); }
.band .section-head p { color: var(--band-muted); }
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--band-line); border-left: 1px solid var(--band-line); }
.cap { padding: 30px 24px; border-right: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.cap-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--band-muted); letter-spacing: 0.03em; }
.cap-meta b { font-weight: 400; color: #f5a26c; }
.cap h3 { margin-top: 22px; font-size: 20px; letter-spacing: -0.012em; }
.cap p { margin-top: 10px; color: var(--band-muted); font-size: 15.5px; }

.stack { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 10px; }
.stack-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--band-muted); margin-right: 8px; }
.stack span:not(.stack-label) {
  font-size: 14px; color: var(--band-ink); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--band-line);
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { margin-top: 22px; font-size: 20px; letter-spacing: -0.012em; }
.service p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.service ul { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.service li { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.service li::before { content: "→ "; color: var(--accent); }

.engage { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.engage h3 { font-size: 26px; }
.engage > div:first-child p { margin-top: 14px; color: var(--muted); }
.engage-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.engage-item { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; }
.engage-item h4 { font-size: 17px; letter-spacing: -0.01em; }
.engage-item p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Compact consultancy panel (version B) */
.section-alt { background: var(--bg-alt); }
.contact.after-alt { padding-top: 120px; }
.engage.consult { margin-top: 0; padding-top: 0; border-top: 0; align-items: start; }
.consult h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 16px; }
.consult .btn { margin-top: 24px; }
.consult .engage-list { padding-top: 6px; }
.consult .engage-item h3 { font-size: 17px; letter-spacing: -0.01em; }

/* ---------- Approach ---------- */
.approach { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step-line { position: relative; height: 1px; background: var(--line-strong); margin: 18px 0 26px; }
.step-line::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.step h3 { font-size: 21px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.principles { margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.principle .service-icon { width: 40px; height: 40px; }
.principle h3 { font-size: 18px; letter-spacing: -0.01em; }
.principle p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.company-copy p + p { margin-top: 18px; }
.company-copy p { color: var(--ink-2); font-size: 18px; }
.company-copy .section-head { margin-bottom: 28px; }
.details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px;
}
.details dl { margin: 0; }
.details div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; }
.details div + div { border-top: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.details dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.details dd a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.details dd a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 120px; }
.contact-card {
  position: relative; overflow: hidden;
  background: var(--band); color: var(--band-ink); border-radius: 20px;
  padding: 72px 64px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end;
}
.contact-card::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 121, 58, 0.28), transparent);
  pointer-events: none;
}
.contact-card .eyebrow { color: var(--band-muted); }
.contact-card h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 48px); }
.contact-card p { margin-top: 18px; color: var(--band-muted); font-size: 18px; max-width: 560px; }
.contact-card .btn-accent { background: #e8793a; color: #1a0d04; }
.contact-actions { position: relative; z-index: 1; display: grid; gap: 14px; }
.contact-actions .btn { width: 100%; min-height: 54px; font-size: 17px; }
.contact-actions small { display: block; color: var(--band-muted); font-size: 14px; line-height: 1.6; }
.contact-actions small a { color: var(--band-ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer-grid h4 { font-family: var(--mono); font-weight: 400; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { margin-top: 18px; color: var(--muted); max-width: 380px; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--muted); font-size: 13.5px; }

/* ---------- Prose pages (privacy, 404) ---------- */
.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 18px; }
.page-hero p { margin-top: 16px; color: var(--muted); }
.prose { max-width: 760px; padding-bottom: 120px; }
.prose h2 { font-size: 24px; margin: 48px 0 14px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.prose a { color: var(--accent); }

.notfound { min-height: 60vh; display: grid; align-content: center; padding-top: 80px; padding-bottom: 120px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 18px; }
.notfound p { margin-top: 16px; color: var(--muted); font-size: 19px; max-width: 540px; }
.notfound .hero-actions { margin-top: 32px; }

/* ---------- Careers ---------- */
.page-lede { max-width: 640px; font-size: 19px; }
.careers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; padding-top: 24px; padding-bottom: 120px; }
.careers-info h2, .form-card h2 { font-size: 24px; letter-spacing: -0.015em; }
.careers-points { margin-top: 24px; display: grid; gap: 22px; }
.careers-points li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.careers-points .service-icon { width: 40px; height: 40px; }
.careers-points h3 { font-size: 17px; letter-spacing: -0.01em; }
.careers-points p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.careers-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { font-weight: 500; font-size: 15px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.field small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font: 400 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
.field input::placeholder { color: var(--muted); opacity: .7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #c4352b; }
.field-error { color: #c4352b; font-size: 14px; }
:root[data-theme="dark"] .field [aria-invalid="true"] { border-color: #f0776c; }
:root[data-theme="dark"] .field-error { color: #f0776c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field [aria-invalid="true"] { border-color: #f0776c; }
  :root:not([data-theme="light"]) .field-error { color: #f0776c; }
}
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; min-inline-size: 0; }
.field legend { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 15px; color: var(--ink); }
.field-cv small { margin-top: -2px; }
.file-input {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 14px 6px 6px;
  border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--bg); cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.file-input:hover { border-color: var(--muted); }
.file-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.file-input input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-button { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 500; font-size: 14.5px; color: var(--ink); }
.file-name { min-width: 0; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-input.has-file { border-style: solid; }
.file-input.has-file .file-name { color: var(--ink); }
.file-clear { flex: none; margin-left: auto; border: 0; background: none; color: var(--muted); font: 500 14px/1 var(--font); cursor: pointer; padding: 6px 4px; }
.file-clear:hover { color: var(--accent); }
.field-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.field-or::before, .field-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field-cv[aria-invalid="true"] .file-input { border-color: #c4352b; }
:root[data-theme="dark"] .field-cv[aria-invalid="true"] .file-input { border-color: #f0776c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-cv[aria-invalid="true"] .file-input { border-color: #f0776c; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { color: var(--muted); font-size: 14px; line-height: 1.55; }
.form-privacy a { color: var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .btn { min-width: 140px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { color: var(--muted); font-size: 15px; }
.form-status.is-error { color: #c4352b; }
:root[data-theme="dark"] .form-status.is-error { color: #f0776c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.is-error { color: #f0776c; } }
.form-status a { color: inherit; }
.form-done { margin-top: 20px; }
.form-done p { color: var(--ink-2); }
.form-done p + p { margin-top: 10px; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product, .product.is-reversed { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .product.is-reversed .product-copy { order: 0; }
  .engage { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .company-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-card { grid-template-columns: minmax(0, 1fr); padding: 56px 40px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .careers { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 72px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px 8px; font-size: 17px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 28px 20px 28px 0; }
  .fact + .fact { padding-left: 20px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .engage-list { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .careers { padding-bottom: 80px; }
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 17px; }
  .hero { padding-top: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { margin-top: 56px; }
  .hero-stage { height: auto; display: grid; gap: 14px; }
  .hero-stage .shot-a, .hero-stage .shot-b { position: relative; width: 100%; top: auto; right: auto; left: auto; }
  .hero-stage .shot-b { width: 86%; margin: -18% 0 0 auto; }
  .hero-fade { height: 100px; }
  .fact strong { font-size: 32px; }
  .services-grid, .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .details { padding: 4px 20px; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact { padding-bottom: 80px; }
  .contact.after-alt { padding-top: 80px; }
  .contact-card { padding: 44px 20px; border-radius: 16px; }
  .contact-actions .btn { font-size: 15px; padding: 10px 14px; overflow-wrap: anywhere; text-align: center; line-height: 1.3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-name span { display: none; }
}
