/* ============================================================
   GL Revenue — Home (landing) styles. Builds on styles.css tokens.
   ============================================================ */

.home { font-family: var(--font-ui); color: var(--ink); }
.home em { font-style: normal; }
section { scroll-margin-top: 76px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.dark .kicker { color: #56c7d6; }
h2.sec-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; line-height: 1.08; margin: 12px 0 0; text-wrap: balance; }
.sec-sub { font-size: 16.5px; color: var(--ink-3); margin: 14px 0 0; max-width: 620px; line-height: 1.55; text-wrap: pretty; }

/* ---------- NAV ---------- */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; display: flex; align-items: center;
  transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
#nav.scrolled { background: oklch(0.99 0.004 95 / 0.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 1px 0 var(--line); }
#nav .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand-lock { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-lock .wm { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.brand-lock .wm span { color: var(--ink-3); font-weight: 500; }
#navlinks { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
#navlinks a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 13px; border-radius: 8px; transition: color .12s, background .12s; }
#navlinks a:hover { color: var(--ink); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.lang button { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 6px; color: var(--ink-3); }
.lang button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 600; font-size: 14px; border-radius: 10px; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .15s, filter .15s, background .15s; white-space: nowrap; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-md { padding: 12px 20px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 6px 18px oklch(0.50 0.095 222 / .32); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 9px 24px oklch(0.50 0.095 222 / .40); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-4); }
.btn-light { background: oklch(1 0 0 / .1); color: #fff; border: 1px solid oklch(1 0 0 / .22); }
.btn-light:hover { background: oklch(1 0 0 / .18); }

.burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; background:
    radial-gradient(900px 540px at 16% 0%, oklch(0.42 0.09 220 / .55), transparent 60%),
    radial-gradient(760px 620px at 96% 90%, oklch(0.40 0.10 200 / .42), transparent 58%),
    var(--graphite);
  color: var(--on-graphite); overflow: hidden; padding: 128px 0 0; }
.hero .grain { position: absolute; inset: 0; background-image: radial-gradient(oklch(1 0 0 / .22) .6px, transparent .6px); background-size: 26px 26px; opacity: .045; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 56px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--on-graphite-2); background: oklch(1 0 0 / .06); border: 1px solid oklch(1 0 0 / .12); padding: 7px 13px; border-radius: 99px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.7vw, 60px); line-height: 1.02; letter-spacing: -0.03em; color: #fff; margin: 22px 0 0; text-wrap: balance; }
.hero h1 em { background: linear-gradient(100deg, #56c7d6, #8fe3d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 17.5px; line-height: 1.55; color: var(--on-graphite-2); margin: 22px 0 0; max-width: 540px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-badge { margin-top: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--on-graphite-2); letter-spacing: 0.02em; }

/* photo */
.hero-photo { position: relative; }
.hero-photo .frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid oklch(1 0 0 / .14); box-shadow: 0 30px 70px oklch(0 0 0 / .5); aspect-ratio: 1/1.02; background: var(--graphite-2); }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-photo .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.22 0.014 285 / .55), transparent 42%); }
.photo-tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; }
.photo-tag .nm { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; }
.photo-tag .rl { font-size: 12px; color: oklch(1 0 0 / .8); margin-top: 2px; }
.photo-float { position: absolute; top: 22px; right: -16px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px; }
.photo-float .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.photo-float .v { font-family: var(--font-mono); font-weight: 700; font-size: 16px; line-height: 1; }
.photo-float .l { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }

/* stats bar */
.stats { margin-top: 88px; border-top: 1px solid oklch(1 0 0 / .12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 8px 30px; border-right: 1px solid oklch(1 0 0 / .1); }
.stat:last-child { border-right: none; }
.stat .v { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; color: #fff; }
.stat .v em { color: #56c7d6; font-style: normal; }
.stat .l { font-size: 13px; color: var(--on-graphite-2); margin-top: 5px; }
.stats-note { font-family: var(--font-mono); font-size: 10.5px; color: oklch(1 0 0 / .4); text-align: right; padding: 9px 0 18px; }

/* ---------- generic light section ---------- */
.sec { padding: 92px 0; }
.sec.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 48px; }

/* value props */
.value-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.value-body { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.value-points { display: flex; flex-direction: column; gap: 4px; }
.vp { display: flex; gap: 15px; padding: 18px; border-radius: 14px; transition: background .15s; }
.vp:hover { background: var(--surface-2); }
.vp .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.vp .t { font-weight: 700; font-size: 15.5px; }
.vp .b { font-size: 14px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 24px; transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); opacity: 0; transition: opacity .18s; }
.svc:hover::before { opacity: 1; }
.svc .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px oklch(0.50 0.095 222 / .28); }
.svc .tag { position: absolute; top: 26px; right: 22px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 9px; border-radius: 99px; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 18px 0 0; }
.svc p { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; margin: 9px 0 0; text-wrap: pretty; }

/* approach */
.appr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.appr { display: flex; gap: 17px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.appr .n { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--accent); width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; }
.appr h3 { font-weight: 700; font-size: 16px; margin: 4px 0 0; }
.appr p { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin: 7px 0 0; text-wrap: pretty; }
.appr.span2 { grid-column: 1 / -1; background: var(--graphite); border-color: var(--graphite-line); color: var(--on-graphite); }
.appr.span2 h3 { color: #fff; }
.appr.span2 p { color: var(--on-graphite-2); }
.appr.span2 .n { background: oklch(1 0 0 / .08); color: #56c7d6; }

/* about */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 52px; align-items: center; }
.about-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 1/1.05; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; margin: 12px 0 2px; }
.about .role { font-size: 14.5px; color: var(--accent); font-weight: 600; }
.about p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 16px 0 0; text-wrap: pretty; }
.specs { margin-top: 24px; }
.specs .lbl { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 99px; }

/* clients */
.clients { padding: 54px 0; background: var(--paper-sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .lbl { text-align: center; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.client-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; margin-top: 26px; }
.client { display: flex; align-items: center; gap: 10px; color: var(--ink-4); text-decoration: none; filter: grayscale(1); opacity: .72; transition: opacity .15s ease, filter .15s ease; }
.client:hover { opacity: 1; filter: grayscale(.2); }
.client .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--ink-4); display: grid; place-items: center; color: var(--paper-sunk); font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.client .nm { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.clients .note { text-align: center; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); margin-top: 22px; }

/* platform teaser */
.platform { background: var(--graphite); color: var(--on-graphite); position: relative; overflow: hidden; }
.platform .glow { position: absolute; inset: 0; background: radial-gradient(700px 460px at 88% 10%, oklch(0.42 0.09 210 / .42), transparent 60%); pointer-events: none; }
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; }
.platform h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px,3.2vw,38px); letter-spacing: -0.025em; color: #fff; margin: 12px 0 0; line-height: 1.1; }
.platform p { font-size: 16.5px; color: var(--on-graphite-2); line-height: 1.6; margin: 16px 0 0; max-width: 480px; text-wrap: pretty; }
.plat-feats { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.plat-feats li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--on-graphite); }
.plat-feats .ic { width: 28px; height: 28px; border-radius: 8px; background: oklch(1 0 0 / .07); border: 1px solid oklch(1 0 0 / .12); color: #5fd0db; display: grid; place-items: center; flex-shrink: 0; }
.plat-mock { border-radius: 16px; overflow: hidden; border: 1px solid var(--graphite-line); box-shadow: 0 30px 70px oklch(0 0 0 / .5); background: var(--surface); }
.plat-mock .bar { height: 34px; background: var(--graphite-2); display: flex; align-items: center; gap: 6px; padding: 0 13px; border-bottom: 1px solid var(--graphite-line); }
.plat-mock .bar i { width: 9px; height: 9px; border-radius: 99px; background: var(--graphite-line); }
.plat-mock .shot { padding: 0; }
.plat-mock .shot img { width: 100%; height: auto; display: block; }
.plat-fig { margin: 0; }
.plat-caption { margin-top: 14px; }
.plat-caption p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-graphite-2); text-wrap: pretty; }
.plat-caption-note { margin-top: 5px !important; font-size: 12px !important; opacity: .72; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-left h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px,3.4vw,40px); letter-spacing: -0.025em; line-height: 1.08; margin: 12px 0 0; text-wrap: balance; }
.contact-left .sub { font-size: 16.5px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.55; text-wrap: pretty; }
.call-card { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: var(--graphite); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.call-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.call-card .ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(140deg, var(--accent-2), var(--accent)); display: grid; place-items: center; flex-shrink: 0; }
.call-card .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.call-card .b { font-size: 13px; color: var(--on-graphite-2); margin-top: 2px; }
.call-card .arrow { margin-left: auto; color: var(--on-graphite-2); }
.direct { margin-top: 26px; }
.direct .or { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.direct-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.direct-row a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .12s, border-color .12s, color .12s; }
.direct-row a:hover { background: var(--surface-2); border-color: var(--ink-4); color: var(--ink); }
.direct-row a .ic { color: var(--accent); display: grid; place-items: center; }

/* form */
.form-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { margin-bottom: 15px; }
.fld label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.fld input, .fld textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: var(--font-ui); color: var(--ink); background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3.5px var(--accent-soft); }
.form-box .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.form-ok { display: none; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--pos-soft); color: var(--pos); font-weight: 600; font-size: 14px; }
.form-err { padding: 12px 14px; border-radius: 12px; background: var(--neg-soft); color: var(--neg); font-weight: 600; font-size: 13.5px; }

/* footer */
.foot { background: var(--graphite); color: var(--on-graphite-2); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .wm { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; }
.foot .wm span { color: var(--on-graphite-2); font-weight: 500; }
.foot .tag { font-size: 13.5px; line-height: 1.5; margin-top: 14px; max-width: 300px; }
.foot h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-graphite-2); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot a { color: var(--on-graphite); text-decoration: none; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--graphite-line); display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12.5px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 940px) {
  .hero-grid, .value-grid, .about-grid, .plat-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-photo { max-width: 380px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid oklch(1 0 0 / .1); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  #navlinks { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px; transform: translateY(-130%); transition: transform .25s; box-shadow: var(--shadow-md); }
  #navlinks.open { transform: none; }
  #navlinks a { padding: 13px; }
  .nav-desk { display: none; }
  .burger { display: flex; }
  .svc-grid, .appr-grid, .frow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
}
