/*
Theme Name: YuenChi Intelligence
Theme URI: https://yuenchi.hk/
Author: YuenChi Global Intelligence
Author URI: https://yuenchi.hk/
Description: A bilingual, high-performance enterprise AI consultancy theme for YuenChi Global Intelligence.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: yuenchi-intelligence
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --ink: #07090d;
    --ink-soft: #0b0e14;
    --panel: #0f131c;
    --panel-raised: #151b27;
    --paper: #f3f5f8;
    --paper-soft: #e8ecf2;
    --white: #fbfcff;
    --text: #f2f5fa;
    --text-soft: #adb5c3;
    --text-dark: #10131a;
    --text-dark-soft: #5a6270;
    --line: rgba(255, 255, 255, 0.11);
    --line-dark: rgba(10, 15, 24, 0.13);
    --blue: #6f8cff;
    --blue-strong: #5577ff;
    --cyan: #62d9f8;
    --success: #65dca0;
    --danger: #ff9c9c;
    --shell: min(1180px, calc(100vw - 48px));
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "PingFang TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "PingFang TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button {
    border: 0;
}

::selection {
    color: var(--white);
    background: rgba(85, 119, 255, 0.75);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 18px;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.nav-shell {
    width: min(1240px, calc(100vw - 32px));
    min-height: 68px;
    margin-inline: auto;
    padding: 8px 10px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(8, 11, 16, 0.76);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    pointer-events: auto;
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled .nav-shell {
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(7, 9, 13, 0.93);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.brand-mark {
    width: 38px;
    height: 38px;
    padding: 4px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(28, 43, 81, 0.95), rgba(10, 15, 26, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > a:not(.nav-cta),
.lang-switch {
    padding: 11px 13px;
    color: #bec6d3;
    background: transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: color 160ms ease, background 160ms ease;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a.is-active,
.lang-switch:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.lang-switch {
    min-width: 43px;
    border-left: 1px solid var(--line);
    border-radius: 0;
    margin-left: 5px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 11px 15px;
    margin-left: 5px;
    color: var(--ink);
    background: var(--white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    transition: transform 160ms ease, background 160ms ease;
}

.nav-cta:hover {
    background: #dfe7ff;
    transform: translateY(-1px);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-content: center;
    gap: 6px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 11px;
}

.menu-toggle span {
    width: 18px;
    height: 1.5px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: 164px 0 76px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% -12%, rgba(82, 107, 206, 0.26), transparent 43%),
        linear-gradient(180deg, #080b11 0%, var(--ink) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-orb {
    position: absolute;
    z-index: -1;
    width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.18;
    pointer-events: none;
}

.hero-orb-one {
    top: 12%;
    left: -260px;
    background: var(--blue-strong);
}

.hero-orb-two {
    top: 25%;
    right: -280px;
    background: var(--cyan);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(48px, 6vw, 92px);
}

.status-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    color: #d6dce7;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(101, 220, 160, 0.08), 0 0 16px rgba(101, 220, 160, 0.55);
}

.hero h1,
.section h2,
.contact h2,
.content-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.hero h1 {
    max-width: 850px;
    margin-top: 26px;
    font-size: clamp(52px, 6.2vw, 86px);
}

.gradient-text {
    color: transparent;
    background: linear-gradient(100deg, #f4f7ff 5%, #93a9ff 46%, #65d8f7 95%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.8;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 13px 19px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ui-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.ui-icon-light {
    filter: brightness(0) invert(1);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(95, 123, 239, 0.16);
}

.button-primary:hover {
    background: #e2e9ff;
    box-shadow: 0 18px 44px rgba(95, 123, 239, 0.24);
}

.button-secondary {
    color: var(--white);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.075);
}

.hero-meta {
    margin-top: 46px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--line);
}

.hero-meta div {
    display: grid;
    gap: 4px;
}

.hero-meta span {
    color: #778090;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-meta strong {
    color: #d8dee8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.hero-visual {
    margin: 0;
    perspective: 1200px;
}

.visual-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: #0d121b;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: rotateY(-4deg) rotateX(1.5deg);
    transform-origin: center;
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 42px 0 56px;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 74%, rgba(98, 217, 248, 0.07));
}

.visual-topbar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    color: #778291;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0e131d;
}

.visual-topbar > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b4351;
}

.visual-topbar > span:nth-child(2) {
    background: #526275;
}

.visual-topbar > span:nth-child(3) {
    background: #617ca7;
}

.visual-topbar small {
    margin-left: auto;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.visual-frame picture {
    display: block;
}

.visual-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.34 / 1;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.06);
}

.visual-frame figcaption {
    min-height: 56px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #aeb8c8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d121b;
    font-size: 10px;
}

.visual-frame figcaption strong {
    color: #dce4f1;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.capability-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #090c11;
}

.strip-grid {
    min-height: 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.strip-grid span {
    position: relative;
    padding: 0 24px;
    color: #939dac;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.strip-grid span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 24px;
    background: var(--line);
    transform: translateY(-50%);
}

.section {
    padding: clamp(92px, 10vw, 142px) 0;
}

.services,
.engagements,
.faq-section {
    color: var(--text-dark);
    background: var(--paper);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.6fr);
    align-items: end;
    gap: 72px;
    margin-bottom: 60px;
}

.section-heading.compact {
    margin-bottom: 48px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--blue-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section h2,
.contact h2,
.content-title {
    font-size: clamp(38px, 5vw, 64px);
}

.section-heading > p,
.approach-intro > p:not(.eyebrow),
.faq-list details p,
.contact-copy > p:not(.eyebrow) {
    margin: 0;
    color: var(--text-dark-soft);
    font-size: 16px;
    line-height: 1.85;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    position: relative;
    min-height: 420px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.13), transparent 68%);
    pointer-events: none;
}

.service-card:hover {
    z-index: 1;
    border-color: rgba(74, 104, 220, 0.3);
    box-shadow: 0 24px 58px rgba(28, 42, 83, 0.1);
    transform: translateY(-5px);
}

.service-card-wide {
    grid-column: span 2;
    background: linear-gradient(140deg, #101621, #0d1017);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-index {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #73809a;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 750;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-label {
    margin: 0 0 12px;
    color: #6a7890;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.service-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(23px, 2.1vw, 32px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.service-card:not(.service-card-wide) h3 {
    font-size: 24px;
}

.service-card p:not(.card-label) {
    margin: 16px 0 0;
    color: #657080;
    font-size: 13px;
    line-height: 1.75;
}

.service-card-wide p:not(.card-label) {
    max-width: 540px;
    color: #9ea8b8;
}

.service-card ul {
    margin: 20px 0 0;
    padding: 16px 0 0;
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line-dark);
    list-style: none;
}

.service-card-wide ul {
    border-color: var(--line);
}

.service-card li {
    padding-left: 14px;
    position: relative;
    color: #454d5a;
    font-size: 12px;
}

.service-card-wide li {
    color: #c4cbd6;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.76em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
}

.approach {
    background: var(--ink);
}

.approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(70px, 10vw, 148px);
}

.approach-intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.approach-intro > p:not(.eyebrow) {
    max-width: 470px;
    margin-top: 28px;
    color: var(--text-soft);
}

.text-link {
    width: fit-content;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
    font-weight: 700;
    transition: border-color 160ms ease, color 160ms ease;
}

.text-link:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-item {
    min-height: 172px;
    padding: 34px 0;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.process-item > span {
    color: #596578;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
}

.process-item h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 35px);
    font-weight: 620;
    letter-spacing: -0.035em;
}

.process-item p {
    max-width: 600px;
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.engagement-card {
    min-height: 350px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.engagement-card:nth-child(2) {
    background: #e9edff;
}

.engagement-card:hover {
    box-shadow: 0 24px 55px rgba(29, 40, 72, 0.1);
    transform: translateY(-5px);
}

.engagement-tag {
    width: fit-content;
    padding: 6px 9px;
    color: #4e5d7d;
    border: 1px solid rgba(59, 73, 103, 0.18);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.engagement-card h3 {
    margin: auto 0 0;
    font-family: var(--font-display);
    font-size: clamp(23px, 2vw, 29px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.28;
}

.engagement-card p {
    margin: 16px 0 0;
    color: var(--text-dark-soft);
    font-size: 13px;
}

.engagement-arrow {
    width: 38px;
    height: 38px;
    margin-top: 22px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--text-dark);
}

.engagement-arrow .ui-icon {
    width: 14px;
    height: 14px;
}

.outcomes {
    padding: 64px 0;
    background: var(--paper);
}

.outcomes-shell {
    position: relative;
    padding: clamp(42px, 6vw, 76px);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(48px, 8vw, 110px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 15% 10%, rgba(96, 125, 255, 0.22), transparent 36%),
        linear-gradient(145deg, #151c2a, #080b10 70%);
    box-shadow: var(--shadow);
}

.outcomes-copy {
    position: relative;
    z-index: 1;
}

.outcomes-copy h2 {
    font-size: clamp(37px, 4.6vw, 58px);
}

.outcomes-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
}

.outcomes-grid article {
    min-height: 172px;
    padding: 24px;
    background: #10151f;
}

.outcomes-grid strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 650;
}

.outcomes-grid p {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}

.insights {
    background: var(--ink);
}

.insights .section-heading > p {
    color: var(--text-soft);
}

.insight-list {
    border-top: 1px solid var(--line);
}

.insight-row {
    min-height: 124px;
    padding: 26px 12px;
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    align-items: center;
    gap: 26px;
    border-bottom: 1px solid var(--line);
    transition: background 180ms ease, padding 180ms ease;
}

.insight-row:hover {
    padding-inline: 24px;
    background: rgba(255, 255, 255, 0.035);
}

.insight-row > span {
    color: #596578;
    font-size: 11px;
}

.insight-row h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.1vw, 27px);
    font-weight: 580;
    letter-spacing: -0.025em;
}

.insight-row p {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-align: right;
    text-transform: uppercase;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(70px, 10vw, 150px);
}

.faq-intro {
    align-self: start;
}

.faq-list {
    border-top: 1px solid var(--line-dark);
}

.faq-list details {
    padding: 0;
    border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
    position: relative;
    padding: 25px 48px 25px 0;
    color: var(--text-dark);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::before,
.faq-list summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    width: 16px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 180ms ease;
}

.faq-list summary::after {
    transform: rotate(90deg);
}

.faq-list details[open] summary::after {
    transform: rotate(0deg);
}

.faq-list details p {
    max-width: 650px;
    padding: 0 42px 24px 0;
    font-size: 14px;
}

.contact {
    padding: clamp(90px, 10vw, 140px) 0;
    background:
        radial-gradient(circle at 78% 25%, rgba(80, 119, 244, 0.18), transparent 30%),
        #0a0d13;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(68px, 9vw, 126px);
    align-items: start;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 500px;
    margin-top: 28px;
    color: var(--text-soft);
}

.contact-points {
    margin-top: 34px;
    padding-top: 24px;
    display: grid;
    gap: 13px;
    border-top: 1px solid var(--line);
}

.contact-points span {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c6ced9;
    font-size: 12px;
}

.contact-points i {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 13px rgba(98, 217, 248, 0.5);
}

.contact-points b {
    font-weight: 600;
}

.inquiry-form {
    padding: clamp(26px, 3.5vw, 42px);
    color: var(--text-dark);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.28);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
}

.form-grid label {
    display: grid;
    gap: 8px;
}

.form-grid label > span {
    color: #3f4753;
    font-size: 11px;
    font-weight: 700;
}

.field-full {
    grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--text-dark);
    border: 1px solid #cdd3dc;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid input,
.form-grid select {
    min-height: 49px;
}

.form-grid textarea {
    min-height: 142px;
    resize: vertical;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: #9aa1ac;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: var(--blue-strong);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(85, 119, 255, 0.13);
}

.form-grid [aria-invalid="true"] {
    border-color: #d15353;
    box-shadow: 0 0 0 3px rgba(209, 83, 83, 0.1);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-footer {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.form-privacy {
    margin: 18px 0 0;
    color: #536070;
    font-size: 12px;
    line-height: 1.65;
}

.form-privacy a {
    display: inline;
    margin-left: 0.35em;
    color: #355be4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-privacy a:hover {
    color: #2546bd;
}

.button-light {
    flex: 0 0 auto;
    color: var(--white);
    background: var(--text-dark);
}

.button-light:hover {
    background: #26324c;
}

.button-light:disabled {
    cursor: wait;
    opacity: 0.6;
    transform: none;
}

.form-status {
    color: #536070;
    font-size: 12px;
    line-height: 1.5;
}

.form-status.is-success {
    color: #087044;
}

.form-status.is-error {
    color: #a42b2b;
}

.site-footer {
    color: var(--text);
    border-top: 1px solid var(--line);
    background: #06080c;
}

.footer-main {
    padding: 72px 0 58px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(150px, 0.5fr));
    gap: 70px;
}

.brand-footer {
    width: fit-content;
}

.footer-brand p {
    max-width: 410px;
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column strong {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    width: fit-content;
    color: #8e98a8;
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    min-height: 68px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #788391;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom .ui-icon {
    width: 13px;
    height: 13px;
}

.content-main {
    min-height: 70vh;
    padding: 150px 0 100px;
    color: var(--text-dark);
    background: var(--paper);
}

.article {
    min-height: 72vh;
    padding: 150px 0 100px;
    color: var(--text-dark);
    background: var(--paper);
}

.article .content-shell {
    width: min(900px, calc(100vw - 48px));
}

.article-hero {
    padding: 42px 0 70px;
    border-bottom: 1px solid var(--line-dark);
}

.article-hero h1,
.article-header h1,
.article-error h1 {
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.article-intro {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--text-dark-soft);
    font-size: 17px;
}

.article-listing {
    padding-top: 64px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #fff;
}

.article-card-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-card-body {
    padding: 28px;
}

.article-card h2 {
    margin: 10px 0 0;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.article-card .article-excerpt,
.article-card .article-excerpt p {
    color: var(--text-dark-soft);
    font-size: 14px;
}

.article-card .text-link {
    color: var(--text-dark);
    border-color: var(--line-dark);
}

.article-meta {
    margin: 18px 0 0;
    color: var(--text-dark-soft);
    font-size: 12px;
}

.article-empty {
    padding: 52px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #fff;
}

.article-empty h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 36px;
}

.article-empty .button-primary,
.article-actions .button-primary {
    color: var(--white);
    background: var(--text-dark);
}

.article-document {
    padding-top: 34px;
}

.article-header {
    padding-bottom: 42px;
    border-bottom: 1px solid var(--line-dark);
}

.article-media {
    margin: 48px 0 0;
}

.article-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.article-content {
    margin-top: 48px;
    color: #38404d;
    font-size: 17px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2em;
    color: var(--text-dark);
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.article-content a,
.article-tags a {
    color: #355be4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content img {
    height: auto;
    border-radius: var(--radius);
}

.article-footer,
.article-navigation {
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
}

.article-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.article-navigation a {
    display: grid;
    gap: 5px;
}

.article-navigation span {
    color: var(--text-dark-soft);
    font-size: 11px;
    text-transform: uppercase;
}

.article-error {
    min-height: 55vh;
    display: grid;
    align-items: center;
}

.article-error .content-shell {
    padding: 70px 0;
}

.article-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-actions .button-secondary {
    color: var(--text-dark);
    border-color: var(--line-dark);
    background: #fff;
}

.content-shell {
    width: min(820px, calc(100vw - 48px));
    margin-inline: auto;
}

.content-kicker {
    color: var(--blue-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-title {
    margin-top: 15px;
}

.content-meta {
    margin-top: 18px;
    color: var(--text-dark-soft);
    font-size: 13px;
}

.content-entry {
    margin-top: 44px;
    color: #38404d;
}

.content-entry h2,
.content-entry h3 {
    color: var(--text-dark);
    font-family: var(--font-display);
    letter-spacing: -0.025em;
}

.content-entry a {
    color: #355be4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-entry img {
    height: auto;
    margin-block: 34px;
    border-radius: var(--radius);
}

.post-list {
    margin-top: 48px;
    display: grid;
    gap: 1px;
    background: var(--line-dark);
}

.post-card {
    padding: 28px;
    background: #fff;
}

.post-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: -0.03em;
}

.post-card p {
    color: var(--text-dark-soft);
}

.not-found-actions {
    margin-top: 28px;
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
        gap: 48px;
    }

    .hero h1 {
        font-size: clamp(48px, 6.2vw, 66px);
    }

    .nav-links > a:not(.nav-cta),
    .lang-switch {
        padding-inline: 9px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-wide {
        grid-column: span 1;
    }

    .service-card:not(.service-card-wide) h3 {
        font-size: 26px;
    }
}

@media (max-width: 900px) {
    :root {
        --shell: min(100% - 36px, 740px);
    }

    .site-header {
        top: 12px;
    }

    .nav-shell {
        width: calc(100vw - 24px);
        min-height: 62px;
        padding: 7px 8px 7px 13px;
        border-radius: 14px;
    }

    .menu-toggle {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        padding: 12px;
        display: grid;
        gap: 4px;
        visibility: hidden;
        opacity: 0;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 14px;
        background: rgba(7, 9, 13, 0.98);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
        transform: translateY(-8px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .nav-links.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links > a:not(.nav-cta),
    .lang-switch,
    .nav-cta {
        width: 100%;
        min-height: 47px;
        padding: 12px 13px;
        justify-content: space-between;
        text-align: left;
    }

    .lang-switch {
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        margin: 7px 0 0;
    }

    .nav-cta {
        margin: 2px 0 0;
    }

    .hero {
        min-height: auto;
        padding: 132px 0 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .hero-copy {
        text-align: center;
    }

    .status-pill,
    .hero-actions {
        margin-inline: auto;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero-meta {
        text-align: left;
    }

    .hero-visual {
        width: min(620px, 100%);
        margin-inline: auto;
    }

    .visual-frame {
        transform: none;
    }

    .section-heading,
    .approach-layout,
    .faq-layout,
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .approach-intro {
        position: static;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .engagement-card {
        min-height: 300px;
    }

    .outcomes-shell {
        grid-template-columns: 1fr;
    }

    .contact-shell {
        max-width: 740px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: calc(100vw - 28px);
    }

    html {
        scroll-padding-top: 86px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 8px;
    }

    .hero {
        padding: 118px 0 56px;
    }

    .status-pill {
        max-width: 100%;
        font-size: 10px;
    }

    .hero h1 {
        margin-top: 22px;
        font-size: clamp(42px, 13.3vw, 56px);
        line-height: 1.04;
    }

    .hero-lead {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-actions {
        margin-top: 28px;
        display: grid;
    }

    .hero-inner {
        gap: 40px;
    }

    .button {
        width: 100%;
    }

    .hero-meta {
        display: none;
    }

    .visual-topbar small {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .visual-frame figcaption {
        align-items: flex-start;
        flex-direction: column;
    }

    .strip-grid {
        padding: 16px 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .strip-grid span {
        min-height: 44px;
        padding: 0 8px;
        display: grid;
        place-items: center;
        font-size: 9px;
    }

    .strip-grid span:nth-child(3)::before {
        display: none;
    }

    .section {
        padding: 82px 0;
    }

    .section-heading {
        gap: 28px;
        margin-bottom: 38px;
    }

    .section h2,
    .contact h2,
    .content-title {
        font-size: clamp(34px, 10.7vw, 46px);
        line-height: 1.08;
    }

    .section-heading > p,
    .approach-intro > p:not(.eyebrow),
    .contact-copy > p:not(.eyebrow) {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 385px;
        padding: 22px;
    }

    .service-card h3,
    .service-card:not(.service-card-wide) h3 {
        font-size: 26px;
    }

    .process-item {
        min-height: 0;
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .process-item h3 {
        font-size: 25px;
    }

    .engagement-card {
        min-height: 320px;
        padding: 23px;
    }

    .outcomes {
        padding: 28px 0;
    }

    .outcomes-shell {
        width: calc(100vw - 20px);
        padding: 32px 20px;
        gap: 36px;
        border-radius: 22px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .outcomes-grid article {
        min-height: 138px;
        padding: 20px;
    }

    .insight-row {
        padding: 22px 0;
        grid-template-columns: 35px 1fr;
        gap: 14px;
    }

    .insight-row:hover {
        padding-inline: 6px;
    }

    .insight-row p {
        display: none;
    }

    .insight-row h3 {
        font-size: 18px;
    }

    .faq-list summary {
        padding: 22px 40px 22px 0;
        font-size: 16px;
    }

    .contact {
        padding: 82px 0;
    }

    .contact-shell {
        gap: 42px;
    }

    .inquiry-form {
        padding: 22px 16px;
        border-radius: 17px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .field-full {
        grid-column: auto;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-main {
        padding: 58px 0 42px;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .content-main {
        padding: 124px 0 72px;
    }

    .content-shell {
        width: calc(100vw - 28px);
    }

    .article {
        padding: 112px 0 72px;
    }

    .article .content-shell {
        width: calc(100vw - 28px);
    }

    .article-hero h1,
    .article-header h1,
    .article-error h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .article-grid,
    .article-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .article-empty {
        padding: 28px 20px;
    }

    .article-actions {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
    }
}
