/* ==========================================================================
   SKO TechLabs — Public site design system
   Deep teal ground, modern green accent, cream CTA, white typography.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --bg: #003b3f;
    --bg-deep: #002f33;
    --bg-darkest: #01272a;
    --surface: #07383a;
    --surface-2: #0a4142;
    --surface-3: #0e4a4b;
    --surface-glass: rgba(10, 65, 66, 0.55);

    --accent: #20b45a;
    --accent-bright: #2bcb68;
    --accent-deep: #16a85a;
    --accent-soft: rgba(32, 180, 90, 0.12);
    --accent-line: rgba(43, 203, 104, 0.28);

    --cream: #f3e8d2;
    --cream-dim: #e6d8bd;

    --text: #f5f7f2;
    --text-2: #b7c7c4;
    --muted: #829694;

    --border: rgba(245, 247, 242, 0.09);
    --border-strong: rgba(245, 247, 242, 0.16);
    --border-accent: rgba(43, 203, 104, 0.35);

    --danger: #ef6a6a;
    --warning: #e5b769;
    --info: #6fb6d6;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(0, 20, 22, 0.28);
    --shadow: 0 12px 32px rgba(0, 20, 22, 0.34);
    --shadow-lg: 0 28px 70px rgba(0, 18, 20, 0.46);
    --glow: 0 0 0 1px var(--border-accent), 0 18px 48px rgba(32, 180, 90, 0.18);

    --container: 1240px;
    --gutter: 24px;
    --nav-h: 76px;

    --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.32s;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

/* The hidden attribute must win over any display we set on a class. */
[hidden] {
    display: none !important;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-2);
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 520px at 88% -8%, rgba(32, 180, 90, 0.11), transparent 62%),
        radial-gradient(760px 480px at -6% 8%, rgba(10, 65, 66, 0.85), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.022em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--accent);
    color: #01272a;
}

:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-narrow {
    max-width: 860px;
}

.section {
    padding-block: clamp(64px, 8vw, 116px);
    position: relative;
}

.section--tight {
    padding-block: clamp(48px, 6vw, 80px);
}

.section--alt {
    background: linear-gradient(180deg, rgba(2, 39, 42, 0) 0%, rgba(1, 39, 42, 0.55) 50%, rgba(2, 39, 42, 0) 100%);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 999;
    background: var(--accent);
    color: #01272a;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus {
    left: 16px;
}

/* ---------- 4. Typography ---------- */
.display {
    font-size: clamp(2.55rem, 5.4vw, 4.15rem);
    font-weight: 800;
    letter-spacing: -0.034em;
    line-height: 1.05;
}

.h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.h2 {
    font-size: clamp(1.75rem, 3.1vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.026em;
}

.h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 700;
}

.h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    color: var(--text-2);
    line-height: 1.72;
}

.small {
    font-size: 0.875rem;
}

.tiny {
    font-size: 0.8rem;
}

.muted {
    color: var(--muted);
}

.text-accent {
    color: var(--accent-bright);
}

.text-cream {
    color: var(--cream);
}

.text-white {
    color: var(--text);
}

.center {
    text-align: center;
}

.mono {
    font-family: var(--mono);
    letter-spacing: 0.02em;
}

.accent-word {
    color: var(--accent-bright);
    position: relative;
}

/* Keep the highlight on one line only where there is room for it. */
@media (min-width: 700px) {
    .accent-word {
        white-space: nowrap;
    }
}

.accent-underline {
    background-image: linear-gradient(90deg, var(--accent), var(--accent-bright));
    background-repeat: no-repeat;
    background-size: 100% 3px;
    background-position: 0 100%;
    padding-bottom: 2px;
}

/* ---------- 5. Eyebrow / badges ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.735rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.eyebrow--center::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(245, 247, 242, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
}

.badge--accent {
    border-color: var(--border-accent);
    background: var(--accent-soft);
    color: var(--accent-bright);
}

.badge--cream {
    border-color: rgba(243, 232, 210, 0.3);
    background: rgba(243, 232, 210, 0.1);
    color: var(--cream);
}

.badge .ico {
    width: 14px;
    height: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: rgba(245, 247, 242, 0.06);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(43, 203, 104, 0.16);
    flex: none;
}

/* ---------- 6. Buttons ---------- */
.btn {
    --btn-bg: var(--accent);
    --btn-fg: #ffffff;
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 0.945rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn .ico {
    width: 17px;
    height: 17px;
    transition: transform var(--dur) var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    --btn-bg: var(--accent);
    box-shadow: 0 10px 26px rgba(22, 168, 90, 0.3);
}

.btn--primary:hover {
    --btn-bg: var(--accent-bright);
    box-shadow: 0 16px 36px rgba(22, 168, 90, 0.4);
}

.btn--primary:hover .ico {
    transform: translateX(3px);
}

.btn--cream {
    --btn-bg: var(--cream);
    --btn-fg: #013134;
    box-shadow: 0 10px 26px rgba(0, 20, 22, 0.32);
}

.btn--cream:hover {
    --btn-bg: #ffffff;
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-border: var(--border-strong);
}

.btn--ghost:hover {
    --btn-bg: rgba(245, 247, 242, 0.06);
    --btn-border: var(--border-accent);
    --btn-fg: var(--text);
}

.btn--outline-accent {
    --btn-bg: transparent;
    --btn-fg: var(--accent-bright);
    --btn-border: var(--border-accent);
}

.btn--outline-accent:hover {
    --btn-bg: var(--accent-soft);
}

.btn--sm {
    padding: 9px 17px;
    font-size: 0.86rem;
}

.btn--lg {
    padding: 16px 30px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn[disabled],
.btn.is-loading {
    opacity: 0.62;
    pointer-events: none;
}

.btn.is-loading::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: spin 0.7s linear infinite;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-bright);
    transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}

.link-arrow .ico {
    width: 16px;
    height: 16px;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--cream);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- 7. Cards ---------- */
.card {
    position: relative;
    background: linear-gradient(158deg, rgba(10, 65, 66, 0.9) 0%, rgba(5, 47, 50, 0.72) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px 180px at 50% -30%, rgba(43, 203, 104, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
}

.card--hover:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.card--hover:hover::after {
    opacity: 1;
}

.card--flat {
    background: rgba(245, 247, 242, 0.03);
}

.card--cream {
    background: linear-gradient(158deg, rgba(243, 232, 210, 0.97), rgba(230, 216, 189, 0.9));
    border-color: rgba(243, 232, 210, 0.5);
    color: #0d3a3c;
}

.card--cream h2,
.card--cream h3,
.card--cream h4 {
    color: #012f32;
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent-bright);
    margin-bottom: 18px;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card-icon .ico {
    width: 24px;
    height: 24px;
}

.card--hover:hover .card-icon {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.06) rotate(-3deg);
}

.card-index {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ---------- 8. Header ---------- */
.announce {
    position: relative;
    z-index: 60;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.announce--cream {
    background: linear-gradient(90deg, var(--cream-dim), var(--cream));
    color: #013134;
}

.announce--dark {
    background: var(--bg-darkest);
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}

.announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 9px 0;
    text-align: center;
    flex-wrap: wrap;
}

.announce a {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 800;
}

.announce__close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    cursor: pointer;
    opacity: 0.75;
    display: grid;
    place-items: center;
}

.announce__close:hover {
    opacity: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
        backdrop-filter var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(0, 47, 51, 0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 18, 20, 0.32);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: var(--nav-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand__mark {
    width: 38px;
    height: 38px;
    flex: none;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand__name {
    font-size: 1.11rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.028em;
}

.brand__tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand__logo-img {
    max-height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-inline: auto;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__link:hover {
    color: var(--text);
    background: rgba(245, 247, 242, 0.06);
}

.nav__link.is-active {
    color: var(--text);
}

.nav__link.is-active::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-bright);
}

.nav__link .ico {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 226px;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(4, 44, 47, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown a {
    display: block;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__dropdown a:hover {
    background: var(--accent-soft);
    color: var(--accent-bright);
}

/* Rich rows: icon, label and a line of explanation. Sized so a three-word
   service name stays on one line instead of wrapping into a ragged block. */
.nav__dropdown--rich {
    min-width: 358px;
    max-width: 420px;
    padding: 10px;
}

.nav__dropdown--rich a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 11px 12px;
    border-radius: 12px;
}

.nav__dd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent-bright);
    flex: none;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav__dropdown--rich a:hover .nav__dd-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: #04262a;
}

.nav__dd-text {
    display: block;
    min-width: 0;
    padding-top: 1px;
}

.nav__dd-title {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    /* A menu label that wraps mid-phrase reads as broken, so it stays on one
       line; an unusually long one is trimmed rather than widening the panel. */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav__dd-desc {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--muted);
}

.nav__dropdown--rich a:hover .nav__dd-title {
    color: var(--accent-bright);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(245, 247, 242, 0.04);
    color: var(--text);
    cursor: pointer;
}

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
    /* Clip the off-canvas panel so it never widens the document. */
    overflow: hidden;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 22, 24, 0.68);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.drawer.is-open .drawer__scrim {
    opacity: 1;
}

.drawer__panel {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: min(360px, 88vw);
    background: var(--bg-deep);
    border-left: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s var(--ease);
    overflow-y: auto;
}

.drawer.is-open .drawer__panel {
    transform: translateX(0);
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg-deep);
    z-index: 2;
}

.drawer__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.drawer__nav {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-2);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.drawer__nav a:hover,
.drawer__nav a.is-active {
    background: var(--accent-soft);
    color: var(--accent-bright);
}

.drawer__nav .drawer__sub a {
    padding-left: 22px;
    font-size: 0.92rem;
}

.drawer__sub-label {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.drawer__sub-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    flex: none;
}

.drawer__foot {
    margin-top: auto;
    padding: 20px 22px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.drawer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.drawer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-2);
}

.drawer__contact .ico {
    width: 16px;
    height: 16px;
    color: var(--accent-bright);
}

body.is-locked {
    overflow: hidden;
}

/* ---------- 9. Hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(52px, 7vw, 96px) clamp(40px, 5vw, 72px);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(245, 247, 242, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 247, 242, 0.028) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

.hero__glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.4;
}

.hero__glow--1 {
    background: rgba(32, 180, 90, 0.34);
    top: -180px;
    right: -120px;
}

.hero__glow--2 {
    background: rgba(243, 232, 210, 0.08);
    bottom: -260px;
    left: -160px;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__copy > * + * {
    margin-top: 22px;
}

.hero__title {
    font-size: clamp(2.4rem, 4.9vw, 3.85rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.036em;
    color: var(--text);
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    color: var(--text-2);
    max-width: 56ch;
    line-height: 1.7;
}

.hero__desc {
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 54ch;
}

.hero__actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
    padding-top: 6px;
}

.hero__trust .ico {
    width: 16px;
    height: 16px;
    color: var(--accent-bright);
    flex: none;
}

.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.hero__visual img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* Stats strip */
.stats {
    position: relative;
    border-block: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(1, 39, 42, 0.4), rgba(1, 39, 42, 0.1));
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
    padding: 30px 22px;
    text-align: center;
    position: relative;
}

.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--border);
}

.stat__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    margin-bottom: 12px;
}

.stat__icon .ico {
    width: 18px;
    height: 18px;
}

.stat__value {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}

.stat__label {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

/* ---------- 10. Section headings ---------- */
.section-head {
    max-width: 720px;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head__title {
    margin-top: 14px;
}

.section-head__desc {
    margin-top: 16px;
    color: var(--text-2);
    font-size: 1.02rem;
    line-height: 1.72;
}

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    max-width: none;
}

.section-head--split .section-head__body {
    max-width: 680px;
}

/* ---------- 11. Services ---------- */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.service-card__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 4px;
}

.service-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-2);
    line-height: 1.5;
}

.service-card__features .ico {
    width: 15px;
    height: 15px;
    color: var(--accent-bright);
    flex: none;
    margin-top: 3px;
}

.service-card__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ---------- 12. Process / timeline ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(10, 65, 66, 0.42);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    background: rgba(10, 65, 66, 0.72);
}

.process-step__num {
    font-family: var(--mono);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(245, 247, 242, 0.1);
    transition: color var(--dur) var(--ease);
    margin-bottom: 14px;
    display: block;
}

.process-step:hover .process-step__num {
    color: var(--accent-bright);
}

.process-step__icon {
    position: absolute;
    top: 26px;
    right: 26px;
    color: var(--accent);
    opacity: 0.5;
}

.process-step h3 {
    font-size: 1.14rem;
    margin-bottom: 9px;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---------- 13. Technologies ---------- */
.tech-group + .tech-group {
    margin-top: 34px;
}

.tech-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tech-group__title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    white-space: nowrap;
}

.tech-group__rule {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: rgba(245, 247, 242, 0.035);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-2);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
        color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.tech-chip:hover {
    transform: translateY(-3px);
    border-color: var(--border-accent);
    background: var(--accent-soft);
    color: var(--text);
}

.tech-chip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ---------- Technology marquee ---------- */
.marquee {
    --marquee-duration: 40s;
    position: relative;
    overflow: hidden;
    /* Vertical room so the chip hover lift is not clipped. */
    padding-block: 9px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee + .marquee {
    margin-top: 14px;
}

.marquee__track {
    /* How many copies of the row are in the track. One copy must be at least as
       wide as the viewport or a gap shows at the loop point, so site.js appends
       more copies on very wide screens and updates this. */
    --sets: 2;
    display: flex;
    width: max-content;
    animation: marquee-left var(--marquee-duration) linear infinite;
}

.marquee--reverse .marquee__track {
    animation-name: marquee-right;
}

.marquee__set {
    display: flex;
    flex: none;
}

/* Spacing lives on the items, not as a flex gap, so one set is exactly half the
   track and the 50% loop point is seamless. */
.marquee__item {
    margin-right: 14px;
    flex: none;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / var(--sets))); }
}

@keyframes marquee-right {
    from { transform: translateX(calc(-100% / var(--sets))); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .marquee::-webkit-scrollbar {
        display: none;
    }

    .marquee__track {
        animation: none;
    }

    /* Without motion one copy is enough - the second would just repeat itself. */
    .marquee__set[aria-hidden="true"] {
        display: none;
    }
}

.tech-chip .ico {
    width: 17px;
    height: 17px;
    color: var(--accent-bright);
}

/* ---------- 14. Projects ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 9px 19px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.filter-btn:hover {
    border-color: var(--border-accent);
    color: var(--text);
}

.filter-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(22, 168, 90, 0.28);
}

.project-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(158deg, rgba(10, 65, 66, 0.86), rgba(5, 47, 50, 0.7));
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-darkest);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card__media img {
    transform: scale(1.05);
}

.project-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.project-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.project-card__body h3 {
    font-size: 1.14rem;
}

.project-card__body p {
    font-size: 0.9rem;
    color: var(--text-2);
}

.project-card__foot {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row .pill {
    font-size: 0.71rem;
    padding: 3px 9px;
}

/* Project media placeholder */
.media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(400px 200px at 50% 0%, rgba(32, 180, 90, 0.16), transparent 70%),
        linear-gradient(160deg, #063a3c, #02292c);
    color: rgba(245, 247, 242, 0.22);
}

.media-placeholder .ico {
    width: 42px;
    height: 42px;
}

/* ---------- 15. Testimonials ---------- */
.testimonial {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.stars {
    display: inline-flex;
    gap: 3px;
    color: var(--cream);
}

.stars .ico {
    width: 16px;
    height: 16px;
}

.stars .is-off {
    color: rgba(245, 247, 242, 0.18);
}

.testimonial__quote {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-2);
    flex: 1;
}

.testimonial__person {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    flex: none;
}

.avatar--initials {
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-bright);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.testimonial__name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.94rem;
}

.testimonial__role {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- 16. Team ---------- */
.team-card {
    text-align: center;
    padding: 30px 24px;
}

.team-card__photo {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 2px solid var(--border-accent);
    padding: 3px;
    background: var(--bg-deep);
}

.team-card__photo--initials {
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-bright);
    background: var(--accent-soft);
}

.team-card__role {
    color: var(--accent-bright);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
}

.team-card__socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--border);
    color: var(--text-2);
    background: rgba(245, 247, 242, 0.03);
    transition: all var(--dur) var(--ease);
}

.icon-btn .ico {
    width: 16px;
    height: 16px;
}

.icon-btn:hover {
    border-color: var(--border-accent);
    color: var(--accent-bright);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

/* ---------- 17. Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(158deg, rgba(10, 65, 66, 0.86), rgba(5, 47, 50, 0.7));
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
}

.price-card--popular {
    border-color: var(--border-accent);
    box-shadow: var(--glow);
    background: linear-gradient(158deg, rgba(14, 74, 75, 0.95), rgba(6, 52, 55, 0.86));
}

.price-card__flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(22, 168, 90, 0.35);
}

.price-card__amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--text);
}

.price-card__currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream);
}

.price-card__value {
    font-size: clamp(2.2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
}

.price-card__cycle {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 600;
}

.price-card__prefix {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.55;
}

.feature-list .ico {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
    color: var(--accent-bright);
}

.feature-list li.is-off {
    color: var(--muted);
    opacity: 0.6;
}

.feature-list li.is-off .ico {
    color: var(--muted);
}

/* ---------- 18. Accordion (FAQ) ---------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(10, 65, 66, 0.42);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.acc-item.is-open {
    border-color: var(--border-accent);
    background: rgba(10, 65, 66, 0.75);
}

.acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
}

.acc-trigger__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid var(--border);
    color: var(--accent-bright);
    flex: none;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.acc-item.is-open .acc-trigger__icon {
    transform: rotate(45deg);
    background: var(--accent-soft);
    border-color: var(--border-accent);
}

.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.36s var(--ease);
}

.acc-panel__inner {
    padding: 0 22px 20px;
    color: var(--text-2);
    font-size: 0.94rem;
    line-height: 1.72;
}

/* ---------- 19. Forms ---------- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.005em;
}

.label .req {
    color: var(--accent-bright);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 13px;
    border: 1px solid var(--border-strong);
    background: rgba(1, 39, 42, 0.6);
    color: var(--text);
    font-size: 0.94rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
    color: rgba(130, 150, 148, 0.75);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(1, 39, 42, 0.85);
    box-shadow: 0 0 0 3px rgba(32, 180, 90, 0.16);
}

.textarea {
    min-height: 138px;
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23829694' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 42px;
}

.select option {
    background: #02292c;
    color: var(--text);
}

.field-error {
    font-size: 0.8rem;
    color: var(--danger);
    font-weight: 600;
}

.input.has-error,
.select.has-error,
.textarea.has-error {
    border-color: var(--danger);
}

.file-input {
    padding: 11px 14px;
    border: 1px dashed var(--border-strong);
    border-radius: 13px;
    background: rgba(1, 39, 42, 0.4);
    font-size: 0.88rem;
    cursor: pointer;
    width: 100%;
}

.file-input::file-selector-button {
    margin-right: 12px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 0;
    background: var(--accent-soft);
    color: var(--accent-bright);
    font-weight: 700;
    cursor: pointer;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-2);
}

.check-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex: none;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(245, 247, 242, 0.04);
    font-size: 0.92rem;
    color: var(--text-2);
}

.alert .ico {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 2px;
}

.alert--success {
    border-color: var(--border-accent);
    background: var(--accent-soft);
    color: var(--text);
}

.alert--success .ico {
    color: var(--accent-bright);
}

.alert--error {
    border-color: rgba(239, 106, 106, 0.4);
    background: rgba(239, 106, 106, 0.1);
    color: #ffd9d9;
}

.alert--error .ico {
    color: var(--danger);
}

.alert strong {
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}

/* Newsletter inline form */
.newsletter-form {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.newsletter-form .input {
    flex: 1;
    min-width: 190px;
}

/* ---------- 20. Blog ---------- */
.post-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(158deg, rgba(10, 65, 66, 0.86), rgba(5, 47, 50, 0.7));
    overflow: hidden;
    height: 100%;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.post-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-darkest);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card__media img {
    transform: scale(1.05);
}

.post-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.79rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-meta .ico {
    width: 14px;
    height: 14px;
}

.post-card__body h3 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.post-card__foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

/* Article body */
.prose {
    color: var(--text-2);
    font-size: 1.02rem;
    line-height: 1.82;
}

.prose > * + * {
    margin-top: 1.15em;
}

.prose h2 {
    font-size: 1.65rem;
    margin-top: 1.9em;
    color: var(--text);
}

.prose h3 {
    font-size: 1.3rem;
    margin-top: 1.6em;
    color: var(--text);
}

.prose h4 {
    font-size: 1.08rem;
    margin-top: 1.4em;
    color: var(--text);
}

.prose a {
    color: var(--accent-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose strong {
    color: var(--text);
}

.prose ul,
.prose ol {
    padding-left: 1.4em;
}

.prose ul li {
    list-style: disc;
}

.prose ol li {
    list-style: decimal;
}

.prose li {
    margin-top: 0.45em;
}

.prose li::marker {
    color: var(--accent);
}

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 20px;
    color: var(--text);
    font-size: 1.08rem;
    font-style: italic;
}

.prose img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.prose code {
    font-family: var(--mono);
    font-size: 0.88em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(1, 39, 42, 0.8);
    border: 1px solid var(--border);
    color: var(--cream);
}

.prose pre {
    padding: 18px 20px;
    border-radius: var(--radius);
    background: rgba(1, 32, 34, 0.9);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.prose pre code {
    background: none;
    border: 0;
    padding: 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.prose th,
.prose td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.prose th {
    background: rgba(245, 247, 242, 0.04);
    color: var(--text);
}

.prose hr {
    border: 0;
    height: 1px;
    background: var(--border-strong);
    margin-block: 2em;
}

/* ---------- 21. Page hero / breadcrumb ---------- */
.page-hero {
    position: relative;
    padding-block: clamp(52px, 6.5vw, 88px) clamp(36px, 4.5vw, 60px);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 247, 242, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 247, 242, 0.025) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at 30% 0%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 30% 0%, #000, transparent 72%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    max-width: 780px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--text-2);
    transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
    color: var(--accent-bright);
}

.breadcrumb .ico {
    width: 13px;
    height: 13px;
    opacity: 0.55;
}

.breadcrumb [aria-current] {
    color: var(--text);
    font-weight: 600;
}

/* ---------- 22. CTA band ---------- */
.cta-band {
    position: relative;
    border-radius: var(--radius-xl);
    padding: clamp(38px, 5vw, 62px);
    background:
        radial-gradient(700px 320px at 88% 8%, rgba(32, 180, 90, 0.2), transparent 66%),
        linear-gradient(150deg, rgba(14, 74, 75, 0.95), rgba(2, 41, 44, 0.95));
    border: 1px solid var(--border-strong);
    overflow: hidden;
    text-align: center;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 247, 242, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 247, 242, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 76%);
    pointer-events: none;
}

.cta-band__inner {
    position: relative;
    max-width: 700px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* ---------- 23. Split feature block ---------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 62px);
    align-items: center;
}

.split--reverse .split__media {
    order: -1;
}

.split--top {
    align-items: flex-start;
}

/* Column ratios only apply where there are two columns to size. Declaring them
   here (rather than inline) keeps the single-column breakpoint in control. */
@media (min-width: 993px) {
    .split--article {
        grid-template-columns: 1.65fr 0.95fr;
    }

    .split--sidebar {
        grid-template-columns: 1.6fr 1fr;
    }

    .split--form {
        grid-template-columns: 1.35fr 1fr;
    }

    .split--profile {
        grid-template-columns: 1fr 1.5fr;
    }
}

.split__media {
    position: relative;
}

.split__media img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.split__badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--cream);
    color: #013134;
    box-shadow: var(--shadow-lg);
    max-width: 210px;
}

.split__badge strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #012f32;
}

.split__badge span {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(1, 47, 50, 0.72);
}

.principle {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.principle__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent-bright);
    flex: none;
}

.principle__icon .ico {
    width: 21px;
    height: 21px;
}

.principle h4 {
    margin-bottom: 4px;
}

.principle p {
    font-size: 0.91rem;
    line-height: 1.65;
}

/* ---------- 24. Info tiles ---------- */
.info-tile {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(245, 247, 242, 0.03);
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.info-tile:hover {
    border-color: var(--border-accent);
    background: rgba(10, 65, 66, 0.6);
}

.info-tile__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    flex: none;
}

.info-tile__icon .ico {
    width: 19px;
    height: 19px;
}

.info-tile__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}

.info-tile__value {
    color: var(--text);
    font-weight: 600;
    font-size: 0.96rem;
    line-height: 1.5;
    word-break: break-word;
}

.info-tile__value a:hover {
    color: var(--accent-bright);
}

/* ---------- 25. Job cards ---------- */
.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(10, 65, 66, 0.45);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.job-card:hover {
    transform: translateX(4px);
    border-color: var(--border-accent);
    background: rgba(10, 65, 66, 0.78);
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.job-card h3 {
    font-size: 1.16rem;
}

/* ---------- 26. Empty state ---------- */
.empty {
    text-align: center;
    padding: clamp(44px, 6vw, 72px) 24px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: rgba(245, 247, 242, 0.02);
}

.empty__icon {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    margin-bottom: 18px;
}

.empty__icon .ico {
    width: 28px;
    height: 28px;
}

.empty h3 {
    margin-bottom: 8px;
}

.empty p {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--muted);
}

/* ---------- 27. Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 44px;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    transition: all var(--dur) var(--ease);
}

.pagination a:hover {
    border-color: var(--border-accent);
    color: var(--text);
    background: var(--accent-soft);
}

.pagination .is-current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .is-disabled {
    opacity: 0.4;
}

/* ---------- 28. Footer ---------- */
.site-footer {
    position: relative;
    margin-top: clamp(56px, 7vw, 96px);
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(1, 39, 42, 0.55), rgba(1, 32, 34, 0.95));
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-block: clamp(46px, 5vw, 68px);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.92rem;
    max-width: 34ch;
    color: var(--muted);
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-col__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--muted);
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--accent-bright);
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-size: 0.9rem;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
}

.footer-contact .ico {
    width: 16px;
    height: 16px;
    color: var(--accent-bright);
    flex: none;
    margin-top: 3px;
}

.footer-contact a:hover {
    color: var(--accent-bright);
}

.footer-newsletter {
    padding-block: 26px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.footer-newsletter__copy {
    max-width: 40ch;
}

.footer-newsletter__copy strong {
    display: block;
    color: var(--text);
    font-size: 1.02rem;
    margin-bottom: 3px;
}

.footer-newsletter form {
    min-width: min(420px, 100%);
}

.footer-bottom {
    padding-block: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-bottom nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom a:hover {
    color: var(--accent-bright);
}

/* Back to top */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: rgba(4, 44, 47, 0.92);
    backdrop-filter: blur(10px);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: all var(--dur) var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.to-top:hover {
    border-color: var(--border-accent);
    color: var(--accent-bright);
}

.to-top .ico {
    width: 19px;
    height: 19px;
    transform: rotate(-90deg);
}

/* ---------- 29. Error pages ---------- */
.error-page {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: 60px;
}

.error-code {
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, var(--accent-bright), rgba(32, 180, 90, 0.25));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Coming soon countdown */
.countdown {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown__cell {
    min-width: 88px;
    padding: 18px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(10, 65, 66, 0.6);
}

.countdown__num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- 30. Scroll reveal ---------- */
/* Only hide content when JS is available to reveal it again. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.js [data-reveal][data-reveal="left"] {
    transform: translateX(-24px);
}

.js [data-reveal][data-reveal="right"] {
    transform: translateX(24px);
}

.js [data-reveal][data-reveal="scale"] {
    transform: scale(0.96);
}

/* Doubled attribute selector so the revealed state always beats the
   direction variants above, whatever the source order. */
.js [data-reveal][data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* On narrow screens slide vertically instead - a horizontal offset would
   momentarily extend the document while the transition runs. */
@media (max-width: 760px) {
    .js [data-reveal][data-reveal="left"],
    .js [data-reveal][data-reveal="right"] {
        transform: translateY(22px);
    }
}

.is-hidden {
    display: none !important;
}

/* ---------- 31. Responsive ---------- */
@media (max-width: 1080px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 300px;
        order: -1;
    }

    .hero__copy {
        text-align: left;
    }
}

@media (max-width: 992px) {
    :root {
        --nav-h: 68px;
    }

    .nav {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .process-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .section-head--split {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 18px;
    }

    /* Fingers are not cursors: give inline links and icon buttons a hit area
       close to the 44px that phone guidelines ask for, without changing how
       they look. */
    .footer-links a,
    .footer-contact li,
    .breadcrumb a {
        padding-block: 10px;
    }

    .footer-links {
        gap: 2px;
    }

    .link-arrow {
        padding-block: 10px;
    }

    .icon-btn {
        width: 44px;
        height: 44px;
    }

    .post-meta {
        gap: 10px 16px;
    }

    /* 10px uppercase is hard to read on a phone. */
    .brand__tag {
        font-size: 0.7rem;
    }

    .eyebrow {
        font-size: 0.78rem;
    }

    .tiny {
        font-size: 0.82rem;
    }

    .tag-row .pill {
        font-size: 0.76rem;
        padding: 4px 10px;
    }

    /* iOS Safari zooms the whole page in when a focused field is under 16px,
       and never zooms back out. 16px keeps typing where the user left it. */
    .input,
    .select,
    .textarea {
        font-size: 16px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat + .stat::before {
        display: none;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

    .stat:nth-child(even) {
        border-left: 1px solid var(--border);
    }

    .grid-3,
    .grid-4,
    .process-grid,
    .pricing-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-card__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card .btn {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-newsletter form {
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero__actions .btn {
        flex: 1;
        min-width: 160px;
    }

    .card {
        padding: 24px 22px;
    }

    .split__badge {
        left: 12px;
        bottom: -14px;
        padding: 14px 18px;
    }
}

@media (max-width: 460px) {
    .service-card__features {
        grid-template-columns: 1fr;
    }

    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
    }
}

/* ---------- 32. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .to-top,
    .drawer,
    .announce {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* ---------- 33. Illustrations ---------- */
.illus {
    width: 100%;
    height: auto;
    max-width: 620px;
    overflow: visible;
}

.illus--hero {
    filter: drop-shadow(0 40px 80px rgba(0, 18, 20, 0.45));
    animation: illusFloat 9s ease-in-out infinite;
}

@keyframes illusFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .illus--hero { animation: none; }
}

.illus-wrap {
    display: grid;
    place-items: center;
    position: relative;
}
