/* LT Automation – static site styles */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --cyan: #00aeef;
  --cyan-dark: #0079a8;
  --cyan-deep: #005f85;
  --green: #a6ce39;
  --ink: #1b2228;
  --text: #3d4650;
  --muted: #6b7580;
  --line: #e3e7eb;
  --bg-soft: #f4f6f8;
  --dark: #12181d;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); font-size: 17px; line-height: 1.7; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); }
a:hover { color: var(--cyan); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
h5 { font-size: 1.05rem; margin-top: 1.6em; }
p, ul { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Top bar + header */
.topbar { background: #f2f2f2; color: #828282; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 22px; align-items: center; min-height: 36px; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #828282; text-decoration: none; }
.topbar a:hover { color: var(--cyan-dark); }
.topbar .social { display: flex; gap: 12px; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { width: 230px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cyan-dark); background: var(--bg-soft); }
.nav .lang { border: 1px solid var(--line); margin-left: 8px; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-block; background: var(--cyan-dark); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 26px; border-radius: var(--radius); transition: background .15s; }
.btn:hover { background: var(--cyan-deep); color: #fff; }
.btn-ghost { background: transparent; border: 2px solid currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green); color: var(--ink); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--dark) center/cover no-repeat; min-height: 560px; display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,20,.15) 0%, rgba(10,15,20,.75) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 80px; width: 100%; }
.hero h1 { color: #fff; text-transform: uppercase; max-width: 16ch; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 40ch; margin: 0; color: #e6ecf0; }
.hero .eyebrow { color: var(--green); }
.hero-sm { min-height: 380px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.intro h2 { position: relative; padding-top: 22px; }
.intro h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; background: var(--cyan); }
.lead { font-size: 1.2rem; color: var(--ink); }

/* Case rows */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06); }
.case:nth-child(even) .case-img { order: 2; }
.case-img { min-height: 340px; background: #ccc center/cover no-repeat; }
.case-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.case-body .btn { align-self: flex-start; margin-top: 8px; }

/* Card grid (cases overview, related) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); color: inherit; }
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { font-size: 1.2rem; }
.card-more { color: var(--cyan-dark); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* CTA band */
.cta-band { background: var(--cyan-dark); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta-band p { margin: 0; font-size: 1.2rem; font-weight: 600; max-width: 52ch; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 24px; align-items: center; }
.logos img { width: 100%; max-width: 170px; margin: 0 auto; opacity: .6; transition: opacity .15s; }
.logos img:hover { opacity: 1; }
.logos-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.logos + .logos-title { margin-top: 56px; }

/* Contact band */
.contact-band { background: #f2f2f2 !important; color: var(--text); text-align: center; }

.contact-band .wrap { position: relative; padding-top: 88px; padding-bottom: 88px; }
.contact-band h2 { color: var(--ink); font-weight: 600; }
.contact-band a:not(.btn) { color: var(--cyan-dark); }

/* Article / prose */
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--cyan); }
.prose h4 { margin-top: 2em; }
.breadcrumbs { font-size: 13px; color: #c9d1d8; margin-bottom: 14px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
blockquote { margin: 0 0 40px; padding: 28px 32px; border-left: 4px solid var(--green); background: var(--bg-soft); font-size: 1.2rem; font-style: italic; color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote cite { display: block; margin-top: 14px; font-size: .85rem; font-style: normal; font-weight: 600; color: var(--muted); }

/* Video (click-to-load, no cookies before click) */
.video { position: relative; aspect-ratio: 16/9; background: #000 center/cover no-repeat; border: 0; padding: 0; width: 100%; cursor: pointer; border-radius: var(--radius); overflow: hidden; margin: 40px 0; display: block; }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .15s; }
.video:hover::after { background: rgba(0,0,0,.1); }
.video .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
.video .play::before { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.video .note { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 12px; color: #fff; background: rgba(0,0,0,.55); text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Product page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.figure-box { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; }
.download { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); margin-top: 28px; }
.download:hover { border-color: var(--cyan); color: var(--ink); }
.download .icon { flex: none; width: 48px; height: 56px; border-radius: 4px; background: var(--cyan); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.download small { display: block; color: var(--muted); }

/* Contact page */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); gap: 28px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person img { width: 100%; aspect-ratio: 358/440; object-fit: cover; }
.person div { padding: 22px 24px 26px; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.info-grid h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }

/* Event page */
.notice { background: #fff7e0; border: 1px solid #f1d98a; color: #6b5310; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 36px; font-size: 15px; }
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.speaker { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.speaker img.face { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.speaker img.org { height: 26px; width: auto; margin-bottom: 8px; }
.speaker p { margin: 0; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: 4px; }
.gallery img { aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }

/* Footer */
.site-footer { background: #fff; color: #666; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h3 { color: var(--ink); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: var(--cyan-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .logo { width: 200px; margin-bottom: 18px; }
.site-footer p { margin: 0 0 .4em; }
.site-footer .social { display: flex; gap: 14px; margin-top: 10px; }
.site-footer .social a { color: #828282; }
.site-footer .social a:hover { color: var(--cyan-dark); }
.site-footer .social svg { width: 24px; height: 24px; fill: currentColor; }
.copyright { background: #f2f2f2; color: #828282; font-size: 13px; border-bottom: 5px solid; border-image: linear-gradient(90deg, var(--cyan) 50%, var(--green) 50%) 1; }
.copyright .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; grid-template-columns: none; }

@media (max-width: 900px) {
  .nav { flex-wrap: nowrap; gap: 2px; }
  .nav a { padding: 8px 9px; letter-spacing: .05em; }
  .brand img { width: 190px; }
  body { font-size: 16px; }
  .intro, .split, .case { grid-template-columns: 1fr; gap: 28px; }
  .case:nth-child(even) .case-img { order: 0; }
  .case-img { min-height: 240px; }
  .case-body { padding: 32px 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 460px; }
}
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .site-header { position: static; }
  .brand img { width: 190px; }
  .nav { flex-wrap: nowrap; gap: 2px; }
  .nav a { padding: 8px 8px; font-size: 12.5px; letter-spacing: .04em; }
  .nav .lang { margin-left: 4px; padding: 6px 9px; }
  .topbar { display: none; }
  .copyright .wrap { flex-direction: column; }
}

/* Front-page background video (added by site.js on larger screens only) */
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { z-index: 1; }
.hero .wrap { z-index: 2; }
