/* Oyeks Global landing — tokens from Figma (v2 — Corporate, 1440). */
:root {
  --ink: #0a0f1c;
  --ink-2: #1f2a44;
  --body: #475569;
  --muted: #64748b;
  --muted-dark: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --tint: #f8fafc;
  --blue: #1e40af;
  --green: #15803d;
  --white: #fff;
  --radius: 2px;
  --gutter: 80px;
  --max: 1280px;
  --section-y: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }
.company :focus-visible { outline-color: #93c5fd; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.rule { height: 1px; background: var(--line); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 20px;
  background: var(--ink); color: var(--white);
  font-size: 15px; font-weight: 500; line-height: 1;
  border-radius: var(--radius);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s var(--ease);
}
.arrow-link img { transition: transform .2s var(--ease); }
.arrow-link:hover { text-decoration-color: currentColor; }
.arrow-link:hover img { transform: translateX(3px); }

.ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 44px; }
.logo-mark { position: relative; width: 28px; height: 28px; background: var(--ink); flex-shrink: 0; }
.logo-mark::after { content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; background: var(--blue); }
.logo-words { display: flex; flex-direction: column; gap: 2px; line-height: 1; white-space: nowrap; }
.logo-name { font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.logo-tag { font-size: 11px; color: var(--muted); }

.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 15px; font-weight: 500; line-height: 1; padding: 14px 0;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px;
  transition: text-decoration-color .2s var(--ease);
}
.nav-links a:hover { text-decoration-color: var(--line-2); }
.nav-links a[aria-current="true"] { text-decoration-color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .2s var(--ease), background-color .2s;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); background: var(--white);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }

/* Hero */
.hero { padding: 96px 0; }
.hero-row { display: flex; align-items: center; gap: 72px; }
.hero-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-size: 14px; font-weight: 500; line-height: 1; color: var(--muted); }
h1 { font-size: 56px; line-height: 62px; font-weight: 600; letter-spacing: -.03em; max-width: 720px; }
.lede { font-size: 18px; line-height: 29px; color: var(--body); max-width: 640px; }
.hero .ctas { margin-top: 0; }

/* Hero background: stock footage under an ink tint; the copy is light on top */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(560px, calc(86svh - 85px), 860px);
  background: var(--ink); color: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-bg-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 28, .80) 0%, rgba(10, 15, 28, .76) 38%, rgba(10, 15, 28, .56) 70%, rgba(10, 15, 28, .45) 100%);
}
.hero-row { width: 100%; }
.hero .eyebrow { color: #e2e8f0; }
.hero .lede { color: rgba(255, 255, 255, .92); }
.hero .btn { background: var(--white); color: var(--ink); }
.hero .btn:hover { background: #e2e8f0; }
.hero .arrow-link { color: var(--white); }
.hero :focus-visible { outline-color: #93c5fd; }

.fact-panel { width: 420px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; background: var(--tint); font-size: 13px; font-weight: 500; line-height: 1; }
.panel-title { text-transform: uppercase; letter-spacing: .04em; }
.panel-year { color: var(--muted); font-variant-numeric: tabular-nums; }
.fact { display: flex; gap: 16px; padding: 18px 28px; border-top: 1px solid var(--line); font-size: 14px; line-height: 22px; }
.fact dt { width: 130px; flex-shrink: 0; color: var(--muted); }
.fact dd { flex: 1; font-weight: 500; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-head { display: flex; gap: 80px; align-items: flex-start; margin-bottom: 64px; }
.label { width: 300px; flex-shrink: 0; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 500; line-height: 1; padding-top: 6px; }
.label-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.label-line { width: 24px; height: 1px; background: var(--line-2); }
.label-name { text-transform: uppercase; letter-spacing: .06em; }
h2 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -.025em; max-width: 760px; }

/* Portfolio — one card per product (screenshot of the live site, logo, copy from the product's own site) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.portfolio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.product:hover { border-color: var(--line-2); box-shadow: 0 1px 2px rgba(10, 15, 28, .04), 0 12px 32px -16px rgba(10, 15, 28, .14); }
.shot { display: block; background: var(--tint); border-bottom: 1px solid var(--line); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1; color: var(--muted); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot-bar span { margin-left: 10px; }
.shot-media { position: relative; display: block; overflow: hidden; }
.shot-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .6s var(--ease), transform .5s var(--ease);
}
.shot-video.is-playing { opacity: 1; }
.product:hover .shot-video { transform: scale(1.015); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.product:hover .shot img { transform: scale(1.015); }
.product-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px 28px; }
.product-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.product-logo { width: 40px; height: 40px; border-radius: 8px; }
.product-title { display: flex; flex-direction: column; gap: 6px; }
.product h3 { font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }
.product h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.product h3 a:hover { text-decoration-color: currentColor; }
.product-sector { font-size: 14px; line-height: 20px; color: var(--muted); }
.product-status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 22px; white-space: nowrap; }
.product-desc { flex: 1; font-size: 15px; line-height: 24px; color: var(--body); }
.product .arrow-link { align-self: flex-start; margin-bottom: -10px; }
.product:hover .arrow-link img { transform: translate(2px, -2px); }
.portfolio-note { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 22px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }

/* Services */
.services { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--white); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.num { font-size: 13px; font-weight: 500; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.service h3 { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -.015em; }
.service p { font-size: 16px; line-height: 26px; color: var(--body); }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: 0; }
.step h3 { font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: -.015em; }
.step p { font-size: 15px; line-height: 24px; color: var(--body); max-width: 34ch; }

/* Company (dark) */
.company { background: var(--ink); color: var(--white); }
.company .label-num { color: var(--muted-dark); }
.company .label-line { background: var(--muted-dark); }
.company-row { display: flex; gap: 80px; align-items: flex-start; }
.gutter { width: 300px; flex-shrink: 0; }
.company-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.company-copy p { font-size: 18px; line-height: 30px; max-width: 620px; }
.company-facts { width: 360px; flex-shrink: 0; border-top: 1px solid var(--ink-2); }
.cfact { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--ink-2); }
.cfact dt { font-size: 13px; line-height: 1; color: var(--muted-dark); }
.cfact dd { font-size: 15px; line-height: 22px; font-weight: 500; }

/* Contact */
.contact-row { display: flex; gap: 80px; align-items: flex-start; }
.contact-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-copy .lede { max-width: 520px; }
.contact-details { width: 600px; flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail { display: flex; flex-direction: column; gap: 12px; padding: 4px 28px; border-left: 1px solid var(--line); }
.detail:first-child { padding-left: 0; border-left: 0; }
.detail h3 { font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.detail p { font-size: 15px; line-height: 24px; color: var(--body); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-cols { display: flex; gap: 72px; }
.fcol h2 { font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; max-width: none; }
.fcol ul { display: flex; flex-direction: column; gap: 6px; }
.fcol li { font-size: 14px; line-height: 1; color: var(--body); white-space: nowrap; }
.fcol li > * { display: inline-block; padding: 4px 0; }
.fcol a, .meta a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.fcol a:hover, .meta a:hover { color: var(--ink); text-decoration-color: currentColor; }
.fcol span, .meta span { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 40px; font-size: 13px; line-height: 20px; color: var(--muted); }
.meta { display: flex; gap: 24px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 48px; }
  .fact-panel { width: 380px; }
  .label, .gutter { width: 220px; }
  .section-head, .company-row, .contact-row { gap: 48px; }
  .contact-details { width: 540px; }
  .footer-cols { gap: 48px; }
}

@media (max-width: 1023px) {
  :root { --section-y: 88px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding: 72px 0 88px; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 56px; }
  .hero { min-height: clamp(520px, 70svh, 720px); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10, 15, 28, .80) 0%, rgba(10, 15, 28, .78) 100%); }
  .fact-panel { width: 100%; max-width: 560px; }
  .section-head { flex-direction: column; gap: 20px; margin-bottom: 48px; }
  .label { width: auto; padding-top: 0; }
  .company-row { flex-direction: column; gap: 40px; }
  .gutter { display: none; }
  .company-copy p { max-width: 560px; }
  .company-facts { width: 100%; max-width: 560px; }
  .contact-row { flex-direction: column; gap: 48px; }
  .contact-details { width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { width: 100%; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

@media (max-width: 860px) {
  .portfolio { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 72px; }
  html { scroll-padding-top: 80px; }
  .nav-row { padding-top: 14px; padding-bottom: 14px; }
  .hero { padding: 48px 0 72px; }
  .hero-copy { gap: 24px; }
  h1 { font-size: 40px; line-height: 44px; letter-spacing: -.025em; }
  .hero { min-height: 0; }
  .lede { font-size: 17px; line-height: 27px; }
  h2 { font-size: 30px; line-height: 36px; letter-spacing: -.02em; }
  .section-head { margin-bottom: 36px; }
  .ctas { gap: 8px 24px; }
  .fact { flex-direction: column; gap: 2px; padding: 14px 20px; }
  .fact dt { width: auto; }
  .panel-head { padding: 16px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 28px 24px; gap: 14px; }
  .service h3 { font-size: 20px; line-height: 27px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(3) { padding: 24px 0; border-left: 0; gap: 14px; }
  .step h3 { font-size: 20px; }
  .product-body { padding: 24px 20px 28px; gap: 16px; }
  .product-head { grid-template-columns: 40px minmax(0, 1fr); }
  .product-status { grid-column: 2; }
  .product h3 { font-size: 20px; }
  .portfolio-note { margin-top: 32px; font-size: 18px; line-height: 28px; }
  .contact-details { grid-template-columns: 1fr; gap: 0; }
  .detail, .detail:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-footer { padding: 48px 0 40px; }
  .fcol h2 { margin-bottom: 4px; }
  .fcol ul { gap: 0; }
  .fcol li > * { padding: 15px 0; }
  .meta li > * { display: inline-block; padding: 12px 0; }
  .footer-bottom { gap: 4px; }
  .product h3 a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}

@media (max-width: 380px) {
  h1 { font-size: 36px; line-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
