@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');}
@font-face{font-family:'Syne';font-style:normal;font-weight:700 800;font-display:swap;src:url(fonts/syne-latin.woff2) format('woff2');}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas:  #F4F0E6;
  --white:   #FFFFFF;
  --ink:     #0C0C0C;
  --ink-2:   #4A4A4A;
  --ink-3:   #6B6264;
  --blue:    #1547E8;
  --blue-d:  #0F35C2;
  --red:     #E82B0A;
  --yellow:  #F0B42A;
  --border:  rgba(12,12,12,.1);
  --w:       1160px;
  --r:       4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 2rem; }
section { position: relative; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: background .25s, border-color .25s;
}
nav.scrolled {
  background: rgba(244,240,230,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--w); margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink);
}
.nav-mark { position: relative; width: 28px; height: 28px; flex-shrink: 0; }
.nav-mark .s { position: absolute; }
.nav-mark .s:nth-child(1) { width:28px;height:28px;top:0;left:0; background:var(--blue); }
.nav-mark .s:nth-child(2) { width:18px;height:18px;top:5px;left:5px; background:var(--red); transform:rotate(12deg); }
.nav-mark .s:nth-child(3) { width:10px;height:10px;top:9px;left:9px; background:var(--yellow); transform:rotate(24deg); }
.nav-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: .9375rem; letter-spacing: -.01em;
}
.nav-links { display:flex; align-items:center; gap:2.25rem; list-style:none; }
.nav-links a {
  color: var(--ink-2); text-decoration:none;
  font-size: .875rem; font-weight:500; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: .5rem 1.25rem;
  background: var(--ink);
  color: var(--canvas) !important;
  font-weight: 600 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue) !important; color: #fff !important; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:.5rem; margin:-.5rem; color:var(--ink); }
.nav-toggle .ic-close { display:none; }
.nav-toggle[aria-expanded="true"] .ic-open { display:none; }
.nav-toggle[aria-expanded="true"] .ic-close { display:block; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
#about :focus-visible, #contact :focus-visible { outline-color: var(--yellow); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--canvas);
  padding: .75rem 1.25rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

/* Large faint background square */
#hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border: 1.5px solid rgba(12,12,12,.06);
  top: 50%; right: -10%;
  transform: translateY(-50%) rotate(10deg);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-label {
  display: inline-flex; align-items: center; gap: .625rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 1.75rem;
}
.hero-label::before {
  content: '';
  display: block; width: 22px; height: 22px;
  background: var(--blue);
}

h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.0625rem; color: var(--ink-2);
  max-width: 440px; margin-bottom: 2.75rem; line-height: 1.75;
}

.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }

.btn-dark {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.75rem;
  background: var(--ink); color: var(--canvas);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }

.btn-out {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.75rem;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
  font-weight: 500; font-size: .9375rem; text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-out:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* Hero abstract art composition */
.hero-art {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}

/* ── SERVICES ── */
#services {
  padding: 9rem 0;
  background: var(--white);
}

.sec-eyebrow {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .875rem;
  display: flex; align-items: center; gap: .625rem;
}
.sec-eyebrow::before {
  content: ''; display: block; width: 16px; height: 2px; background: var(--blue);
}

.sec-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800; margin-bottom: 1rem;
}
.sec-sub {
  font-size: 1rem; color: var(--ink-2);
  max-width: 520px; margin-bottom: 3.5rem; line-height: 1.75;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  border: 1.5px solid var(--ink);
}

.svc {
  padding: 2.5rem 2rem;
  border-right: 1.5px solid var(--ink);
  background: var(--white);
  transition: background .25s;
  position: relative; overflow: hidden;
}
.svc:last-child { border-right: none; }
.svc:hover { background: var(--canvas); }

.svc-num {
  font-family: 'Syne', sans-serif;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; color: var(--ink-3);
  margin-bottom: 2rem;
}

.svc-marker {
  width: 40px; height: 40px; margin-bottom: 1.5rem;
}

.svc h3 {
  font-size: 1.375rem; font-weight: 800;
  margin-bottom: .75rem;
}

.svc > p {
  font-size: .875rem; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 1.75rem;
}

.svc-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.svc-list li {
  font-size: .8125rem; color: var(--ink-2);
  padding-left: 1rem; position: relative;
}
.svc-list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--ink-3); font-size: .75rem;
}

/* ── PROCESS ── */
#process { padding: 9rem 0; }

.process-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem; align-items: start;
}

.process-left .sec-title { margin-bottom: .75rem; }
.process-left p { font-size: .9375rem; color: var(--ink-2); line-height: 1.75; }

.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 1.5rem; align-items: start;
  padding: 2rem 0;
  border-top: 1.5px solid var(--border);
}
.step:last-child { border-bottom: 1.5px solid var(--border); }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  color: var(--ink); line-height: 1;
  transition: color .2s;
}
.step:hover .step-num { color: var(--blue); }

.step-body h4 {
  font-size: 1.125rem; font-weight: 800;
  margin-bottom: .375rem; padding-top: .4rem;
}
.step-body p { font-size: .875rem; color: var(--ink-2); line-height: 1.7; }

/* ── ABOUT (dark section) ── */
#about {
  padding: 9rem 0;
  background: var(--ink);
  color: #F4F0E6;
}

#about .sec-eyebrow { color: rgba(244,240,230,.7); }
#about .sec-eyebrow::before { background: var(--yellow); }
#about .sec-title { color: #F4F0E6; }
#about .sec-sub { color: rgba(244,240,230,.6); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}

.about-text p {
  font-size: .9375rem; color: rgba(244,240,230,.65);
  line-height: 1.8; margin-bottom: 2rem;
}

.pillars { list-style: none; display: flex; flex-direction: column; gap: 0; }

.pillar {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 1rem; align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(244,240,230,.1);
}
.pillar:last-child { border-bottom: 1px solid rgba(244,240,230,.1); }

.pillar-sq { width: 12px; height: 12px; margin-top: 5px; }
.pillar h4 { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; color: #F4F0E6; }
.pillar p { font-size: .8375rem; color: rgba(244,240,230,.7); line-height: 1.65; }

.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(244,240,230,.12);
  border: 1px solid rgba(244,240,230,.12);
}
.feat {
  padding: 2rem 1.75rem;
  background: var(--ink);
  transition: background .2s;
}
.feat:hover { background: #141414; }

.feat-mark {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800;
  margin-bottom: .875rem;
}
.feat h4 { font-size: .9375rem; font-weight: 600; margin-bottom: .35rem; color: #F4F0E6; }
.feat p { font-size: .8125rem; color: rgba(244,240,230,.7); line-height: 1.6; }

/* ── CTA (blue block) ── */
#contact {
  padding: 9rem 0;
  background: var(--blue);
  color: #fff;
}

.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }

#contact .sec-eyebrow { color: rgba(255,255,255,.85); }
#contact .sec-eyebrow::before { background: var(--yellow); }

#contact h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; color: #fff;
  margin-bottom: 0;
}

#contact p { font-size: 1rem; color: rgba(255,255,255,.88); margin-top: .875rem; }

.btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem 2rem; flex-shrink: 0;
  background: #fff; color: var(--blue);
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-white:hover { background: var(--canvas); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  padding: 2rem 0;
}
.foot-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.foot-copy { font-size: .8rem; color: var(--ink-3); }
.foot-links { display: flex; gap: 1.5rem; list-style: none; }
.foot-links a { font-size: .8rem; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--ink); }

/* ── REVEAL ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.d1{transition-delay:.07s} .d2{transition-delay:.14s} .d3{transition-delay:.21s}

/* ── HERO FADE IN ── */
@keyframes fu { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
.fu{animation:fu .65s ease forwards;}
.fa1{animation-delay:.1s;opacity:0} .fa2{animation-delay:.22s;opacity:0}
.fa3{animation-delay:.34s;opacity:0} .fa4{animation-delay:.46s;opacity:0}
.fa5{animation-delay:.6s;opacity:0}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-art{display:none;}
  .services-grid{grid-template-columns:1fr;}
  .svc{border-right:none;border-bottom:1.5px solid var(--ink);}
  .svc:last-child{border-bottom:none;}
  .process-inner{grid-template-columns:1fr;}
  .about-inner{grid-template-columns:1fr;gap:3rem;}
  .cta-inner{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .nav-links.open{
    display:flex; flex-direction:column; align-items:flex-start;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(244,240,230,.97); backdrop-filter:blur(16px);
    padding:1.5rem 2rem; gap:1.25rem;
    border-bottom:1.5px solid var(--border);
  }
  .nav-toggle{display:block;}
}
@media(max-width:600px){
  .feat-grid{grid-template-columns:1fr;}
  .foot-inner{flex-direction:column;text-align:center;}
  #hero::before{display:none;}
}

/* ── DIGITAL PAYMENTS ── */
#payments { padding: 9rem 0; background: var(--white); border-top: 1.5px solid var(--ink); }
.payments-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.payments-left p { font-size: .9375rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 1.25rem; }
.payments-left .sec-title { margin-bottom: 1.25rem; }
.flow { list-style: none; counter-reset: flow; border: 1.5px solid var(--ink); }
.flow li {
  counter-increment: flow;
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem;
  padding: 1.5rem 1.75rem; border-bottom: 1.5px solid var(--ink);
}
.flow li:last-child { border-bottom: none; }
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--red); line-height: 1.2;
}
.flow h3 { font-size: 1.0625rem; font-weight: 800; margin-bottom: .25rem; }
.flow p { font-size: .875rem; color: var(--ink-2); line-height: 1.7; }
.scope { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; border: 1.5px solid var(--ink); background: var(--ink); }
.scope > div { background: var(--canvas); padding: 1.5rem 1.75rem; }
.scope h3 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: .875rem; color: var(--ink-2); }
.scope ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.scope li { font-size: .8125rem; color: var(--ink-2); padding-left: 1rem; position: relative; }
.scope li::before { content: '—'; position: absolute; left: 0; color: var(--ink-3); }

/* ── LEGAL PAGES ── */
.legal { padding: 9rem 0 6rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.legal .updated { color: var(--ink-3); font-size: .875rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.375rem; font-weight: 800; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { font-size: .9375rem; color: var(--ink-2); line-height: 1.8; margin-bottom: .75rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--blue); }
.not-found { min-height: 100svh; display: flex; align-items: center; }

@media(max-width:960px){
  .payments-inner{grid-template-columns:1fr;gap:3rem;}
}
@media(max-width:600px){
  .scope{grid-template-columns:1fr;}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fa1,.fa2,.fa3,.fa4,.fa5 { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

.accent-blue { color: var(--blue); font-style: normal; }
.nav-logo--foot { text-decoration: none; }
.nav-logo--foot .nav-name { font-size: .85rem; color: var(--ink-2); }
.feat-mark.c-blue { color: #1547E8; } .feat-mark.c-red { color: #E82B0A; }
.feat-mark.c-yellow { color: #F0B42A; } .feat-mark.c-dim { color: rgba(244,240,230,.55); }
.svc-link { display:inline-block; margin-top:1.75rem; font-size:.8125rem; font-weight:600; color:var(--ink); text-decoration:none; border-bottom:1.5px solid var(--red); }
.svc-link:hover { color: var(--red); }
.foot-copy, .foot-links a { color: var(--ink-2); }
.legal-head nav { position: fixed; }
.not-found .hero-sub { margin-bottom: 2rem; }
