/* Kodvy.lt – dark technical theme. Bootstrap runs in its dark mode (data-bs-theme="dark" on <html>). */
:root {
    --bg: #070a12;
    --surface: rgba(16, 21, 36, .78);
    --surface-solid: #0e1322;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(110, 168, 255, .45);
    --text: #e8ecf5;
    --muted: #8f9bb3;
    --accent: #6ea8ff;
    --ok: #7ef0c1;
    --radius: 16px;
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    /* Names kept from the light theme, so older markup keeps working */
    --ink: var(--text);
    --soft: rgba(255, 255, 255, .04);
    --blue: var(--accent);
}
[data-bs-theme="dark"] {
    --bs-body-bg: #070a12;
    --bs-body-color: #e8ecf5;
    --bs-secondary-color: #8f9bb3;
    --bs-border-color: rgba(255, 255, 255, .09);
    --bs-link-color-rgb: 110, 168, 255;
    --bs-link-hover-color-rgb: 156, 195, 255;
}
@media (min-width: 1200px) { .container { max-width: 1100px; } }
/* Nothing may widen the page: on phones a wider document shows as an empty strip on the right */
html { scroll-padding-top: 96px; scroll-behavior: smooth; overflow-x: clip; max-width: 100%; background: var(--bg); }
body { font-family: var(--sans); color: var(--text); letter-spacing: -0.01em; overflow-x: hidden; -webkit-font-smoothing: antialiased;
    background: radial-gradient(ellipse 90% 60vh at 75% 0%, #13224a 0%, rgba(7, 10, 18, 0) 70%) no-repeat var(--bg); }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 800; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section, .site-footer { position: relative; z-index: 1; }
.text-muted { color: var(--muted) !important; }

/* 3D layer of the home page (assets/js/scene.js) */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Navbar: a full width bar */
.site-nav { position: sticky; top: 0; z-index: 1030; padding: .6rem 0; border-bottom: 1px solid var(--line);
    background: rgba(7, 10, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand span { color: var(--accent); }
.site-nav .navbar-toggler { place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--text); font-size: 1.1rem; transition: border-color .2s, background .2s; }
.site-nav .navbar-toggler:focus { box-shadow: none; }
/* Open menu: the bars become a cross */
.site-nav .navbar-toggler[aria-expanded="true"] { border-color: var(--line-strong); background: rgba(110, 168, 255, .12); }
.site-nav .navbar-toggler[aria-expanded="true"] .fa-bars::before { content: '\f00d'; }
.nav-icon { display: none; }
.site-nav .nav-link { color: var(--muted); font-family: var(--sans); font-size: .93rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: color .15s; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus, .site-nav .nav-link.show { color: var(--text); }
@media (min-width: 1200px) { .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }
/* Desktop menu: a line grows under the name on hover */
@media (min-width: 1200px) {
    .site-nav .nav-link span { position: relative; display: inline-block; }
    .site-nav .nav-link span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
    .site-nav .nav-link:hover span::after, .site-nav .nav-link:focus-visible span::after, .site-nav .dropdown:hover > .nav-link span::after { transform: scaleX(1); }
}
/* Phone and tablet menu: plain rows in the page font with an arrow (no icons) */
@media (max-width: 1199.98px) {
    .site-nav .navbar-toggler { display: grid; }
    .site-nav .navbar-collapse { margin: .55rem 0 0; padding: .5rem 0 .6rem; border-top: 1px solid var(--line); }
    .site-nav .navbar-nav { gap: 0; }
    .site-nav .nav-link { display: flex; align-items: center; gap: .9rem; padding: .75rem .5rem; border-radius: 10px; color: var(--text); font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; text-transform: none; }
    .site-nav .nav-link:hover, .site-nav .nav-link:active, .site-nav .nav-link.show { background: rgba(110, 168, 255, .08); }
    /* Arrow on the right; the services row keeps Bootstrap's caret there instead */
    .site-nav .nav-link:not(.dropdown-toggle)::after { content: ''; width: 7px; height: 7px; margin-left: auto; margin-right: .5rem; border: solid var(--muted); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
    .site-nav .nav-link.dropdown-toggle::after { margin-left: auto; margin-right: .45rem; color: var(--muted); transition: transform .2s; }
    .site-nav .nav-link.dropdown-toggle.show::after { transform: rotate(180deg); }
    .site-nav .dropdown-menu { margin: .1rem 0 .4rem .6rem; padding: .2rem 0 .2rem .9rem; border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; background: none; box-shadow: none; }
    .site-nav .dropdown-item { padding: .5rem .6rem; color: var(--muted); font-size: .9rem; }
    .site-nav .btn-beam { display: flex; justify-content: center; margin: .8rem .5rem 0; padding: .85rem 1.3rem; font-size: .95rem; }
    /* Rows slide in one after another when the menu opens */
    .site-nav .navbar-collapse.show .nav-item, .site-nav .navbar-collapse.collapsing .nav-item { animation: navRowIn .4s both; }
    .site-nav .nav-item:nth-child(2) { animation-delay: .04s; }
    .site-nav .nav-item:nth-child(3) { animation-delay: .08s; }
    .site-nav .nav-item:nth-child(4) { animation-delay: .12s; }
    .site-nav .nav-item:nth-child(5) { animation-delay: .16s; }
    .site-nav .nav-item:nth-child(6) { animation-delay: .2s; }
    .site-nav .nav-item:nth-child(7) { animation-delay: .24s; }
}
@keyframes navRowIn { from { opacity: 0; transform: translateY(-8px); } }
.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; padding: .5rem; background: var(--surface-solid); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.dropdown-item { border-radius: 10px; padding: .55rem .9rem; font-weight: 500; font-size: .92rem; color: var(--text); }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(110, 168, 255, .12); color: var(--text); }

/* Header button: a light runs around its border */
@property --beam-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-beam { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1.3rem; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(255, 255, 255, .03); color: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap;
    box-shadow: inset 0 -8px 12px rgba(110, 168, 255, .14); transition: transform .15s, box-shadow .15s; }
.btn-beam::before { content: ''; position: absolute; inset: -1px; z-index: -1; padding: 1.5px; border-radius: inherit; pointer-events: none;
    background: conic-gradient(from var(--beam-angle), transparent 0 68%, #6ea8ff 84%, #7ef0c1 94%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: beamTurn 3.2s linear infinite; }
.btn-beam:hover { color: #fff; transform: scale(1.04); box-shadow: inset 0 -6px 14px rgba(110, 168, 255, .32); }
.btn-beam:active { transform: scale(.97); }
.btn-beam i { font-size: .75rem; }
@keyframes beamTurn { to { --beam-angle: 360deg; } }

/* Buttons */
.btn-dark-pill, .btn-dark-lg { background: #fff; color: #070a12; border: 1px solid #fff; border-radius: 10px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.btn-dark-pill { padding: .45rem 1.1rem; font-size: .9rem; white-space: nowrap; }
.btn-dark-lg { padding: .72rem 1.5rem; font-size: .95rem; }
.btn-dark-pill:hover, .btn-dark-lg:hover, .btn-dark-lg:focus { background: #fff; color: #070a12; border-color: #fff; transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(110, 168, 255, .25), 0 18px 40px -16px rgba(110, 168, 255, .8); }
.btn-dark-lg:disabled { background: #fff; color: #070a12; opacity: .7; }
.btn-light-lg { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: .72rem 1.4rem; font-size: .95rem; font-weight: 700; color: var(--text); transition: transform .2s, border-color .2s, background .2s; }
.btn-light-lg:hover, .btn-light-lg:focus { background: rgba(110, 168, 255, .1); border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }

/* Small monospace label above headings, like a code comment */
.pill-badge { display: inline-block; color: var(--muted); font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .02em; text-transform: lowercase; }
.pill-badge::before { content: '//'; margin-right: .55rem; color: var(--accent); }

/* Hero */
.hero { padding: 1.5rem 0 2.5rem; }
.hero .row { min-height: calc(100vh - 16rem); min-height: calc(100svh - 16rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.1rem, 3.5vw, 3.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; margin: 1rem 0 1.1rem; }
.hero-title span { display: block; text-wrap: balance; background: linear-gradient(90deg, #9cc3ff 0%, #6ea8ff 45%, #7ef0c1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 30rem; margin-bottom: 1.7rem; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.hero-perks { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0; font-size: .88rem; }
.hero-perks li { display: flex; align-items: center; gap: .5rem; }
.hero-perks i { color: var(--ok); }
/* The 3D model is drawn over this empty block */
.hero-stage { position: relative; height: 58vh; min-height: 340px; }
.hero-stage::before { content: ''; position: absolute; inset: -12% -18%; pointer-events: none; filter: blur(20px);
    background: radial-gradient(closest-side, rgba(110, 168, 255, .2), rgba(110, 168, 255, .07) 55%, rgba(110, 168, 255, 0) 100%); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.facts > div { padding: 1.2rem 1.4rem; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.facts dd { margin: 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 991.98px) {
    .hero .row { min-height: 0; }
    .hero-stage { height: 42vh; height: 42svh; min-height: 270px; }
    .facts { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
    .facts > div:nth-child(3) { border-left: 0; }
    .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.promo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; padding: 1.8rem 2rem; border: 1px solid var(--line-strong); border-radius: 20px;
    background: radial-gradient(ellipse 80% 140% at 100% 0%, rgba(110, 168, 255, .2) 0%, rgba(16, 21, 36, .88) 60%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.promo-banner h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .3rem; }
.promo-banner p { margin: 0; color: var(--muted); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: none; }
.section-head { max-width: 42rem; margin: 0 0 2.4rem; }
.section-head h2, #about h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .9rem 0 .7rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* Panels that lean towards the pointer; --rx / --ry are set in main.js */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out, border-color .25s, box-shadow .25s; will-change: transform; }
.tilt:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(110, 168, 255, .6); }

/* "Why us" cards */
.card-soft, .spec { height: 100%; padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spec-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .8rem; transform-style: preserve-3d; }
.spec-icon { width: 88px; height: 88px; margin: -.5rem 0 0 -.5rem; filter: drop-shadow(0 14px 22px rgba(110, 168, 255, .35)); transform: translateZ(50px); }
.spec-key { display: inline-block; padding: .2rem .6rem; border: 1px solid rgba(110, 168, 255, .35); border-radius: 6px; background: rgba(110, 168, 255, .1); color: var(--accent); font-family: var(--mono); font-size: .72rem; transform: translateZ(30px); }
.card-soft h3, .spec h3 { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; transform: translateZ(18px); }
.card-soft p, .spec p { margin: 0; color: var(--muted); font-size: .94rem; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: rgba(110, 168, 255, .12); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1.2rem; }

/* Process: four steps on one line */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.pipeline li { position: relative; padding: 1.5rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pipeline-step { display: block; margin-bottom: 1.6rem; color: var(--accent); font-family: var(--mono); font-size: .85rem; font-weight: 700; transform: translateZ(30px); }
.pipeline li::before { content: ''; position: absolute; top: 3.4rem; left: 1.3rem; right: -1rem; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(110, 168, 255, .15)); }
.pipeline li:last-child::before { right: 1.3rem; }
.pipeline li::after { content: ''; position: absolute; top: calc(3.4rem - 4px); left: 1.3rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(110, 168, 255, .2); }
.pipeline h3 { margin: 1.2rem 0 .5rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.pipeline p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 991.98px) { .pipeline { grid-template-columns: repeat(2, 1fr); } .pipeline li::before { right: 1.3rem; } }
.step { padding: 1rem .5rem; }
.step-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #070a12; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

/* Home: works shown on a laptop. The laptop is a picture with an empty screen, the real site screenshot is laid over it. */
#works { overflow-x: clip; }
.showcase { margin: 0; perspective: 1400px; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.showcase-tab { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--muted); font-family: var(--mono); font-size: .8rem; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.showcase-tab:hover { color: var(--text); border-color: var(--line-strong); }
.showcase-tab.active { color: #070a12; background: #fff; border-color: #fff; font-weight: 700; }
.showcase-scene { position: relative; max-width: 1100px; margin: 0 auto;
    -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 48%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 70% at 50% 48%, #000 62%, transparent 100%);
    transform: rotateX(calc(var(--lean, 0) * 18deg)) scale(calc(1 - var(--lean, 0) * .08)); transform-origin: 50% 100%; will-change: transform; }
.showcase-device { display: block; width: 100%; height: auto; }
/* Position of the empty screen inside laptop-scene.jpg, measured from the picture itself */
.showcase-screen { position: absolute; left: 18.625%; top: 12.331%; width: 63.125%; height: 62.62%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .45s; }
.showcase-screen.active { opacity: 1; }
.showcase-caption { display: none; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 1.2rem; margin-top: .4rem; text-align: center; }
.showcase-caption.active { display: flex; }
.showcase-caption strong { font-size: 1.1rem; }
.showcase-caption a { color: var(--accent); font-weight: 600; font-size: .95rem; }
.showcase-caption a:hover { color: #fff; }
@media (max-width: 575.98px) { .showcase-scene { width: 130%; max-width: none; margin-left: -15%; } }

/* Cards: articles, products, works */
.article-card { display: block; height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s, box-shadow .2s, border-color .2s; }
.article-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(110, 168, 255, .6); color: var(--text); }
.article-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.article-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-solid); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-tag { padding: .22rem .6rem; border: 1px solid rgba(110, 168, 255, .35); border-radius: 6px; background: rgba(110, 168, 255, .1); color: var(--accent); font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.article-card h3 { font-size: 1.2rem; font-weight: 700; margin: 1rem 0 .6rem; }
.article-card p { color: var(--muted); }
.article-more { font-weight: 600; font-size: .95rem; color: var(--accent); }
.article-meta { display: flex; gap: 1.2rem; color: var(--muted); font-size: .85rem; margin-top: 1.1rem; }
.product-promo h3 { font-size: 1.1rem; }

.stat { height: 100%; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat strong { display: block; font-size: 2.2rem; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: .95rem; }
.about-text { max-width: 46rem; color: var(--muted); font-size: 1.1rem; }

.faq { max-width: none; }
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; background: var(--surface); }
.faq .accordion-button { font-weight: 600; font-size: 1.05rem; background: none; color: var(--text); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--text); background: rgba(110, 168, 255, .08); }
.faq .accordion-body { color: var(--muted); }

/* Contact */
.contact-box { padding: 3.2rem; border: 1px solid var(--line-strong); border-radius: 22px; color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(110, 168, 255, .22) 0%, rgba(16, 21, 36, .92) 60%); }
.contact-box h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact-box p { color: var(--muted); }
.contact-list li { margin-bottom: .8rem; }
.contact-list i { width: 1.6rem; color: var(--accent); }
.contact-box .form-control, .contact-box .form-select { background-color: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 10px; padding: .85rem 1rem; }
.contact-box .form-control::placeholder { color: #7f8aa3; }
.contact-box .form-control:focus, .contact-box .form-select:focus { background-color: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(110, 168, 255, .28); border-color: var(--accent); color: #fff; }
.contact-box .form-select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236ea8ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.contact-box .form-select:has(option[value=""]:checked) { color: #7f8aa3; }
.contact-box .form-select option { background: #151a2b; color: #fff; }
.contact-box .form-control.is-invalid { border-color: #ff8f8f; background-image: none; }
.field-error { min-height: 0; margin-top: .35rem; font-size: .85rem; color: #ffb3b3; }
.form-status { font-weight: 500; }
.form-status.success { padding: .9rem 1.1rem; border-radius: 12px; background: rgba(126, 240, 193, .12); color: #a8f0c6; }
.form-status.error { padding: .9rem 1.1rem; border-radius: 12px; background: rgba(255, 140, 140, .15); color: #ffc2c2; }

/* Custom checkbox */
.consent { display: flex; align-items: center; gap: .7rem; font-size: .9rem; line-height: 1.45; color: #c9d0e0; cursor: pointer; }
.consent a { color: var(--accent); text-decoration: underline; }
.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 1.4rem; height: 1.4rem; margin-top: .1rem; border: 2px solid rgba(255, 255, 255, .35); border-radius: 7px; background: rgba(255, 255, 255, .08); cursor: pointer; display: grid; place-items: center; transition: background .15s, border-color .15s, box-shadow .15s; }
.consent input[type="checkbox"]::after { content: ''; width: .4rem; height: .75rem; border: solid #070a12; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.consent input[type="checkbox"]:hover { border-color: var(--accent); }
.consent input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.consent input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(110, 168, 255, .35); }
.consent input[type="checkbox"].is-invalid { border-color: #ff8f8f; }
.consent-light { color: #c9d0e0; }

/* Footer */
.site-footer { margin-top: 2rem; padding: 4rem 0 1.5rem; border-top: 1px solid var(--line); background: rgba(7, 10, 18, .82); }
.footer-text { color: var(--muted); max-width: 22rem; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.footer-social a:hover { background: #fff; border-color: #fff; color: #070a12; }
.site-footer h6 { margin-bottom: 1rem; color: var(--muted); font-family: var(--mono); font-size: .78rem; font-weight: 500; text-transform: lowercase; }
.footer-links li { margin-bottom: .55rem; color: var(--muted); }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-links i { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }
.site-footer a[data-cookie-settings] { cursor: pointer; }

/* Pricing */
.price-card { display: flex; flex-direction: column; padding: 2rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.price-card.featured { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(110, 168, 255, .16) 0%, rgba(16, 21, 36, .85) 55%); box-shadow: 0 30px 80px -40px rgba(110, 168, 255, .7); }
.price-card h3 { font-size: 1.2rem; }
.price-text { color: var(--muted); min-height: 3rem; font-size: .92rem; }
.price { margin: .5rem 0 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.price-features { flex: 1; margin-bottom: 1.6rem; }
.price-features li { position: relative; padding: .35rem 0 .35rem 1.5rem; font-size: .92rem; }
.price-features i { position: absolute; left: 0; top: .68rem; color: var(--ok); font-size: .78rem; }

/* Inner pages */
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 1rem auto .8rem; max-width: 44rem; }
.page-hero p { color: var(--muted); font-size: 1.1rem; }
.featured-article { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); transition: box-shadow .2s, border-color .2s; }
.featured-article:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(110, 168, 255, .6); color: var(--text); }
.featured-visual { display: grid; place-items: center; min-height: 260px; font-size: 4rem; color: #fff; background: linear-gradient(145deg, #1d3a78, #6ea8ff); }
.featured-body { padding: 2.5rem; }
.featured-body h2 { font-size: 1.8rem; margin: 1rem 0 .7rem; }
.featured-body p { color: var(--muted); }
.back-link { color: var(--muted); font-size: .9rem; font-weight: 500; }
.back-link:hover { color: var(--text); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: #c3cbdd; }
.article-body > p:first-child { font-size: 1.2rem; color: var(--text); }
.article-body h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; color: var(--text); }
.article-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; color: var(--text); }
.article-body ul { padding-left: 1.2rem; }
.article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .4rem; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--text); }
.article-lead { font-size: 1.25rem; color: var(--text); font-weight: 500; }
.side-cta { position: sticky; top: 110px; padding: 1.8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: radial-gradient(ellipse 90% 120% at 100% 0%, rgba(110, 168, 255, .18) 0%, rgba(16, 21, 36, .9) 60%); }
.side-cta h3 { font-size: 1.25rem; }
.side-cta p { color: var(--muted); }
.side-cta i { color: var(--accent); }
.side-cta .btn i { color: inherit; }
.related-title { font-size: 1.6rem; margin: 4rem 0 1.5rem; }
@media (max-width: 767px) { .featured-article { grid-template-columns: 1fr; } .featured-visual { min-height: 140px; } .featured-body { padding: 1.5rem; } }
.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { color: #fff; }
.category-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.category-filter a { padding: .45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .9rem; font-weight: 500; background: rgba(255, 255, 255, .03); }
.category-filter a:hover { border-color: var(--line-strong); }
.category-filter a.active { background: #fff; color: #070a12; border-color: #fff; }
.category-filter .count { display: inline-block; min-width: 1.4rem; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: .78rem; font-weight: 600; text-align: center; }
.category-filter a.active .count { background: rgba(7, 10, 18, .12); color: #070a12; }
.pagination-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination-nav a { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 600; background: rgba(255, 255, 255, .03); }
.pagination-nav a:hover { border-color: var(--line-strong); }
.pagination-nav a.active { background: #fff; border-color: #fff; color: #070a12; }
.article-cover { max-width: 900px; margin: 0 auto 3rem; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Article header, author and sharing */
.article-header { padding: 1.8rem 0 3.5rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2rem; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-size: .6rem; }
.crumbs span { color: var(--text); font-weight: 500; }
.article-header h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 1.1rem 0 1rem; }
.article-header-lead { font-size: 1.1rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.6rem; }
.article-byline { display: flex; align-items: center; gap: .85rem; }
.article-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.article-byline strong { display: block; font-size: .98rem; }
.article-byline span { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
.article-header-image { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(110, 168, 255, .55); }
.article-header-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-author { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding: .4rem 1.1rem .4rem .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-align: left; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.article-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-author small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-label { font-weight: 600; margin-right: .3rem; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text); font-size: .9rem; font-weight: 500; cursor: pointer; }
.share-btn:hover { border-color: var(--line-strong); color: var(--text); }
.share-btn.copied { background: rgba(126, 240, 193, .12); border-color: rgba(126, 240, 193, .5); color: var(--ok); }

/* Rating */
.rating-box { margin-top: 2.5rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.rating-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.rating-options { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.rating-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 500; cursor: pointer; transition: transform .15s, border-color .15s; }
.rating-btn i { font-size: 1.3rem; color: var(--accent); }
.rating-btn b { font-size: .8rem; color: var(--muted); background: rgba(255, 255, 255, .08); border-radius: 999px; padding: .1rem .5rem; }
.rating-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.rating-btn.selected { background: #fff; color: #070a12; border-color: #fff; }
.rating-btn.selected i { color: #070a12; }
.rating-btn.selected b { background: rgba(7, 10, 18, .12); color: #070a12; }
.rating-thanks { margin: 1rem 0 0; color: var(--ok); font-weight: 500; }

/* Intro with audio: the ring, bars and glow around the avatar follow the real sound (main.js) */
.intro-section { padding: 1rem 0 0; }
.intro-card { position: relative; overflow: hidden; padding: 1.8rem 2rem; border: 1px solid var(--line-strong); border-radius: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    background: radial-gradient(ellipse 70% 160% at 0% 50%, rgba(110, 168, 255, .2) 0%, rgba(16, 21, 36, .9) 62%); }
.intro-glow { display: none; }
.intro-top { position: relative; display: flex; align-items: center; gap: 2rem; }
.intro-avatar-wrap { position: relative; flex-shrink: 0; width: 148px; height: 148px; }
.intro-ring { position: absolute; inset: -34px; width: calc(100% + 68px); height: calc(100% + 68px); pointer-events: none; }
.intro-avatar { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: var(--surface-solid); cursor: pointer; overflow: hidden;
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent), 0 0 calc(18px + var(--voice, 0) * 46px) rgba(110, 168, 255, calc(.35 + var(--voice, 0) * .5)); transition: transform .2s; }
.intro-avatar:hover { transform: scale(1.04); }
.intro-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transform: scale(1.35); transform-origin: 50% 42%; }
.intro-play { position: absolute; z-index: 3; right: -6px; bottom: -2px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #070a12; display: grid; place-items: center; font-size: .95rem; border: 3px solid var(--bg); box-shadow: 0 8px 18px rgba(0, 0, 0, .5); pointer-events: none; }
.intro-play .fa-play { margin-left: 3px; }
.intro-info { flex: 1; min-width: 0; }
.intro-kicker { display: inline-block; color: var(--accent); font-family: var(--mono); font-size: .78rem; font-weight: 500; }
.intro-info h2 { font-size: 1.5rem; margin: .5rem 0 .2rem; }
.intro-info p { color: var(--muted); margin-bottom: .9rem; font-size: .95rem; }
/* The sentence being spoken right now */
.intro-caption { min-height: 3.1em; margin: 0 0 .9rem; color: var(--text); font-size: 1rem; line-height: 1.55; display: none; }
.intro-card.has-started .intro-caption { display: block; }
.intro-card.has-started .intro-lead { display: none; }
.intro-player { display: flex; align-items: center; gap: .9rem; }
.intro-wave { flex: none; width: 96px; height: 34px; }
.intro-eq { display: none; }
.intro-progress { flex: 1; height: 6px; background: rgba(255, 255, 255, .1); border-radius: 999px; overflow: hidden; cursor: pointer; }
.intro-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6ea8ff, #7ef0c1); border-radius: 999px; transition: width .2s linear; }
.intro-time { min-width: 5.2rem; text-align: right; font-family: var(--mono); font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.btn-read { flex-shrink: 0; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1.3rem; font-weight: 600; color: var(--text); }
.btn-read:hover, .btn-read:focus { background: rgba(110, 168, 255, .1); border-color: var(--line-strong); color: var(--text); }
.intro-text { position: relative; margin-top: 1.5rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 10, 18, .5); color: #c3cbdd; line-height: 1.75; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text p.intro-sign { font-weight: 600; color: var(--text); }
@media (max-width: 767px) {
    .intro-top { flex-direction: column; text-align: center; gap: 1.6rem; }
    .intro-avatar-wrap { margin-top: 1.4rem; }
    .intro-player { flex-wrap: wrap; justify-content: center; }
    .intro-progress { flex-basis: 100%; order: 3; }
    .intro-card { padding: 1.5rem 1.2rem; }
}

/* Courses and waitlist */
.course-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.course-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(110, 168, 255, .6); }
.course-type { align-self: flex-start; margin-bottom: 1.2rem; padding: .22rem .6rem; border: 1px solid rgba(110, 168, 255, .35); border-radius: 6px; background: rgba(110, 168, 255, .1); color: var(--accent); font-family: var(--mono); font-size: .72rem; }
.course-card h2 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .8rem; }
.course-card p { color: var(--muted); flex: 1; }
.course-price { font-weight: 700; margin: .8rem 0 1.2rem; }
.waitlist-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding: 1.8rem 2rem; border: 1px solid var(--line-strong); border-radius: 20px; background: radial-gradient(ellipse 80% 140% at 100% 0%, rgba(110, 168, 255, .2) 0%, rgba(16, 21, 36, .88) 60%); }
.waitlist-note-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(110, 168, 255, .14); color: var(--accent); display: grid; place-items: center; font-size: 1.4rem; }
.waitlist-note > div:nth-child(2) { flex: 1; min-width: 14rem; }
.waitlist-note p { margin: .2rem 0 0; color: var(--muted); }
.modal-content { background: var(--surface-solid); border: 1px solid var(--line); }
.waitlist-modal { border-radius: 20px; padding: .5rem .8rem 1rem; }
.waitlist-modal .modal-title { font-size: 1.4rem; font-weight: 700; }
.waitlist-modal .form-label { font-weight: 600; font-size: .9rem; }
.waitlist-modal .form-control, .waitlist-modal .form-select { border-radius: 10px; padding: .7rem 1rem; }
.waitlist-modal .form-control.is-invalid, .waitlist-modal .form-select.is-invalid { border-color: #ff8f8f; background-image: none; }
.courses-hero { padding: 3.5rem 0 1.5rem; text-align: center; }
.courses-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; max-width: 46rem; margin: 1.2rem auto .9rem; }
.courses-hero p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0 auto 1.6rem; }
.courses-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.courses-hero-chips span { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: .9rem; font-weight: 500; }
.courses-hero-chips i { color: var(--accent); }
.courses-hero + .intro-section { padding: 0 0 1.75rem; }
.courses-hero + .intro-section + .container { padding-top: 0; }
.course-card-media { padding: 0; overflow: hidden; }
.course-media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-solid); }
.course-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.course-card-media:hover .course-media img { transform: scale(1.04); }
.course-badge { position: absolute; top: 1rem; left: 1rem; font-size: .78rem; font-weight: 700; color: #070a12; background: #fff; border-radius: 999px; padding: .35rem .9rem; }
.course-badge-inline { position: static; display: inline-block; margin-bottom: 1rem; }
.course-soon { position: absolute; top: 1rem; right: 1rem; font-size: .78rem; font-weight: 600; color: var(--accent); background: rgba(7, 10, 18, .85); border-radius: 999px; padding: .35rem .8rem; }
.course-soon i { margin-right: .3rem; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 2rem 2rem; }
.course-card-media h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: .7rem; }
.course-points { list-style: none; padding: 0; margin: .4rem 0 1.5rem; flex: 1; }
.course-points li { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; font-size: .95rem; }
.course-points i { margin-top: .3rem; font-size: .75rem; color: var(--ok); }
.course-wide { display: grid; grid-template-columns: 1fr 1.2fr; margin-top: 2.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.course-wide-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
.course-wide-body { padding: 2.4rem; }
.course-wide-body h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: .8rem; }
.course-wide-body p { color: var(--muted); }
.course-wide-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
@media (max-width: 767px) { .course-wide { grid-template-columns: 1fr; } .course-body, .course-wide-body { padding: 1.5rem; } }

/* Service and legal pages */
.service-header { padding-bottom: 2.5rem; }
.service-related { padding-left: 1.2rem; }
.service-related a { font-weight: 500; }
.side-links { margin-top: 1.5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-links h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.side-links li { margin-bottom: .5rem; }
.side-links a { display: flex; justify-content: space-between; color: var(--text); font-weight: 500; }
.side-links a:hover { color: var(--accent); }
.side-links i { font-size: .75rem; margin-top: .35rem; }
.legal-body h2 { font-size: 1.4rem; }
.legal-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: .6rem .8rem; vertical-align: top; text-align: left; }
.legal-body th { background: rgba(255, 255, 255, .05); font-weight: 600; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 1080; width: min(420px, calc(100vw - 2rem)); padding: 1.3rem 1.4rem; border: 1px solid var(--line-strong); border-radius: 18px; background: #0e1322; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.cookie-head i { color: var(--accent); font-size: 1.15rem; }
.cookie-head h2 { font-size: 1.05rem; margin: 0; }
.cookie-banner p { font-size: .88rem; color: var(--muted); margin-bottom: .9rem; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cookie-btn { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); border-radius: 10px; padding: .55rem 1rem; font-size: .88rem; font-weight: 600; cursor: pointer; }
.cookie-btn:hover { border-color: var(--line-strong); }
.cookie-btn-dark { background: #fff; border-color: #fff; color: #070a12; }
.cookie-btn-dark:hover { background: #dfe9ff; }
.cookie-link { border: 0; background: none; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: .4rem .5rem; }
.cookie-panel { border-top: 1px solid var(--line); padding-top: .8rem; margin-bottom: .9rem; }
.cookie-panel[hidden] { display: none; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; cursor: pointer; }
.cookie-row strong { display: block; font-size: .9rem; }
.cookie-row small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.cookie-row input { width: 2.4rem; height: 1.3rem; flex-shrink: 0; accent-color: var(--accent); }
.cookie-panel .cookie-btn { width: 100%; margin-top: .4rem; }

/* Works gallery (/darbai) */
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.work-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(110, 168, 255, .6); }
.work-card .article-thumb { aspect-ratio: 16 / 10; }
.work-card:hover .article-thumb img { transform: scale(1.04); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.work-body h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; overflow-wrap: anywhere; }
.work-body p { color: var(--muted); flex: 1; overflow-wrap: anywhere; }
.work-body p.work-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: none; margin-bottom: .6rem; }
.work-link { align-self: flex-start; font-weight: 600; color: var(--accent); }
.work-link:hover { color: #fff; }
.work-body .work-link { margin-top: auto; }
.work-more { align-self: flex-start; margin-bottom: 1rem; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font-size: .85rem; font-weight: 600; cursor: pointer; }
.work-more:hover { border-color: var(--line-strong); }
.work-modal { border-radius: 20px; overflow: hidden; }
.work-modal .modal-header { padding: 1.2rem 1.5rem; }
.work-modal .modal-title { font-size: 1.25rem; font-weight: 700; }
.work-modal .modal-body { padding: 1.5rem; }
.work-modal .modal-body img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 1.2rem; }
.work-modal .modal-body p { color: #c3cbdd; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }

@media (max-width: 991px) { .contact-box { padding: 2rem 1.5rem; } }
@media (max-width: 575.98px) {
    .hero-actions .btn { padding: .65rem 1rem; font-size: .9rem; }
    .facts > div { padding: 1rem; }
    .section { padding: 3rem 0; }
    .pipeline li { padding: 1.2rem 1rem; }
    .pipeline li::before, .pipeline li::after { left: 1rem; }
    .promo-banner { padding: 1.5rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tilt, .btn-dark-lg, .btn-light-lg, .btn-beam { transition: none; }
    .btn-beam::before { animation: none; background: linear-gradient(120deg, #6ea8ff, #7ef0c1); }
    .site-nav .nav-item { animation: none !important; }
    .showcase-scene { transform: none; }
}
