/* ============================================================
   LENKOR Technology — Advertising & Growth Agency
   Static responsive stylesheet (no dependencies)
   ============================================================ */

:root {
  --ink: #0e1526;
  --ink-2: #141d33;
  --ink-3: #1c2740;
  --paper: #ffffff;
  --mist: #f4f6fa;
  --line: #e4e8f0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #1c2534;
  --muted: #5b657a;
  --muted-dark: #9aa6bf;
  --brand: #ff5a1f;
  --brand-deep: #e0450f;
  --brand-soft: #fff0e9;
  --accent: #38bdf8;
  --ok: #22c55e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px -18px rgba(14, 21, 38, 0.25);
  --shadow-sm: 0 6px 20px -8px rgba(14, 21, 38, 0.18);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #d7deeb; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--muted-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(255, 90, 31, 0.65);
}
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-dark { border-color: var(--line-dark); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #ff8a3d);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  flex: 0 0 auto;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted-dark);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: #c9d2e4;
  font-size: 0.95rem;
  font-weight: 550;
  border-radius: 8px;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-links a.is-active { color: #fff; position: relative; }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-cta { margin-left: 0.5rem; }
.nav-cta-inline { display: none; }
.nav-cta-inline .btn { width: 100%; margin-top: 0.4rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(255, 90, 31, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(56, 189, 248, 0.14), transparent 55%),
    var(--ink);
  color: #dde4f2;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--brand); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #b7c1d6; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted-dark);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges svg { color: var(--ok); flex: 0 0 auto; }

.hero-panel {
  position: relative;
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.hero-panel .panel-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 1rem;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-dark);
}
.metric-row:first-of-type { border-top: 0; }
.metric-name { font-size: 0.92rem; color: #c9d2e4; }
.metric-val { font-weight: 800; font-size: 1.35rem; color: #fff; }
.metric-val.up { color: var(--ok); }
.panel-foot { font-size: 0.75rem; color: var(--muted-dark); margin-top: 1rem; }

/* ---------- Logo / wordmark strip ---------- */
.wordmark-strip { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.wordmark-strip .strip-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.wordmarks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wordmarks li {
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #8d99b0;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wordmarks li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
  display: inline-block;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: #d4dbe8;
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }
.card .tagline { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }

.section--dark .card {
  background: var(--ink-2);
  border-color: var(--line-dark);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: var(--muted-dark); }

/* ---------- Brand cards ---------- */
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.brand-card .brand-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.brand-card .logo-dot {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.brand-card .brand-head h3 { margin: 0; font-size: 1.15rem; }
.brand-card .brand-head span { font-size: 0.8rem; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 1.4rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.stat b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
}
.stat span { font-size: 0.86rem; color: var(--muted-dark); }

/* ---------- Case studies ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.case-card .case-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(420px 200px at 20% 0%, rgba(255, 90, 31, 0.35), transparent 70%),
    linear-gradient(150deg, var(--ink-2), var(--ink-3));
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  overflow: hidden;
}
.case-media .case-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-media .case-brand {
  position: relative;
  z-index: 1;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 21, 38, 0.7);
  backdrop-filter: blur(4px);
}
.case-media .case-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.case-media .case-brand i {
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--brand);
}
.case-card .case-body { padding: 1.5rem 1.6rem 1.7rem; }
.case-card h3 { font-size: 1.08rem; }
.case-metrics {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.case-metrics div b { display: block; font-size: 1.3rem; color: var(--ink); font-weight: 800; }
.case-metrics div span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Process / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}
.step h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.section--dark .step { border-color: var(--line-dark); }
.section--dark .step p { color: var(--muted-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(255, 90, 31, 0.28), transparent 65%),
    var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--muted-dark); max-width: 34rem; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: 0.9rem; align-items: start; }
.info-list .icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.info-list b { display: block; font-size: 0.95rem; color: var(--ink); }
.info-list span { font-size: 0.9rem; color: var(--muted); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(255, 90, 31, 0.35);
  border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.8rem; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal ul { padding-left: 1.3rem; }
.legal-updated { font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 22rem; margin-top: 1rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.84rem;
}
.footer-bottom .legal-links { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Misc ---------- */
.lead { font-size: 1.1rem; color: var(--muted); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.media-panel {
  border-radius: var(--radius);
  min-height: 320px;
  background:
    radial-gradient(500px 260px at 15% 15%, rgba(255, 90, 31, 0.3), transparent 70%),
    radial-gradient(500px 300px at 90% 90%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(150deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--muted-dark);
  text-align: center;
}
.media-panel .media-stat { display: grid; gap: 0.2rem; }
.media-panel .media-stat b { font-size: 2.4rem; color: #fff; font-weight: 800; }
.media-panel .media-stat span { font-size: 0.85rem; }

.list-check { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.list-check li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; color: var(--muted); font-size: 0.97rem; }
.list-check svg { color: var(--brand); margin-top: 0.25rem; }
.section--dark .list-check li { color: var(--muted-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding-block: 0.4rem;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.6rem 0 1rem;
    order: 3;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.75rem 0.9rem; }
  .nav-cta { display: none; }
  .nav-links .nav-cta-inline { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
