
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #6f6f6a;
  --line: #dfdfda;
  --accent: #ef6500;
  --dark: #121212;
  --max: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,20,20,.08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; fill: var(--ink); }
.accent { fill: var(--accent); }
.brand-wordmark { display: grid; line-height: 1; gap: 5px; }
.brand-name { letter-spacing: .22em; font-size: .91rem; font-weight: 700; }
.brand-sub { color: var(--accent); letter-spacing: .33em; font-size: .62rem; }

.nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; }
.nav a:not(.nav-cta) { color: #464642; }
.nav a:hover { color: var(--accent); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 11px 17px;
  transition: .2s ease;
}
.nav-cta:hover { background: var(--ink); color: white !important; }

.nav-toggle {
  display: none; border: 0; background: transparent; padding: 8px;
}
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding-block: 84px;
}
.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 700;
  font-size: .72rem;
  color: var(--accent);
}
h1,h2,h3,p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7.3vw, 7rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 750;
}
h1 span { color: var(--accent); }
.hero-lead {
  max-width: 720px;
  color: #555550;
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  margin-bottom: 31px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-weight: 650;
  transition: .2s ease;
}
.button-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button-primary:hover { background: #d95c00; border-color: #d95c00; transform: translateY(-1px); }
.button-secondary:hover { background: var(--ink); color: white; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 55px;
  max-width: 720px;
  border: 1px solid var(--line);
}
.hero-meta div { background: var(--bg); padding: 19px; }
.hero-meta strong { display: block; font-size: 1.35rem; }
.hero-meta span { color: var(--muted); font-size: .82rem; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.03;
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.hero-gridlines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,20,20,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom right, transparent, #000 25%, #000 82%, transparent);
}
.hero-mark {
  position: absolute;
  width: 67%;
  right: 7%;
  top: 13%;
  fill: #171717;
  opacity: .97;
}
.signal {
  position: absolute; height: 1px; background: var(--accent);
  transform-origin: left center;
}
.signal::after {
  content:""; position:absolute; right:-4px; top:-3px; width:7px; height:7px;
  border:1px solid var(--accent); background:var(--bg);
}
.signal-a { width: 180px; left: 8%; top: 70%; transform: rotate(-25deg); }
.signal-b { width: 120px; right: 8%; top: 26%; transform: rotate(90deg); }
.signal-c { width: 90px; right: 14%; bottom: 14%; transform: rotate(0deg); }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 700px; }

.card-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card-grid.four { grid-template-columns: repeat(3,1fr); }
.expert-card { background: var(--surface); padding: 32px 27px 34px; min-height: 260px; }
.card-index { display: inline-block; color: var(--accent); font-size: .78rem; letter-spacing: .15em; margin-bottom: 68px; }
.expert-card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.expert-card p { color: var(--muted); margin: 0; }

.dark-section { background: var(--dark); color: white; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.section-heading.light h2 { color: white; }
.why-list { border-top: 1px solid #3c3c3c; }
.why-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 30px;
  padding: 25px 0; border-bottom: 1px solid #3c3c3c;
}
.why-row span { font-weight: 700; }
.why-row p { color: #b5b5b1; margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card {
  padding: 34px; background: var(--surface); border-top: 3px solid var(--ink);
  min-height: 260px; display: flex; flex-direction: column;
}
.service-card:hover { border-top-color: var(--accent); }
.service-card h3 { font-size: 1.4rem; }
.service-card p { color: var(--muted); }
.service-card span { margin-top: auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }

.approach-section { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before {
  content:""; position:absolute; top:26px; left:0; right:0; height:1px; background:var(--line);
}
.step { padding-right: 30px; position: relative; }
.step span {
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; background:var(--bg); border:1px solid var(--accent);
  color:var(--accent); font-size:.75rem; font-weight:700; position:relative; z-index:1;
}
.step h3 { margin: 25px 0 9px; }
.step p { color: var(--muted); }

.about-section { background: #ecece9; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.about-mark {
  min-height: 440px; display:grid; place-items:center; border:1px solid #d3d3ce;
  background:linear-gradient(135deg, #f4f4f1, #e5e5e0);
}
.about-mark svg { width: 70%; fill: var(--ink); }
.about-copy h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing:-.05em; margin-bottom:0; }
.role { color: var(--accent); font-weight:650; margin: 8px 0 28px; }
.about-copy > p:not(.eyebrow):not(.role) { color:#585853; max-width:730px; font-size:1.04rem; }

.contact-section { background: var(--surface); padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 90px; align-items:center; }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing:-.05em; line-height:1; margin-bottom:8px; }
.contact-tagline { font-size: 1.7rem; color: var(--accent); margin-bottom: 35px; }
.contact-details { display:flex; flex-direction:column; gap:8px; font-size:1.05rem; margin-bottom:28px; }
.contact-details a:hover { color: var(--accent); }
.qr-card { justify-self:end; max-width:400px; padding:32px; border:1px solid var(--line); background:white; }
.qr-card img { width:100%; image-rendering: pixelated; }
.qr-card p { text-align:center; text-transform:uppercase; letter-spacing:.18em; font-size:.72rem; margin:18px 0 0; }

.site-footer { background: var(--dark); color:white; padding: 34px 0; }
.footer-grid { display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:25px; }
.footer-brand { display:flex; align-items:center; gap:12px; }
.footer-brand .brand-mark { fill:white; width:35px; }
.footer-brand div { display:grid; line-height:1; gap:5px; }
.footer-brand strong { letter-spacing:.18em; font-size:.76rem; }
.footer-brand span { letter-spacing:.24em; font-size:.58rem; color:var(--accent); }
.site-footer > .container > p, .footer-grid > p { margin:0; color:#b8b8b3; font-size:.85rem; }
.footer-grid > p span { color: var(--accent); }
.copyright { justify-self:end; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 980px) {
  .nav-toggle { display:block; }
  .nav {
    display:none; position:absolute; left:20px; right:20px; top:70px;
    background:var(--surface); border:1px solid var(--line); padding:18px;
    flex-direction:column; align-items:stretch; gap:0;
  }
  .nav.open { display:flex; }
  .nav a { padding:13px 10px; }
  .nav-cta { margin-top:7px; text-align:center; }
  .hero-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns:1fr; }
  .hero-visual { min-height:500px; border-left:0; border-top:1px solid var(--line); }
  .card-grid.four { grid-template-columns:repeat(2,1fr); }
  .service-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:repeat(2,1fr); gap:50px 20px; }
  .steps::before { display:none; }
  .about-grid { gap:45px; }
  .contact-grid { gap:45px; }
  .qr-card { justify-self:start; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 26px),var(--max)); }
  .brand-wordmark { display:none; }
  .nav-wrap { min-height:70px; }
  .hero { min-height:auto; }
  .hero-grid { padding-block:60px 35px; gap:35px; }
  .hero-meta { grid-template-columns:1fr; }
  .hero-visual { min-height:360px; }
  .section { padding:78px 0; }
  .card-grid.four { grid-template-columns:1fr; }
  .why-row { grid-template-columns:1fr; gap:7px; }
  .steps { grid-template-columns:1fr; }
  .about-mark { min-height:300px; }
  .footer-grid { grid-template-columns:1fr; }
  .copyright { justify-self:start; }
}

.lang-link {
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent) !important;
}


/* Updated technical hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.03;
  border-left: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.82), rgba(255,255,255,0) 34%),
    linear-gradient(120deg, #d9d9d6 0%, #8e8f90 35%, #1b1d20 68%, #0d1014 100%);
}

.hero-tech-bg {
  position: absolute;
  inset: 0;
  opacity: .72;
  background-image:
    linear-gradient(90deg, transparent 0 42%, rgba(255,255,255,.18) 42.2% 42.5%, transparent 42.7%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(239,101,0,.18) 35px 36px, transparent 37px 70px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255,255,255,.07) 29px 30px, transparent 31px 56px);
  mask-image: linear-gradient(135deg, transparent 5%, #000 28%, #000 92%);
}

.hero-mark {
  position: absolute;
  width: 52%;
  left: 10%;
  top: 24%;
  fill: #171a1f;
  filter: drop-shadow(16px 20px 10px rgba(0,0,0,.28));
  z-index: 3;
}

.hero-code {
  position: absolute;
  top: 8%;
  right: 7%;
  color: rgba(255,255,255,.52);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  line-height: 1.65;
  z-index: 3;
}

.hero-wave {
  position: absolute;
  right: 7%;
  top: 38%;
  width: 28%;
  height: auto;
  z-index: 3;
}
.hero-wave path {
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 2;
}
.hero-wave::after { content: ""; }

.hero-chip {
  position: absolute;
  width: 128px;
  height: 128px;
  right: 9%;
  bottom: 11%;
  border: 1px solid rgba(255,255,255,.24);
  background:
    linear-gradient(#15181d,#0b0e12);
  box-shadow:
    0 0 0 10px rgba(255,255,255,.025),
    inset 0 0 0 18px #0f1216,
    inset 0 0 0 19px rgba(255,255,255,.12);
  z-index: 3;
}
.hero-chip::before,
.hero-chip::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255,255,255,.12);
}

.trace {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(239,101,0,.9), rgba(255,255,255,.34));
  transform-origin: left center;
  z-index: 2;
}
.trace-1 { width: 210px; right: 30%; top: 28%; transform: rotate(17deg); }
.trace-2 { width: 250px; left: 36%; top: 56%; transform: rotate(-2deg); }
.trace-3 { width: 180px; left: 27%; bottom: 23%; transform: rotate(-18deg); }
.trace-4 { width: 150px; right: 5%; bottom: 31%; transform: rotate(90deg); }

.trace-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(239,101,0,.9);
  z-index: 4;
}
.dot-1 { right: 29%; top: 27%; }
.dot-2 { left: 62%; top: 55%; }
.dot-3 { left: 39%; bottom: 22%; }

@media (max-width: 980px) {
  .hero-code { font-size: .63rem; }
  .hero-chip { width: 100px; height: 100px; }
}

@media (max-width: 640px) {
  .hero-visual { min-height: 390px; aspect-ratio: auto; }
  .hero-mark { width: 58%; left: 7%; top: 24%; }
  .hero-code { right: 4%; font-size: .55rem; }
  .hero-wave { width: 34%; right: 5%; }
  .hero-chip { right: 6%; bottom: 9%; width: 86px; height: 86px; }
}
