:root {
  --ink: #f5f3ee;
  --ink-dim: #b7b3ab;
  --paper: #ffffff;
  --paper-tint: #f6f5f2;
  --line: #e7e4dd;
  --dark: #0c0e12;
  --dark-2: #14171d;
  --accent: #e0a63a;
  --accent-soft: #f3d18f;
  --radius: 16px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: #1b1e24;
  background: var(--paper);
  line-height: 1.6;
}
.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;
}
.skip-link {
  position: absolute;
  top: -60px; left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: #1b1305;
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { color: #565b64; margin: 0 0 16px; }
a { color: inherit; }
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  letter-spacing: -0.01em;
}
.btn-primary { background: var(--accent); color: #1b1305; }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(245,243,238,0.35); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(245,243,238,0.7); }
.btn-ghost-dark { border-color: var(--line); color: #1b1e24; }
.btn-ghost-dark:hover { border-color: #1b1e24; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,14,18,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,243,238,0.08);
  transition: background .25s ease, border-color .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .25s ease; }
.site-header.is-scrolled { background: rgba(12,14,18,0.98); border-bottom-color: rgba(245,243,238,0.14); }
.site-header.is-scrolled .header-inner { height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--ink-dim); font-weight: 500; font-size: 0.95rem; transition: color .2s ease; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.is-active { color: var(--accent); }
.nav-cta { padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #1b1305 !important; font-weight: 700; }
.nav-cta:hover { background: var(--accent-soft); }
.nav-cta.is-active { box-shadow: 0 0 0 2px rgba(224,166,58,0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(245,243,238,0.25);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 130px;
  background:
    linear-gradient(180deg, rgba(9,10,13,0.55) 0%, rgba(9,10,13,0.88) 55%, #0c0e12 100%),
    url('https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: var(--ink);
}
.hero-inner { max-width: 720px; }
.eyebrow, .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 800;
  color: var(--accent); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); color: var(--ink); }
.hero-sub { font-size: 1.2rem; max-width: 600px; color: var(--ink-dim); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }

/* Services */
.services { padding: 100px 0; background: var(--paper); }
.services .section-eyebrow { color: #b9791a; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.service-card {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(20,15,5,0.35); border-color: #ecd9ab; }
.service-icon {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: #fbeecd; color: #a5690f; margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card p { margin-bottom: 0; }

/* Platforms strip */
.platforms { padding: 0 0 90px; background: var(--paper); text-align: center; }
.platforms-label { max-width: 480px; margin: 0 auto 28px; font-size: 0.95rem; }
.platforms-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.platform-item {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1b1e24;
}
.platform-icon { width: 18px; height: 18px; flex-shrink: 0; object-fit: contain; }
.platform-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fbeecd;
  color: #a5690f;
}

/* Image break */
.image-break {
  position: relative;
  height: 360px;
  background:
    linear-gradient(90deg, rgba(12,14,18,0.94) 0%, rgba(12,14,18,0.88) 42%, rgba(12,14,18,0.5) 72%, rgba(12,14,18,0.15) 100%),
    linear-gradient(180deg, rgba(12,14,18,0.25), rgba(12,14,18,0.6)),
    url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  display: flex; align-items: center;
}
.image-break-inner { color: #fff; max-width: 560px; }
.image-break-inner p { color: rgba(255,255,255,0.75); margin-bottom: 0; font-size: 1.05rem; }
.image-break-inner h2 { color: #fff; margin-bottom: 10px; }

/* Process */
.process { padding: 100px 0; background: var(--dark); color: var(--ink); }
.process h2, .process .section-eyebrow { color: var(--ink); }
.process .section-eyebrow { color: var(--accent); }
.process-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-list li { border-top: 1px solid rgba(245,243,238,0.18); padding-top: 20px; }
.process-num { display: block; font-size: 0.85rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.process-list h3 { color: var(--ink); }
.process-list p { color: var(--ink-dim); margin: 0; }

/* About */
.about { padding: 100px 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.about-copy { max-width: 560px; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 50px -30px rgba(20,15,5,0.4); }
.about-photo img { display: block; width: 100%; height: 420px; object-fit: cover; }
.about .section-eyebrow { color: #b9791a; }
.about-callout {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin-top: 8px;
}
.about-callout p {
  margin: 0;
  color: #1b1e24;
  font-weight: 600;
  font-size: 1.02rem;
}

/* FAQ */
.faq { padding: 100px 0; background: var(--paper-tint); }
.faq-head { max-width: 600px; margin-bottom: 8px; }
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b1e24;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 14px 0 0; max-width: 640px; }

/* CTA */
.cta {
  position: relative;
  padding: 110px 0 120px;
  text-align: center;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(12,14,18,0.82), #0c0e12 70%),
    url('https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta .section-eyebrow { color: var(--accent); }
.cta h2 { margin-bottom: 14px; color: var(--ink); }
.cta p { font-size: 1.08rem; margin-bottom: 30px; color: var(--ink-dim); }

.map-card {
  position: relative;
  margin: 56px auto 0;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.6);
  background: #14161c;
}
.map-graphic { display: block; width: 100%; height: 220px; }
.map-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12,14,18,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
}
.map-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.map-tag span { font-size: 0.82rem; font-weight: 600; color: #fff; letter-spacing: 0.01em; }

/* Footer */
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner .brand { color: #1b1e24; }
.footer-inner .brand-mark { color: #b9791a; }
.footer-nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { text-decoration: none; color: #565b64; font-size: 0.95rem; }
.footer-nav a:hover { color: #1b1e24; }
.footer-copy { margin: 0; font-size: 0.85rem; color: #8a8f97; width: 100%; text-align: center; order: 3; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { height: 300px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(245,243,238,0.1);
    padding: 8px 28px 20px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { width: 100%; padding: 10px 0; }
  .nav-cta { display: inline-block; }

  .footer-inner { justify-content: center; text-align: center; }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Tilt targets */
.service-card, .platform-item {
  transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}
