/* —— Design system: modern editorial / 2026 —— */
:root {
    --paper: #f6f5f2;
    --surface: #ffffff;
    --ink: #0a0b0d;
    --ink-soft: #5a5d66;
    --line: rgba(12, 13, 16, 0.08);
    --line-strong: rgba(12, 13, 16, 0.14);
    --accent: #0d9488;
    --accent-bright: #2dd4bf;
    --accent-dim: #0f766e;
    --mint: #34d3a6;
    --hero-bg: #07080a;
    --hero-fg: #ececee;
    --hero-muted: #8b8f9a;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 4px 24px rgba(7, 8, 10, 0.06);
    --shadow-lift: 0 20px 50px -20px rgba(7, 8, 10, 0.18);
    --font-display: "Syne", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --max: 1140px;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.58;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--paper) 82%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem clamp(1.15rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 4.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand img,
.brand__logo {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.brand__tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    margin-top: 0.12rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.main-nav a {
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.2s var(--ease);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s var(--ease);
}

.main-nav a:hover {
    color: var(--ink);
}

.main-nav a:hover::after {
    width: 100%;
}

/* —— Hero (dark) —— */
.hero {
    position: relative;
    background: var(--hero-bg);
    color: var(--hero-fg);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -30%;
    height: 90%;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(13, 148, 136, 0.32), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -25% -50% 20%;
    height: 70%;
    background: radial-gradient(ellipse 60% 45% at 70% 100%, rgba(45, 212, 191, 0.14), transparent 65%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5.5rem) clamp(1.15rem, 4vw, 2rem) clamp(3.5rem, 7vw, 5rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 960px) {
    .hero__inner {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 3.5rem;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 0.95rem;
    margin-bottom: 1.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hero-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-bright);
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 5.5vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--accent-bright), #99f6e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.62;
    color: var(--hero-muted);
}

.hero__lead strong {
    color: var(--hero-fg);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.88rem 1.45rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #fff;
    box-shadow: 0 12px 32px -8px rgba(13, 148, 136, 0.45);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(13, 148, 136, 0.5);
    color: #fff;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--hero-fg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero__stat-label {
    font-size: 0.82rem;
    color: var(--hero-muted);
    margin-top: 0.2rem;
}

.hero__visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 26rem;
}

@media (min-width: 960px) {
    .hero__visual {
        justify-self: end;
        max-width: min(100%, 28rem);
    }
}

.hero__photo-ring {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.55), rgba(13, 148, 136, 0.35), rgba(255, 255, 255, 0.12));
    box-shadow: var(--shadow-lift);
}

.hero__photo-ring::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 20%, rgba(45, 212, 191, 0.22), transparent 55%);
    z-index: -1;
    pointer-events: none;
}

.hero__photo-ring-inner {
    border-radius: calc(var(--radius-lg) - 3px);
    overflow: hidden;
    background: var(--hero-bg);
}

.hero__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
}

@media (max-width: 959px) {
    .hero__photo {
        max-height: 28rem;
    }
}

/* —— Hero ticker (Keysmash-style) —— */
.hero__ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero__ticker-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    padding: 0.65rem 0;
    animation: ticker 28s linear infinite;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hero-muted);
}

.hero__ticker-track span::before {
    content: "·";
    margin-right: 2.5rem;
    opacity: 0.35;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* —— Process steps —— */
.process {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .process {
        grid-template-columns: repeat(2, 1fr);
    }
}

.process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 1.4rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.process__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: color-mix(in srgb, var(--accent) 28%, var(--surface));
}

.process__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.process__text {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* —— Portfolio —— */
.portfolio {
    display: grid;
    gap: 1.15rem;
    max-width: var(--max);
    margin: 0 auto;
}

@media (min-width: 900px) {
    .portfolio {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    padding: 1.6rem 1.45rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.portfolio-card__tag {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dim);
}

.portfolio-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}

.portfolio-card__text {
    margin: 0 0 1rem;
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.portfolio-card__impact {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.86rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
}

.portfolio-card__impact li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}

.portfolio-card__impact li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* —— Keysmash bridge —— */
.section--ks {
    padding-top: 0;
}

.ks-bridge {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #0a0b0d 0%, #0f1a18 55%, #0d2824 100%);
    color: var(--hero-fg);
    border: 1px solid rgba(45, 212, 191, 0.15);
    box-shadow: var(--shadow-lift);
}

@media (min-width: 860px) {
    .ks-bridge {
        grid-template-columns: 1.2fr 0.45fr;
        align-items: center;
    }
}

.ks-bridge .section__kicker {
    color: var(--accent-bright);
}

.ks-bridge .section__title {
    color: #fff;
}

.ks-bridge .section__lead {
    color: var(--hero-muted);
    max-width: 42rem;
}

.ks-bridge .section__lead strong {
    color: var(--hero-fg);
}

.ks-bridge__list {
    margin: 1.25rem 0 1.75rem;
    padding-left: 1.15rem;
    color: var(--hero-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.ks-bridge__list li::marker {
    color: var(--accent-bright);
}

.ks-bridge__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-bridge__logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    margin-inline: auto;
}

.ks-bridge__aside p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--hero-muted);
}

/* —— Sections —— */
.section {
    padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.15rem, 4vw, 2rem);
}

.section--muted {
    background: linear-gradient(180deg, #eeede9 0%, var(--paper) 100%);
}

.section__head {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dim);
}

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.section__lead {
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

/* —— Bento services —— */
.bento {
    display: grid;
    gap: 1rem;
    max-width: var(--max);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .bento {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
}

.bento-card {
    position: relative;
    padding: 1.65rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    overflow: hidden;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.08), transparent 65%);
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.bento-card__num {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: color-mix(in srgb, var(--accent) 22%, var(--surface));
    margin-bottom: 1rem;
}

.bento-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
}

.bento-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* —— Split profile —— */
.split {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3rem;
    }
}

.panel {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.panel__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.panel ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.panel li::marker {
    color: var(--accent);
}

/* —— Pricing strip —— */
.pricing {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--ink) 0%, #14161c 100%);
    color: var(--hero-fg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lift);
}

@media (min-width: 768px) {
    .pricing {
        grid-template-columns: 1fr auto;
    }
}

.pricing__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0;
}

.pricing__amount span:not(.pricing__suffix) {
    background: linear-gradient(120deg, #fff, var(--accent-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing__suffix {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.88;
    color: var(--hero-fg);
    -webkit-text-fill-color: var(--hero-fg);
}

.pricing__note {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    color: var(--hero-muted);
    max-width: 28rem;
}

.pricing .btn--primary {
    box-shadow: 0 12px 32px -6px rgba(45, 212, 191, 0.35);
}

/* —— Contact —— */
.contact-card {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 2.75rem);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 800px) {
    .contact-card {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-card address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

.contact-card address strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--accent-dim);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-card__social {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 0.15rem;
    color: var(--accent-dim);
}

.contact-card__social:hover {
    color: var(--accent);
}

.contact-card__social svg {
    display: block;
}

/* —— Footer —— */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 2rem clamp(1.15rem, 4vw, 2rem);
}

.site-footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.site-footer__brand img {
    border-radius: 10px;
}

.site-footer img {
    height: 2.25rem;
    width: auto;
    max-width: min(100%, 16rem);
    opacity: 0.92;
}

.site-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

.site-footer a {
    color: var(--accent-dim);
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bento-card:hover {
        transform: none;
    }

    .btn--primary:hover {
        transform: none;
    }

    .hero__ticker-track {
        animation: none;
    }

    .portfolio-card:hover {
        transform: none;
    }
}
