
:root {
  --bg: #07101b;
  --bg-soft: #0d1727;
  --bg-panel: rgba(14, 22, 36, 0.96);
  --bg-panel-2: rgba(19, 30, 47, 0.96);
  --text: #f5f8fd;
  --muted: #d7e0ee;
  --subtle: #b9c7db;
  --headertext: #f5c96a;
  --primary: #f5c96a;
  --primary-strong: #d79e36;
  --accent: #67d2ff;
  --success: #8dd97d;
  --error: #ff9d9d;
  --border: rgba(255,255,255,0.12);
  --border-soft: rgba(255,255,255,0.08);
  --shadow: 0 20px 48px rgba(0,0,0,0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(245,201,106,0.10), transparent 20%),
    radial-gradient(circle at 100% 8%, rgba(103,210,255,0.10), transparent 24%),
    linear-gradient(180deg, #06101b 0%, #091523 52%, #07101b 100%);
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  opacity: .32;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
p, li { color: var(--muted); }
p { margin: 0 0 1rem; }
h1, h2, h3, strong { color: var(--text); }
h1, h2, h3 {
  line-height: 1.06;
  margin: 0 0 1rem;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 3rem); }
h3 { font-size: 1.18rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section, .page-hero { padding: clamp(4rem, 7vw, 6rem) 0; position: relative; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.section-angled::before,
.section-gridlines::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 36px;
  pointer-events: none;
}
.section-angled::before {
  background: linear-gradient(135deg, rgba(245,201,106,0.07), rgba(103,210,255,0.05));
}
.section-gridlines::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 26px 26px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 11, 20, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  color: white;
}
.brand span:last-child { color: var(--primary); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245,201,106,0.26), rgba(103,210,255,0.18));
  border: 1px solid rgba(245,201,106,0.28);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.site-nav { display: flex; gap: .55rem; align-items: center; }
.site-nav a {
  color: #d9e2ee;
  font-weight: 700;
  padding: .78rem .96rem;
  border-radius: 999px;
  transition: all .24s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
  background: rgba(255,255,255,0.06);
}
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: #09111f;
  background: linear-gradient(135deg, #f7d37f, #dca33a);
  box-shadow: 0 12px 25px rgba(211,154,44,0.22);
}
.site-nav .nav-cta { color: #09111f; margin-left: .25rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: white;
  padding: .8rem 1rem;
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: linear-gradient(135deg, #f8d487, #d79e36);
  color: #09111f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: .96rem 1.4rem;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(215, 158, 54, 0.18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 22px 34px rgba(215,158,54,0.24); filter: brightness(1.03); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: white;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
.btn-small { padding: .78rem 1.05rem; font-size: .96rem; }
.btn-inline { margin-top: 1rem; }
.text-link { color: #ffe2a0; font-weight: 750; }
.text-link:hover { color: #fff0cb; }
.light-link { color: #ffe2a0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: currentColor;
}
.lead { font-size: 1.1rem; color: #edf2fa; max-width: 62ch; }
.intro, .section-head .intro { max-width: 64ch; color: #dce5f2; }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 8rem) 0 5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(245,201,106,0.14), transparent 18%),
    radial-gradient(circle at 92% 20%, rgba(103,210,255,0.12), transparent 22%),
    linear-gradient(135deg, #07111d 0%, #0b1727 45%, #102033 100%);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.03), transparent 28%);
  opacity: .85;
}
.hero-grid, .split, .page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(340px,1fr); }
.split, .page-hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.split-center { align-items: center; }
.page-hero {
  background:
    radial-gradient(circle at top right, rgba(103,210,255,0.08), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.page-hero-solid {
  background:
    radial-gradient(circle at top right, rgba(103,210,255,0.10), transparent 18%),
    linear-gradient(180deg, rgba(245,201,106,0.05), rgba(255,255,255,0));
}
.trust-strip-section { padding: 1.3rem 0 2rem; }
.trust-strip {
  background: linear-gradient(180deg, rgba(11,18,31,0.96), rgba(15,24,40,0.96));
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.trust-strip > span { font-weight: 800; color: var(--text); }
.trust-items { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-items span {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 700;
  font-size: .92rem;
  color: #ebf1f9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 1.3rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .95rem; }
.stat-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}
.stat-pill strong { display: block; font-size: 1.08rem; margin-bottom: .35rem; }
.stat-pill span { display: block; color: #e4ebf6; font-size: .96rem; }
.motif-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .25rem; margin-bottom: 1.1rem; }
.motif-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .58rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f2f6fd;
  font-weight: 700;
  font-size: .92rem;
}
.card {
  background: linear-gradient(180deg, rgba(14, 22, 36, 0.98), rgba(19, 30, 47, 0.98));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--headertext); }
.card h2, .card strong, .summary-card h2, .summary-card h3, .founder-card h2, .founder-card h3 { color: var(--text); }
.card p, .card li, .card .meta, .summary-card p, .summary-card li, .contact-panel p, .form-card p { color: --primary; }
.glass {
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.96), rgba(21, 33, 51, 0.96));
  border-color: rgba(255,255,255,0.14);
}
.summary-card, .contact-panel, .founder-card, .form-card { padding: 1.8rem; }
.feature-card, .stat-card, .service-detail { height: 100%; }
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8d487, #d79e36);
  border: 1px solid rgba(245,201,106,0.28);
  color: #08111e;
  font-size: .96rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.grid { display: grid; gap: 1.5rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-lg { gap: 2rem; }
.cards-equal > * { height: 100%; }
.section-head { margin-bottom: 2rem; }
.dark-band {
  background: linear-gradient(135deg, rgba(9,13,22,0.98), rgba(13,22,36,0.98));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dark-band p, .dark-band li { color: #edf2fa; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 1.85rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}
.light-list li::before { color: #ffe29f; }
.compact { gap: .6rem; }
.image-stack, .hero-visual-card { position: relative; min-height: 420px; }
.hero-media-single { min-height: 440px; }
.image-card, .image-frame, .hero-visual-main, .hero-visual-float {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.03);
}
.image-card-main, .hero-visual-main { width: 78%; margin-left: auto; }
.image-card-float, .hero-visual-float {
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 50%;
}
.hero-media-single .hero-visual-main,
.hero-media-single .hero-visual-float { width: 100%; }
.hero-media-single .hero-visual-float { display: none; }
.page-hero-image { min-height: 340px; }
.image-frame img, .image-card img, .hero-visual-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-visual-main,
.hero-visual-float,
.image-card-main,
.image-card-float,
.page-hero-image,
.image-frame {
  min-height: 280px;
}
.pill-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: .58rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
}
.pill-strong {
  background: rgba(245,201,106,0.14);
  border-color: rgba(245,201,106,0.24);
  color: #ffe8b8;
}
.timeline-preview, .timeline { display: grid; gap: 1.2rem; }
.timeline-preview-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(180deg, rgba(14,22,36,0.98), rgba(19,30,47,0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.timeline-preview .year, .timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: .6rem .9rem;
  background: rgba(245,201,106,0.14);
  border: 1px solid rgba(245,201,106,0.22);
  border-radius: 999px;
  color: #ffe1a0;
  font-weight: 800;
}
.center-top-gap { text-align: center; margin-top: 2rem; }
.timeline-full { position: relative; padding-left: 2rem; }
.timeline-full::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(245,201,106,0.35), rgba(103,210,255,0.35));
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(1rem - .35rem);
  top: 1rem;
  width: .8rem;
  height: .8rem;
  background: #0b1019;
  border: 3px solid var(--primary);
  border-radius: 999px;
}
.timeline-card h2 { font-size: 1.35rem; }
.meta { color: #dce5f2; font-weight: 700; }
.case-list { display: grid; gap: 1.5rem; }
.case-card { padding: 1.8rem; }
.case-top {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}
.tech-card, .credits-card { display: grid; gap: 1rem; }
.skill-group strong { display: block; margin-bottom: .4rem; color: white; }
.founder-card { text-align: left; }
.founder-mark {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.55rem;
  color: #0a1220;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f8d487, #d79e36);
}
.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-item span { color: #eef3fb; }
.contact-item:last-child { border-bottom: 0; }
.form-card { background: linear-gradient(180deg, rgba(14,22,36,0.98), rgba(19,30,47,0.98)); }
.contact-form { display: grid; gap: 1rem; margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.form-field { display: grid; gap: .45rem; }
.form-field label { font-weight: 700; color: #f0f3fa; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0d1727;
  color: white;
  padding: .92rem 1rem;
  font: inherit;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.60); }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(245,201,106,0.55);
  box-shadow: 0 0 0 4px rgba(245,201,106,0.12);
}
.form-note { color: #dce5f2; font-size: .95rem; margin: 0; }
.status-message {
  display: block;
  padding: .9rem 1rem;
  border-radius: 16px;
  font-weight: 700;
  margin-top: .4rem;
}
.status-message.success { background: rgba(141,217,125,0.12); color: var(--success); border: 1px solid rgba(141,217,125,0.24); }
.status-message.error { background: rgba(255,143,143,0.12); color: #ffb1b1; border: 1px solid rgba(255,143,143,0.24); }
.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #0b1423, #12243a);
  color: white;
  border: 1px solid rgba(245,201,106,0.14);
}
.site-footer {
  background: #05070d;
  color: rgba(255,255,255,0.86);
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 2rem;
}
.site-footer h3 { font-size: 1rem; color: white; }
.site-footer a { display: block; margin-bottom: .6rem; color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--primary); }
.brand-footer { color: white; display: inline-flex; margin-bottom: 1rem; }
.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

body.page-services .page-hero-grid,
body.page-experience .page-hero-grid,
body.page-contact .page-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  grid-template-areas:
    "copy image"
    "summary image";
  align-items: start;
}
body.page-services .page-hero-grid > :nth-child(1),
body.page-experience .page-hero-grid > :nth-child(1),
body.page-contact .page-hero-grid > :nth-child(1) { grid-area: copy; }
body.page-services .page-hero-grid > :nth-child(2),
body.page-experience .page-hero-grid > :nth-child(2),
body.page-contact .page-hero-grid > :nth-child(2) { grid-area: summary; }
body.page-services .page-hero-grid > :nth-child(3),
body.page-experience .page-hero-grid > :nth-child(3),
body.page-contact .page-hero-grid > :nth-child(3) { grid-area: image; }

.reverse-mobile { align-items: center; }

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .page-hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid,
  .timeline-item,
  .form-grid {
    grid-template-columns: 1fr;
  }
  body.page-services .page-hero-grid,
  body.page-experience .page-hero-grid,
  body.page-contact .page-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "summary"
      "image";
  }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-box, .case-top, .contact-item, .trust-strip { flex-direction: column; align-items: flex-start; }
  .timeline-full { padding-left: 1.3rem; }
  .timeline-full::before { left: .65rem; }
  .timeline-item::before { left: calc(.65rem - .35rem); }
  .timeline-preview-item { grid-template-columns: 1fr; }
  .image-card-main, .image-card-float, .hero-visual-main, .hero-visual-float { width: 100%; position: static; }
  .image-stack, .hero-visual-card, .hero-media-single { min-height: 0; display: grid; gap: 1rem; }
  .reverse-mobile > :first-child { order: 2; }
  .reverse-mobile > :last-child { order: 1; }
}
@media (max-width: 820px) {
  .section, .page-hero { padding: 4rem 0; }
  .hero { padding: 6rem 0 4.25rem; }
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .6rem);
    flex-direction: column;
    align-items: stretch;
    background: rgba(8,12,20,0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .site-nav .nav-cta { margin-left: 0; }
  .site-nav a.btn { justify-content: center; }
  .page-hero-image { min-height: 260px; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .card { padding: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .btn, .btn-secondary { width: 100%; }
  .trust-strip { border-radius: 24px; }
  .timeline-year, .timeline-preview .year { min-width: 0; }
}

.form-success {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-message {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.status-message.is-loading {
  color: #f4c35a;
}

.status-message.is-success {
  color: #7dd3a0;
}

.status-message.is-error {
  color: #ff8a8a;
}

[hidden] {
  display: none !important;
}