:root {
  --ink: #101114;
  --ink-soft: #22252b;
  --paper: #ffffff;
  --paper-soft: #f4f5f7;
  --line: #d9dde3;
  --muted: #626976;
  --accent: #e7a529;
  --accent-dark: #b8790b;
  --accent-light: #f6d38a;
  --success: #1f6a45;
  --shadow: 0 22px 60px rgba(16, 17, 20, 0.12);
  --radius: 18px;
  --max: 1180px;
  --surface-dark: #202329;
  --test-one: #1F2227;
  --test-two: #1D2025;
  --test-three: #1B1E22;
  --test-four: #191C20; /* Very subtle */
  --test-five: #17191D; /* Nearly footer black */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 9999;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 86px 0; }
.section-tight { padding: 0 0 56px; background: var(--ink); }
.section-dark { color: var(--paper); background: var(--ink); }
.section-soft { background: var(--ink); color:var(--paper); }
.section-soft h3 { color:var(--ink-soft);}
.section-heading { max-width: 760px; margin-bottom: 34px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: #ffd276; }
h1, h2, h3 { margin: 0; line-height: 0.98; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); }
p { margin: 1rem 0 1rem; }
.lead { max-width: 710px; font-size: clamp(1.08rem, 2vw, 1.32rem); color: #d7dbe2; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #cbd0d8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #ffffff;
  background: #0b0c0f;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(16,17,20,0.09);
}
.header-row { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 580; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent-dark); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: var(--accent); box-shadow: 0 12px 28px rgba(231,165,41,.22); }
.btn-primary:hover { background: #f0b640; }
.btn-light { color: var(--ink); background: var(--paper); }
.btn-outline { color: inherit; border-color: currentColor; background: transparent; }
.btn-small { min-height: 42px; padding: 9px 15px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 83% 15%, rgba(231,165,41,.24), transparent 27%),
    linear-gradient(130deg, #0b0c0f 0%, #1b1e24 60%, #121418 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -180px 38%;
  height: 420px;
  transform: rotate(-7deg);
  border-top: 48px solid rgba(255,255,255,.045);
  border-left: 390px solid transparent;
  border-right: 390px solid transparent;
  pointer-events: none;
}
.hero-grid { min-height: 660px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 68px; padding: 80px 0; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 span { color: #ffd276; }
.hero-card {
  position: relative;
  z-index: 2;
  min-height: 410px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 34px;
  background:
    linear-gradient(to top, rgba(10,11,13,.96), rgba(10,11,13,.14)),
    repeating-linear-gradient(135deg, #333841 0 22px, #242830 22px 44px);
  box-shadow: 0 34px 80px rgba(0,0,0,.38);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 74px;
  left: 50%;
  width: 230px;
  height: 150px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 28px solid rgba(255,255,255,.9);
  border-left: 28px solid rgba(255,255,255,.9);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card p { max-width: 420px; color: #d4d8de; }
.hero-badge { display: inline-flex; width: fit-content; margin-bottom: 14px; padding: 7px 10px; border-radius: 999px; color: var(--ink); background: var(--accent); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero-copy h1 span {
  color:var(--accent);
}
.trust-strip {  background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top:45px; border-radius:12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);}
.trust-item { padding: 26px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 3px; }
.trust-item span { color: var(--muted); font-size: .94rem; }
.trust-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item p {
  margin-bottom: 0px;
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  overflow: visible;
  fill: var(--accent);
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(16,17,20,.05);
}
.card:hover { border-color: #bfc5cd; box-shadow: var(--shadow); }
.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 950;
}
.card p { color: var(--muted); }
.card-link { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 850; text-decoration: none; }
.card-link::after { content: " →"; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 68px; }
.split-copy p { color: var(--muted); }
.mock-photo {
  min-height: 410px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(to top, rgba(16,17,20,.78), rgba(16,17,20,.05)),
    repeating-linear-gradient(140deg, #3a4049 0 24px, #282d35 24px 48px);
  box-shadow: var(--shadow);
}
.mock-photo::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 50%;
  width: 300px;
  height: 200px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 34px solid rgba(255,255,255,.9);
  border-left: 34px solid rgba(255,255,255,.9);
}
.mock-photo figcaption { position: absolute; inset: auto 24px 24px; padding: 12px 15px; border-radius: 12px; color: var(--paper); background: rgba(16,17,20,.82); font-weight: 700; }

.check-list { list-style: none; padding: 0; margin: 25px 0 0; }
.check-list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 950; }
.section-dark .check-list li { border-color: rgba(255,255,255,.14); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: process; }
.process-step { counter-increment: process; padding: 26px; border-radius: var(--radius); background: #202329; border: 1px solid rgba(255,255,255,.09); }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 30px; color: #ffd276; font-weight: 950; }
.process-step p { color: #cbd0d8; }

.project-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.project-card { position: relative; min-height: 270px; overflow: hidden; border-radius: 20px; background: repeating-linear-gradient(140deg, #434954 0 22px, #2f343d 22px 44px); }
.project-card:first-child { min-height: 560px; grid-row: span 2; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,15,.92), transparent 68%); }
.project-card .project-copy { position: absolute; z-index: 1; inset: auto 22px 20px; color: white; }
.project-copy p { margin: 5px 0 0; color: #d5d9df; font-size: .92rem; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px; border-radius: 24px; color: var(--paper); background: #000000;}
.cta-panel p { max-width: 650px; margin-bottom: 0; color: #cbd0d8; }

.page-hero { color: var(--paper); background: var(--ink) }
.page-hero .container { min-height: 640px; display: grid; align-content: center; padding-block: 72px; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero p { max-width: 700px; margin-top: 20px; color: #d1d6dd; font-size: 1.16rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #abb2bd; font-size: .9rem; }
.breadcrumbs a { color: white; text-decoration: none; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 56px; }
.prose { max-width: 790px; }
.prose h2 { margin: 58px 0 18px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.prose h3 { margin: 32px 0 12px; }
.prose p, .prose li { color: #444b56; }
.prose ul { padding-left: 22px; }
.sidebar-card { position: sticky; top: 108px; padding: 28px; border-radius: var(--radius); color: var(--paper); background: var(--ink); box-shadow: var(--shadow); }
.sidebar-card p { color: #cbd0d8; }
.sidebar-card .btn { width: 100%; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 26px 0; }
.stat { padding: 20px; border-radius: 14px; background: var(--paper-soft); }
.stat strong { display: block; font-size: 1.15rem; }
.stat span { color: var(--muted); font-size: .88rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 19px 0; font-weight: 850; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 760; }
input, textarea, select { width: 100%; border: 1px solid #bac1ca; border-radius: 11px; padding: 13px 14px; background: var(--paper); color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(231,165,41,.28); border-color: var(--accent-dark); }
.form-note { color: var(--muted); font-size: .9rem; }
.form-message { display: none; margin-top: 15px; padding: 13px 15px; border-radius: 10px; color: #154a31; background: #dff3e8; }
.form-message.is-visible { display: block; }

.site-footer { padding: 58px 0 95px; color: #d9dde3; background: #0b0c0f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer-logo { width: 170px; padding: 9px; border-radius: 10px; background: white; }
.site-footer h3 { margin-bottom: 15px; font-size: 1rem; letter-spacing: 0; }
.site-footer a { display: block; margin: 8px 0; color: #c9ced6; text-decoration: none; }
.site-footer a:hover { color: #ffd276; }
.site-footer p { color: #9fa7b3; }
.footer-bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #8e96a2; font-size: .88rem; }

.mobile-cta { display: none; }
.prototype-tag { display: inline-flex; margin-top: 12px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px 18px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16,17,20,.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; color:var(--ink); }
  .site-nav .btn { margin-top: 8px; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .split, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 38px; }
  .hero-card { min-height: 340px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .project-grid { grid-template-columns: repeat(2,1fr); }
  .project-card:first-child { min-height: 360px; grid-row: auto; grid-column: 1 / -1; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 660px) {
  body { padding-bottom: 64px; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 64px 0; }
  .brand img { width: 128px; }
  .header-row { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero-grid { padding: 62px 0; }
  .hero-card { padding: 24px; min-height: 290px; }
  .trust-grid, .card-grid, .process-grid, .project-grid, .form-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .project-card:first-child { grid-column: auto; }
  .cta-panel { grid-template-columns: 1fr; padding: 30px 24px; }
  .cta-panel .btn { width: 100%; }
  .page-hero .container { min-height: 380px; }
  .mobile-cta {
    position: fixed;
    z-index: 1200;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 1px;
    background: #31343a;
  }
  .mobile-cta a { display: grid; place-items: center; min-height: 62px; color: white; background: var(--ink); text-decoration: none; font-weight: 900; }
  .mobile-cta a:last-child { color: var(--ink); background: var(--accent); }
}
