:root {
  --ink: #0a0c0b;
  --ink-soft: #171a18;
  --paper: #f2f3ec;
  --paper-deep: #e3e5dc;
  --muted: #61655f;
  --line: #c9ccc2;
  --acid: #bdff26;
  --acid-deep: #a4e900;
  --white: #fbfcf7;
  --radius: 26px;
  --page-x: clamp(20px, 4vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: "Archivo", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--acid-deep); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: .48rem; width: max-content; font-size: 2rem; font-weight: 900; letter-spacing: -.08em; }
.brand-core { display: inline-flex; align-items: center; }
.brand-j { line-height: 1; }
.brand-two { display: grid; place-items: center; width: 29px; height: 29px; margin-left: -2px; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: .8rem; letter-spacing: 0; box-shadow: 0 0 0 5px color-mix(in srgb, var(--acid) 15%, transparent); }
.brand-domain { font-size: .9rem; font-weight: 800; letter-spacing: .07em; }
.main-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.2rem); font-size: .95rem; font-weight: 600; }
.main-nav a, .header-contact { position: relative; }
.main-nav a::after, .header-contact::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--acid-deep); transition: right .25s ease; }
.main-nav a:hover::after, .header-contact:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.header-contact { font-size: .95rem; font-weight: 700; }
.lang-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-btn { min-width: 36px; padding: .4rem .58rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .8rem; font-weight: 700; }
.lang-btn.active { background: var(--ink); color: var(--white); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 78px);
  padding: clamp(3rem, 7vh, 6rem) var(--page-x) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(circle at 83% 18%, rgba(189,255,38,.18), transparent 24rem), linear-gradient(135deg, var(--ink) 0%, #101411 64%, #18210f 100%);
  color: var(--white);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.kicker, .section-heading { font-size: .95rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: .75rem; margin: 0; color: #dce1d6; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 18px var(--acid); }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 27vw, 390px); gap: clamp(2rem, 5vw, 6rem); align-items: center; margin: auto 0; padding: clamp(3.5rem, 8vh, 7rem) 0; }
.hero h1 { margin: 0; max-width: 980px; font-size: clamp(4.2rem, 8.2vw, 8.2rem); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1, .hero h1 em { font-style: normal; font-weight: 900; }
.hero h1 em { color: var(--acid); }
.hero h1>span, .hero h1>em { display: inline-block; white-space: nowrap; }
html[lang="en"] .hero h1 { font-size: clamp(3.9rem, 7.2vw, 7.25rem); }
.hero-system { position: relative; aspect-ratio: 1; padding: 1.25rem; border: 1px solid rgba(255,255,255,.22); border-radius: 32px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 30px 80px rgba(0,0,0,.28); backdrop-filter: blur(8px); animation: rise .7s .18s both; }
.system-label, .system-status { position: absolute; z-index: 2; font-size: .78rem; font-weight: 700; letter-spacing: .09em; }
.system-label { top: 1.25rem; left: 1.25rem; color: #c3c8bf; }
.system-status { right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .45rem; }
.system-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.system-orbit { position: absolute; inset: 20%; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.system-orbit::before, .system-orbit::after { content: ""; position: absolute; inset: 20%; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.system-orbit::after { inset: 41%; background: var(--acid); border: 0; box-shadow: 0 0 30px rgba(189,255,38,.65); }
.system-orbit>span { position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; margin: -5px; border-radius: 50%; background: var(--white); transform-origin: 0 0; animation: orbit 8s linear infinite; }
.system-tags { position: absolute; inset: auto 1.25rem 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; padding-right: 70px; }
.system-tags span { padding: .45rem .68rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #dce1d6; font-size: .8rem; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 650px) minmax(260px, 360px); justify-content: space-between; align-items: end; gap: 2rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.5rem; }
.hero-bottom p { margin: 0; color: #c5c9c1; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.45rem; border-radius: 999px; background: var(--acid); color: var(--ink); font-size: 1rem; font-weight: 800; box-shadow: 0 10px 35px rgba(189,255,38,.18); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.cta:hover { transform: translateY(-4px); background: #ceff59; box-shadow: 0 16px 45px rgba(189,255,38,.3); }
.cta b { font-size: 1.4rem; }

.section { padding: clamp(5rem, 8vw, 8.5rem) var(--page-x); }
.section-heading { margin-bottom: clamp(2rem, 4vw, 3.5rem); color: var(--muted); }
.section-heading p { margin: 0; display: flex; align-items: center; gap: .7rem; }
.section-heading p::before { content: ""; width: 28px; height: 2px; background: var(--acid-deep); }
.services-intro, .about-grid, .process-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(3rem, 7vw, 8rem); align-items: end; }
.services-intro { margin-bottom: clamp(3rem, 5vw, 5rem); }
.services h2, .about h2, .process h2 { margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.6rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.services h2 { white-space: pre-line; }
.services-intro p, .about-copy>p, .process-intro>p { max-width: 38rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.65; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-list article { position: relative; min-height: 230px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-list article::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 50%; transition: transform .4s ease, background .4s ease; }
.service-list article:hover { transform: translateY(-6px); border-color: #aeb3a8; box-shadow: 0 24px 55px rgba(10,12,11,.09); }
.service-list article:hover::after { transform: scale(1.22); background: var(--acid); }
.service-mark { width: 38px; height: 8px; border-radius: 999px; background: var(--acid); box-shadow: 0 0 0 5px rgba(189,255,38,.16); }
.service-list h3 { position: relative; z-index: 1; max-width: 28rem; margin: 2.6rem 0 1.4rem; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.03; letter-spacing: -.045em; }
.service-list p { position: relative; z-index: 1; max-width: 29rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.about { position: relative; overflow: hidden; background: var(--paper-deep); }
.about::after { content: "J2-IA"; position: absolute; right: -1vw; bottom: -3.5vw; color: rgba(10,12,11,.035); font-size: clamp(8rem, 22vw, 22rem); font-weight: 900; letter-spacing: -.1em; pointer-events: none; }
.about-grid { position: relative; z-index: 1; align-items: start; }
.about h2 em { color: #777c73; font-style: normal; }
.about-copy { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgba(10,12,11,.13); border-radius: var(--radius); background: rgba(251,252,247,.48); backdrop-filter: blur(8px); }
.founders { margin-top: 2.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.founder { display: grid; justify-items: start; gap: .85rem; width: min(46%, 172px); }
.founder-photo { width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(10,12,11,.22); border-radius: 30px; background: var(--line); box-shadow: 0 15px 35px rgba(10,12,11,.1); transition: transform .3s ease, border-radius .3s ease, box-shadow .3s ease; }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder--jp .founder-photo img { object-position: center 38%; transform: scale(1.18); }
.founder-name { position: relative; padding-left: .25rem; font-size: .9rem; font-weight: 800; line-height: 1.35; }
.founder-name::after { content: "↗"; margin-left: .35rem; color: var(--muted); }
.founder-name small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.founder:hover .founder-photo { transform: translateY(-5px); border-radius: 50%; box-shadow: 0 22px 45px rgba(10,12,11,.16); }
.founders>i { align-self: flex-start; margin-top: 78px; color: var(--muted); font-style: normal; }

.process { background: var(--ink); color: var(--white); }
.process .section-heading { color: #9ba198; }
.process-intro { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.process h2 { color: var(--white); font-size: clamp(3rem, 4.2vw, 4.8rem); line-height: .95; }
.process h2 span { color: var(--acid); }
.process h2 em { color: var(--white); font-style: normal; }
.process-intro>p { color: #b8beb5; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.process-list article { position: relative; min-width: 0; min-height: 250px; padding: 1.75rem; border: 1px solid #30342f; border-radius: 20px; background: linear-gradient(145deg, #171a18, #111311); transition: transform .3s ease, border-color .3s ease; }
.process-list article::before { content: ""; display: block; width: 10px; height: 10px; margin-bottom: 4.5rem; border-radius: 50%; background: var(--acid); box-shadow: 0 0 15px rgba(189,255,38,.45); }
.process-list article:hover { transform: translateY(-5px); border-color: #62695f; }
.process-list h3 { min-height: 2.6rem; margin: 0 0 .85rem; font-size: 1.25rem; line-height: 1.2; }
.process-list p { margin: 0; color: #adb3aa; font-size: 1rem; line-height: 1.55; }

.contact { position: relative; isolation: isolate; padding: clamp(5rem, 8vw, 8rem) var(--page-x); overflow: hidden; background: var(--acid); }
.contact::after { content: ""; position: absolute; z-index: -1; right: -10vw; top: -25vw; width: 55vw; height: 55vw; border: clamp(35px, 5vw, 80px) solid rgba(255,255,255,.28); border-radius: 50%; }
.contact-kicker { margin: 0 0 2rem; font-size: .875rem; font-weight: 800; letter-spacing: .13em; }
.contact h2 { max-width: 1050px; margin: 0 0 2rem; font-size: clamp(3.4rem, 6vw, 6.2rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.contact-copy { max-width: 46rem; margin: 0 0 3rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.contact>a { max-width: 960px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 18px; background: var(--ink); color: var(--white); font-size: clamp(1rem, 2.5vw, 2rem); font-weight: 750; box-shadow: 0 18px 40px rgba(10,12,11,.18); transition: transform .25s ease, box-shadow .25s ease; }
.contact>a b { color: var(--acid); transition: transform .25s ease; }
.contact>a:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(10,12,11,.25); }
.contact>a:hover b { transform: translate(5px,-5px); }

.site-footer { min-height: 160px; padding: 2.5rem var(--page-x); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; background: var(--ink); color: var(--white); font-size: .8rem; }
.footer-brand .brand-domain { color: #a8aea5; }
.site-footer p { margin: 0; color: #a8aea5; letter-spacing: .1em; }
.site-footer>span { justify-self: end; color: #a8aea5; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(42%); } to { transform: rotate(360deg) translateX(42%); } }

@media (max-width: 1000px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; }
  .hero h1 { font-size: clamp(4rem, 9.5vw, 6.3rem); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .site-header { min-height: 68px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .header-actions { gap: .75rem; }
  .hero { min-height: auto; padding-top: 3rem; }
  .hero-stage { grid-template-columns: 1fr; padding: 4rem 0 3rem; }
  .hero h1 { font-size: clamp(3.8rem, 14vw, 6rem); }
  html[lang="en"] .hero h1 { font-size: clamp(3.2rem, 9.5vw, 5rem); }
  .hero-system { width: min(100%, 330px); justify-self: end; }
  .hero-bottom { grid-template-columns: 1fr; }
  .cta { width: min(100%, 380px); }
  .services-intro, .about-grid, .process-intro { grid-template-columns: 1fr; gap: 2rem; }
  .services h2, .about h2 { font-size: clamp(3.1rem, 11vw, 5.2rem); }
  .process h2 { font-size: clamp(3rem, 9vw, 4.4rem); }
  .service-list { grid-template-columns: 1fr; }
  .service-list article { min-height: 210px; }
  .about-copy { max-width: 620px; }
  .contact h2 { font-size: clamp(3.2rem, 11.5vw, 5.6rem); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 18px; }
  .brand-domain { font-size: .8rem; }
  .header-contact { display: none; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(3.25rem, 14.5vw, 4.6rem); overflow-wrap: anywhere; }
  html[lang="en"] .hero h1 { font-size: clamp(2.65rem, 10.5vw, 3.4rem); }
  .hero-system { width: 100%; border-radius: 24px; }
  .system-tags { padding-right: 0; bottom: 3.25rem; }
  .section, .contact { padding: 4.5rem 20px; }
  .services h2, .about h2 { font-size: clamp(2.75rem, 12vw, 3.7rem); overflow-wrap: anywhere; }
  .process h2 { font-size: clamp(2.65rem, 11vw, 3.4rem); overflow-wrap: anywhere; }
  .service-list article { min-height: 225px; }
  .about-copy { padding: 1.25rem; }
  .founders { gap: .7rem; }
  .founder { width: calc(50% - 18px); }
  .founder-photo { border-radius: 22px; }
  .founders>i { margin-top: 57px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list article { min-height: 215px; }
  .process-list article::before { margin-bottom: 3rem; }
  .contact h2 { font-size: clamp(2.8rem, 12vw, 3.8rem); overflow-wrap: anywhere; }
  .contact>a { padding: 1rem; font-size: .93rem; overflow-wrap: anywhere; }
  .site-footer { padding: 2rem 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
