:root {
    --surface: #f6f1e8;
    --surface-warm: #fffaf0;
    --surface-raised: #ffffff;
    --surface-muted: #ece6dc;
    --ink: #111114;
    --ink-muted: rgba(17, 17, 20, 0.68);
    --ink-soft: rgba(17, 17, 20, 0.52);
    --ink-faint: rgba(17, 17, 20, 0.34);
    --border: rgba(17, 17, 20, 0.1);
    --border-strong: rgba(17, 17, 20, 0.18);
    --cobalt: #3157d5;
    --cobalt-soft: rgba(49, 87, 213, 0.12);
    --teal: #0f766e;
    --amber: #d97706;
    --status-live: #16a34a;
    --term-bg: #101014;
    --term-text: #f4f1ea;
    --term-prompt: rgba(244, 241, 234, 0.5);
    --term-out: #8cb8ff;
    --term-err: #ff8a8a;
    --term-soft: rgba(244, 241, 234, 0.68);
    --term-meta: rgba(244, 241, 234, 0.5);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --shadow-soft: 0 24px 70px rgba(17, 17, 20, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 320px),
        var(--surface);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 140ms ease, border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

a:hover {
    color: var(--cobalt);
}

.mono {
    font-family: var(--font-mono);
    font-feature-settings: 'liga' 0;
}

.muted {
    color: var(--ink-faint);
}

.accent {
    color: var(--cobalt);
    font-weight: 650;
}

.container,
.page-section .container,
.cta-section .container,
.terminal-section .container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container.narrow {
    max-width: 840px;
}

.display-h1 {
    font-size: clamp(44px, 4.6vw, 60px);
    line-height: 1.0;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 22px;
}

.display-h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 760;
    letter-spacing: 0;
    margin: 0 0 14px;
}

.lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 650px;
    margin: 0 0 30px;
}

.section-tag {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.btn-primary-ink,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary-ink {
    background: var(--ink);
    color: var(--surface-warm);
    border-color: var(--ink);
    box-shadow: 0 12px 24px rgba(17, 17, 20, 0.16);
}

.btn-primary-ink:hover {
    color: var(--surface-warm);
    transform: translateY(-1px);
    background: #232329;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--ink);
    background: var(--surface-raised);
}

.site-nav {
    border-bottom: 1px solid var(--border);
    background: rgba(246, 241, 232, 0.84);
    backdrop-filter: saturate(180%) blur(14px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-nav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    color: var(--ink);
}


.site-nav__logo {
    width: 54px;
    height: 48px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.site-nav__name {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}
.site-nav__mark {
    width: 30px;
    height: 30px;
    background: var(--ink);
    color: var(--surface-warm);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
}

.site-nav__links {
    display: flex;
    gap: 22px;
    align-items: center;
    color: var(--ink-muted);
}

.site-nav__cta {
    background: var(--ink);
    color: var(--surface-warm);
    padding: 7px 13px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.site-nav__cta:hover {
    color: var(--surface-warm);
    background: #232329;
}

.site-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin: -6px -8px -6px 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.site-nav__toggle-bars,
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav__toggle-bars::before {
    transform: translateY(-6px);
}

.site-nav__toggle-bars::after {
    transform: translateY(6px);
}

.is-nav-open .site-nav__toggle-bars {
    background: transparent;
}

.is-nav-open .site-nav__toggle-bars::before {
    transform: translateY(0) rotate(45deg);
}

.is-nav-open .site-nav__toggle-bars::after {
    transform: translateY(0) rotate(-45deg);
}


.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(49, 87, 213, 0.13), transparent 28%),
        radial-gradient(circle at 72% 0%, rgba(217, 119, 6, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 74px 24px 66px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 2;
}

.hero__cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink-muted);
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.status-pill__dot {
    width: 7px;
    height: 7px;
    background: var(--status-live);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--status-live);
    flex: 0 0 auto;
}

.hero-visual {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: #17171d;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 20, 0.62), rgba(17, 17, 20, 0.05) 54%, rgba(17, 17, 20, 0.2));
    pointer-events: none;
}

.hero-visual__panel {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    background: rgba(255, 250, 240, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    padding: 16px;
    backdrop-filter: blur(12px);
}

.hero-visual__panel dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px 0 0;
}

.hero-visual__panel div {
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.hero-visual__panel dt {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cobalt);
    margin-bottom: 2px;
}

.hero-visual__panel dd {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.terminal-section {
    padding: 0 0 68px;
}

.terminal {
    background: var(--term-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 52px -20px rgba(16, 16, 20, 0.34);
}

.terminal__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.terminal__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
    font-size: 11px;
    color: rgba(244, 241, 234, 0.44);
    margin-left: 8px;
}

.terminal__body {
    padding: 20px 20px 24px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--term-text);
    margin: 0;
    white-space: pre-wrap;
    overflow-x: auto;
}

.t-prompt { color: var(--term-prompt); display: block; }
.t-cmd { color: var(--term-text); }
.t-out { color: var(--term-out); display: block; }
.t-err { color: var(--term-err); display: block; }
.t-soft { color: var(--term-soft); }
.t-meta { color: var(--term-meta); }

.terminal-caption {
    text-align: center;
    font-size: 11px;
    color: var(--ink-faint);
    margin: 13px 0 0;
    letter-spacing: 0.04em;
}


.page-section {
    padding: 74px 0 42px;
    border-top: 1px solid var(--border);
}

.page-section--intro {
    padding-top: 76px;
}

.page-section--credibility {
    padding: 60px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.section-head__hint {
    max-width: 330px;
    font-size: 13px;
    color: var(--ink-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 22px;
    color: var(--ink);
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    background: var(--surface-raised);
    color: var(--ink);
    transform: translateY(-3px);
    border-color: rgba(49, 87, 213, 0.32);
}

.service-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.service-card__index {
    font-size: 11px;
    color: var(--ink-faint);
}

.service-card__tag {
    font-size: 11px;
    color: var(--ink-soft);
    padding: 4px 8px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.48);
}

.service-card__title {
    font-size: 21px;
    line-height: 1.18;
    font-weight: 760;
    letter-spacing: 0;
    margin: auto 0 10px;
}


.service-card__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin: 0 0 14px;
}

.service-card--with-logo .service-card__title {
    margin-top: 0;
}

.service-detail__meta--logo {
    flex-wrap: wrap;
}

.service-detail__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-right: 2px;
}
.service-card__desc {
    font-size: 14px;
    line-height: 1.58;
    color: var(--ink-muted);
    margin: 0;
}

.page-section--service {
    padding: 58px 0;
}

.page-section--fluency {
    padding: clamp(54px, 7vw, 88px) 0;
    background:
        linear-gradient(180deg, #f7f3ea 0%, var(--surface) 100%),
        radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.08), transparent 28%);
    color: var(--ink);
}

.fluency-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 36px;
    align-items: start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 20px 54px rgba(21, 21, 21, 0.07);
}

.fluency-panel__intro .display-h2 {
    color: var(--ink);
}

.fluency-panel__intro .lede,
.fluency-panel__intro p {
    color: var(--ink-muted);
}

.fluency-panel__intro .section-tag {
    color: var(--ink-soft);
}

.fluency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fluency-card {
    min-height: 190px;
    padding: 20px;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 240, 0.82);
}

.fluency-card span {
    display: block;
    margin-bottom: 18px;
    color: var(--cobalt);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.fluency-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.15;
}

.fluency-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.58;
}

.fluency-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.service-detail {
    max-width: 820px;
    padding: 0 0 0 26px;
    border-left: 3px solid var(--border-strong);
}

.service-detail__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.service-detail p:not(.lede) {
    color: var(--ink-muted);
    max-width: 760px;
}

.page-section--agents {
    padding-top: 62px;
}

.agent-team-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 28px;
    align-items: start;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 26px;
}

.agent-team-panel__copy p {
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 0 18px;
}

.agent-team-panel__copy p:last-child {
    margin-bottom: 0;
}

.agent-team-orbit {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 240, 0.38)),
        radial-gradient(circle at 50% 50%, rgba(40, 72, 184, 0.12), transparent 34%);
}

.agent-team-orbit__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.agent-path {
    fill: none;
    stroke: rgba(40, 72, 184, 0.28);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke 260ms ease, stroke-width 260ms ease;
}

.agent-path.is-active {
    stroke: rgba(40, 72, 184, 0.72);
    stroke-width: 3;
}

.agent-hub,
.agent-role-card {
    position: absolute;
    z-index: 2;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 254, 250, 0.92);
    box-shadow: 0 16px 34px rgba(21, 21, 21, 0.08);
}

.agent-hub {
    left: 50%;
    top: 50%;
    width: min(190px, 42%);
    min-height: 126px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.agent-hub span,
.agent-role-card span {
    font-size: 11px;
    color: var(--cobalt);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.agent-hub strong {
    margin-top: 8px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.15;
}

.agent-role-card {
    width: 172px;
    min-height: 104px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.86;
    transform: translate3d(0, 0, 0) scale(1);
    transition: border-color 240ms ease, box-shadow 240ms ease, opacity 240ms ease, transform 240ms ease;
}

.agent-role-card strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.34;
}

.agent-role-card.is-active {
    border-color: rgba(40, 72, 184, 0.5);
    box-shadow: 0 18px 38px rgba(40, 72, 184, 0.16);
    opacity: 1;
    transform: translate3d(0, -4px, 0) scale(1.02);
}

.agent-role-card--sales { left: 5%; top: 26px; }
.agent-role-card--marketing { right: 5%; top: 26px; }
.agent-role-card--compliance { left: 2%; top: 158px; }
.agent-role-card--legal { right: 2%; top: 158px; }
.agent-role-card--design { left: 6%; bottom: 28px; }
.agent-role-card--research { right: 6%; bottom: 28px; }

.agent-packet {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--cobalt);
    box-shadow: 0 0 18px rgba(40, 72, 184, 0.54);
    opacity: 0;
    transform: translate(-50%, -50%);
}

.credibility-card {
    background: #17171d;
    color: var(--surface-warm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 30px;
    display: grid;
    grid-template-columns: 0.8fr 1.6fr;
    gap: 34px;
    align-items: start;
    box-shadow: 0 20px 50px rgba(17, 17, 20, 0.18);
}

.credibility-card .section-tag,
.credibility-card__label p {
    color: rgba(255, 250, 240, 0.56);
}

.credibility-card__label p {
    font-size: 14px;
    margin: 8px 0 0;
}

.credibility-card__body p {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 250, 240, 0.9);
    margin: 0 0 18px;
}

.credibility-card .accent {
    color: #9fb8ff;
}

.stack-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stack-chips li {
    font-size: 11px;
    color: rgba(255, 250, 240, 0.72);
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
}

.cta-section {
    padding: 72px 0 58px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-section .lede {
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
}

.cta-section h2 {
    margin-bottom: 14px;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    gap: 58px;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 18px 44px rgba(17, 17, 20, 0.08);
}

.form-row {
    margin-bottom: 18px;
}

.form-row .form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    width: 100%;
    background: var(--surface-warm);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 11px 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--ink);
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--cobalt);
    box-shadow: 0 0 0 3px var(--cobalt-soft);
    background: var(--surface-raised);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
}

.form-error {
    display: block;
    color: #b91c1c;
    font-size: 12px;
    margin-top: 6px;
}

.form-error-summary {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 13px;
}

.form-error-summary:empty {
    display: none;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.thanks-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 70px 24px;
}

.site-footer {
    border-top: 1px solid var(--border);
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    color: var(--ink-faint);
}

.site-footer__inner a {
    color: var(--ink-faint);
}

.site-footer__inner a:hover {
    color: var(--ink);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.text-muted { color: var(--ink-faint) !important; }
.small { font-size: 12px; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--surface-warm);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: top 0.18s ease;
}

.skip-link:focus-visible {
    top: 12px;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding-top: 54px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 420px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agent-team-panel {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fluency-panel {
        grid-template-columns: 1fr;
    }
}

.admin-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.admin-shell--narrow {
    max-width: 520px;
}

.admin-header,
.admin-panel__header,
.admin-table-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-header {
    margin-bottom: 24px;
}

.admin-header h1,
.admin-panel h1 {
    margin: 4px 0 0;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 780;
}

.admin-panel {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 18px 44px rgba(17, 17, 20, 0.08);
}

.admin-panel__header {
    display: block;
    margin-bottom: 22px;
}

.admin-panel__header p {
    margin: 8px 0 0;
    color: var(--ink-muted);
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    font-size: 14px;
}

.admin-form input {
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    background: var(--surface-raised);
    color: var(--ink);
}

.admin-form input:focus {
    outline: 2px solid var(--cobalt-soft);
    border-color: var(--cobalt);
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.admin-metrics a {
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.admin-metrics span {
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-metrics strong {
    font-size: 30px;
    line-height: 1;
}

.admin-table-section {
    margin-top: 26px;
}

.admin-db-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.admin-db-info span {
    color: var(--ink-soft);
}

.admin-db-info strong {
    font-family: var(--font-mono);
    font-weight: 600;
}

.admin-warning {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid rgba(217, 119, 6, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(217, 119, 6, 0.1);
    color: var(--ink);
}

.admin-warning p {
    margin: 0;
}

.admin-table-title {
    align-items: baseline;
    margin-bottom: 10px;
}

.admin-table-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 760;
}

.admin-table-title span {
    color: var(--ink-soft);
    font-size: 13px;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
}

.admin-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--surface-warm);
    color: var(--ink-muted);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table__wide {
    max-width: 360px;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .admin-shell {
        padding: 36px 16px 60px;
    }

    .admin-header,
    .admin-table-title {
        display: grid;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-nav__inner {
        align-items: center;
        gap: 12px;
    }

    .site-nav__toggle {
        display: inline-flex;
    }

    .site-nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 18px 16px;
        background: rgba(10, 14, 22, 0.97);
        backdrop-filter: saturate(180%) blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
        font-size: 16px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .is-nav-open .site-nav__links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav__links a {
        padding: 12px 8px;
        border-radius: var(--radius-md);
    }

    .site-nav__logo {
        width: 48px;
        height: 42px;
    }

    .site-nav__name {
        font-size: 16px;
    }

    .site-nav__cta {
        padding: 12px 8px;
        text-align: center;
        margin-top: 4px;
    }

    .display-h1 {
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.04;
    }

    .hero__inner,
    .page-section .container,
    .cta-section .container,
    .terminal-section .container,
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 350px;
    }

    .hero-visual__panel dl {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .agent-team-panel {
        padding: 20px;
    }

    .agent-team-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .fluency-grid {
        grid-template-columns: 1fr;
    }

    .fluency-card {
        min-height: auto;
    }

    .credibility-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .contact-form {
        padding: 22px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Grounded redesign pass: less synthetic, more studio/editorial. */
:root {
    --surface: #f4f1ea;
    --surface-warm: #fbfaf6;
    --surface-raised: #fffefa;
    --surface-muted: #e6e0d3;
    --ink: #151515;
    --ink-muted: rgba(21, 21, 21, 0.68);
    --ink-soft: rgba(21, 21, 21, 0.52);
    --ink-faint: rgba(21, 21, 21, 0.34);
    --border: rgba(21, 21, 21, 0.12);
    --border-strong: rgba(21, 21, 21, 0.2);
    --cobalt: #2848b8;
    --status-live: #2f7d4f;
}

body {
    background: var(--surface);
}

.site-nav {
    background: rgba(244, 241, 234, 0.94);
    backdrop-filter: blur(8px);
}

.site-nav__mark,
.site-nav__cta,
.btn-primary-ink {
    box-shadow: none;
}


.signal-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero .signal-field {
    opacity: 0.58;
    mix-blend-mode: multiply;
}

.hero__inner,
.hero__copy,
.hero-showcase {
    position: relative;
    z-index: 2;
}

.page-section--agents {
    position: relative;
    overflow: hidden;
}

.page-section--agents > .container {
    position: relative;
    z-index: 2;
}

.signal-field--agents {
    opacity: 0.62;
}

.page-section--agents::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(40, 72, 184, 0.1), transparent 30%),
        radial-gradient(circle at 82% 68%, rgba(15, 118, 110, 0.1), transparent 28%);
    pointer-events: none;
}

.hero {
    background: var(--surface);
}

.hero::before {
    display: none;
}

.hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 64px;
    align-items: end;
    padding-top: 86px;
    padding-bottom: 78px;
}

.hero__copy {
    max-width: 760px;
}

.display-h1 {
    max-width: 780px;
    font-weight: 760;
}

.status-pill {
    border-radius: var(--radius-md);
    background: transparent;
    padding: 0;
    border: 0;
    color: var(--ink-soft);
    margin-bottom: 34px;
}

.hero-proof {
    background: var(--surface-raised);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 410px;
}

.hero-proof__eyebrow {
    font-size: 11px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 26px;
}

.proof-item {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: 18px;
}

.proof-item--featured {
    margin-top: 0;
}

.proof-item__label {
    display: inline-block;
    color: var(--cobalt);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.proof-item h2 {
    font-size: 23px;
    line-height: 1.16;
    font-weight: 760;
    margin: 0 0 8px;
}

.proof-item p {
    color: var(--ink-muted);
    margin: 0;
    font-size: 14px;
}

.proof-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.proof-metrics span {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    font-size: 12px;
    padding: 5px 8px;
}

.page-section {
    background: var(--surface);
}

.service-card {
    background: transparent;
    border-color: var(--border-strong);
    box-shadow: none;
    min-height: 210px;
}

.service-card:hover {
    transform: none;
    background: var(--surface-raised);
    border-color: var(--ink);
}

.service-card__tag,
.stack-chips li {
    background: transparent;
}

.credibility-card {
    background: var(--surface-raised);
    color: var(--ink);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.credibility-card .section-tag,
.credibility-card__label p {
    color: var(--ink-soft);
}

.credibility-card__body p {
    color: var(--ink-muted);
}

.credibility-card .accent {
    color: var(--cobalt);
}

.stack-chips li {
    color: var(--ink-muted);
    border-color: var(--border-strong);
}

.contact-form {
    box-shadow: none;
    background: var(--surface-raised);
    border-color: var(--border-strong);
}

@media (max-width: 980px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 38px;
        align-items: start;
    }

    .hero-proof {
        min-height: auto;
    }
}

.service-card__head {
    min-height: 28px;
}

.service-card {
    justify-content: flex-start;
}

.service-card__title {
    margin: 0 0 10px;
    min-height: 30px;
    display: flex;
    align-items: flex-start;
}

@media (max-width: 720px) {
    .service-card__title {
        min-height: auto;
    }
}

/* Image-led motion pass */
.hero__inner {
    align-items: center;
}

.hero-showcase {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    isolation: isolate;
}

.hero-showcase--belfast {
    min-height: clamp(540px, 58vw, 680px);
    background: #11151d;
    box-shadow: 0 32px 78px rgba(21, 21, 21, 0.22);
}

.hero-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: photo-drift 16s ease-in-out infinite alternate;
}

.hero-showcase--belfast .hero-photo img {
    object-position: 52% 50%;
    transform: scale(1.01);
}

.hero-logo-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform: scale(1.02);
    transform-origin: center;
    animation: photo-drift 16s ease-in-out infinite alternate;
}

.hero-logo-glow__dot {
    position: absolute;
    width: clamp(42px, 4.4vw, 78px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.76;
    mix-blend-mode: screen;
}

.hero-logo-glow__dot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 8%, rgba(121, 184, 255, 0.72) 18%, rgba(0, 70, 255, 0.52) 38%, rgba(0, 70, 255, 0) 72%);
    filter: blur(0.5px);
    opacity: 0.34;
    transform: scale(0.86);
    animation: logo-node-glow 3.8s ease-in-out infinite;
}

.hero-logo-glow__dot::after {
    content: "";
    position: absolute;
    inset: -18%;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(80, 145, 255, 0.42), rgba(80, 145, 255, 0) 68%);
    opacity: 0.65;
    animation: logo-node-halo 3.8s ease-in-out infinite;
}

.hero-logo-glow__dot--one {
    left: 65%;
    top: 20%;
}

.hero-logo-glow__dot--two {
    left: 73%;
    top: 24.6%;
    animation-delay: 0.55s;
}

.hero-logo-glow__dot--two::before,
.hero-logo-glow__dot--two::after {
    animation-delay: 0.55s;
}

.hero-logo-glow__dot--three {
    left: 77%;
    top: 34.2%;
    animation-delay: 1.1s;
}

.hero-logo-glow__dot--three::before,
.hero-logo-glow__dot--three::after {
    animation-delay: 1.1s;
}

.hero-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0.42)),
        linear-gradient(90deg, rgba(21, 21, 21, 0.18), rgba(21, 21, 21, 0.02));
    z-index: 1;
    pointer-events: none;
}

.hero-showcase--belfast::after {
    background:
        linear-gradient(180deg, rgba(8, 12, 20, 0.04), rgba(8, 12, 20, 0.38)),
        linear-gradient(90deg, rgba(8, 12, 20, 0.3), rgba(8, 12, 20, 0.02) 42%, rgba(8, 12, 20, 0.22));
}

.hero-showcase--belfast::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: calc(var(--radius-lg) - 2px);
    pointer-events: none;
}

.motion-card {
    position: absolute;
    z-index: 3;
    width: min(245px, calc(100% - 36px));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: var(--radius-md);
    background: rgba(251, 250, 246, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 34px rgba(21, 21, 21, 0.18);
    display: grid;
    gap: 4px;
    animation: card-float 5.8s ease-in-out infinite;
}

.motion-card strong {
    font-size: 16px;
    line-height: 1.15;
}

.motion-card span:last-child {
    color: var(--ink-muted);
    font-size: 13px;
}

.motion-card__label {
    color: var(--cobalt);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.motion-card--xray {
    top: 24px;
    right: 24px;
}

.motion-card--planning {
    left: 24px;
    bottom: 72px;
    animation-delay: -2.4s;
}

.motion-card--agents {
    left: 32px;
    top: 46%;
    transform: translateY(-50%);
    animation-name: card-float-centered;
    animation-delay: -4.1s;
}

.workflow-orbit {
    position: absolute;
    z-index: 2;
    right: 48px;
    bottom: 132px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: orbit-spin 12s linear infinite;
}

.workflow-orbit span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--surface-raised);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.workflow-orbit span:nth-child(1) {
    top: -5px;
    left: 50%;
}

.workflow-orbit span:nth-child(2) {
    right: 7px;
    bottom: 20px;
}

.workflow-orbit span:nth-child(3) {
    left: 8px;
    bottom: 20px;
}

.hero-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(21, 21, 21, 0.74);
    color: var(--surface-warm);
}

.hero-marquee div {
    display: flex;
    width: max-content;
    gap: 28px;
    padding: 12px 18px;
    animation: marquee-slide 18s linear infinite;
}

.hero-marquee span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.motion-strip {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #151515;
    color: var(--surface-warm);
}

.motion-strip__inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 28px;
}

.motion-strip .section-tag {
    color: rgba(251, 250, 246, 0.55);
}

.motion-strip h2 {
    margin: 6px 0 0;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.12;
    font-weight: 760;
}

.workflow-steps {
    display: flex;
    gap: 10px;
    animation: steps-drift 8s ease-in-out infinite alternate;
}

.workflow-steps span {
    flex: 0 0 auto;
    border: 1px solid rgba(251, 250, 246, 0.22);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: rgba(251, 250, 246, 0.84);
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
}


@keyframes agent-path-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.agent-team-orbit.is-visible .agent-path {
    animation: agent-path-draw 900ms ease forwards;
}

.agent-team-orbit.is-visible .agent-path--marketing { animation-delay: 90ms; }
.agent-team-orbit.is-visible .agent-path--compliance { animation-delay: 180ms; }
.agent-team-orbit.is-visible .agent-path--legal { animation-delay: 270ms; }
.agent-team-orbit.is-visible .agent-path--design { animation-delay: 360ms; }
.agent-team-orbit.is-visible .agent-path--research { animation-delay: 450ms; }
@keyframes photo-drift {
    from {
        transform: scale(1.04) translate3d(-8px, 0, 0);
    }
    to {
        transform: scale(1.09) translate3d(10px, -6px, 0);
    }
}

@keyframes card-float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -9px, 0);
    }
}

@keyframes card-float-centered {
    0%, 100% {
        transform: translateY(-50%) translate3d(0, 0, 0);
    }
    50% {
        transform: translateY(-50%) translate3d(0, -9px, 0);
    }
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes marquee-slide {
    to {
        transform: translateX(-50%);
    }
}

@keyframes steps-drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-32px);
    }
}

@keyframes logo-node-glow {
    0%, 100% {
        opacity: 0.28;
        transform: scale(0.98);
    }
    42% {
        opacity: 0.76;
        transform: scale(1);
    }
    68% {
        opacity: 0.42;
        transform: scale(0.99);
    }
}

@keyframes logo-node-halo {
    0%, 100% {
        opacity: 0.24;
        transform: scale(0.98);
    }
    42% {
        opacity: 0.58;
        transform: scale(1.01);
    }
    68% {
        opacity: 0.34;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo img,
    .hero-logo-glow,
    .motion-card,
    .workflow-orbit,
    .hero-marquee div,
    .workflow-steps,
    .hero-logo-glow__dot::before,
    .hero-logo-glow__dot::after {
        animation: none;
    }
}

@media (max-width: 980px) {
    .hero-showcase {
        min-height: 440px;
    }

    .hero-showcase--belfast {
        min-height: min(620px, 72vw);
    }

    .motion-strip__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-showcase {
        min-height: 420px;
    }

    .hero-showcase--belfast {
        min-height: 460px;
    }

    .hero-showcase--belfast .hero-photo img {
        object-position: 51% 50%;
        transform: scale(1.09);
    }

    .motion-card {
        width: calc(100% - 32px);
    }

    .motion-card--xray {
        left: 16px;
        right: auto;
        top: 16px;
    }

    .motion-card--planning {
        left: 16px;
        bottom: 116px;
    }

    .motion-card--agents {
        left: 16px;
        top: 45%;
        bottom: auto;
    }

    .hero-showcase--belfast .motion-card {
        width: min(230px, calc(100% - 32px));
    }

    .hero-showcase--belfast .motion-card--xray {
        top: 18px;
    }

    .hero-showcase--belfast .motion-card--agents {
        top: auto;
        left: auto;
        right: 16px;
        bottom: 72px;
        transform: none;
        animation-name: card-float;
    }

    .hero-showcase--belfast .motion-card--planning {
        display: none;
    }

    .workflow-orbit {
        display: none;
    }

    .workflow-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        animation: none;
        padding-bottom: 0;
    }

    .workflow-steps span {
        flex: initial;
        width: 100%;
        padding: 11px 12px;
        white-space: normal;
    }
    .agent-team-orbit {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: auto;
        padding: 14px;
        overflow: visible;
    }

    .agent-team-orbit__lines,
    .agent-packet {
        display: none;
    }

    .agent-hub,
    .agent-role-card,
    .agent-role-card.is-active {
        position: static;
        width: auto;
        min-height: auto;
        transform: none;
    }

    .agent-hub {
        padding: 18px;
        min-height: 112px;
    }

    .agent-role-card {
        padding: 14px;
        opacity: 1;
    }
}

/* Reference-inspired interaction layer */
:root {
    --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

.grid-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    pointer-events: none;
}

.grid-background span {
    border-left: 1px solid rgba(21, 21, 21, 0.055);
}

.grid-background span:last-child {
    border-right: 1px solid rgba(21, 21, 21, 0.055);
}

.split-display {
    display: grid;
    gap: 2px;
}

.split-display em {
    font-family: var(--font-serif);
    font-weight: 600;
    font-style: italic;
    color: var(--cobalt);
}

.rotating-badge {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: var(--ink);
    display: inline-grid;
    place-items: center;
    margin-top: 34px;
    position: relative;
    background: var(--surface-raised);
    transition: transform 180ms ease, background 180ms ease;
}

.rotating-badge:hover {
    color: var(--ink);
    background: #dfe7ff;
    transform: rotate(-6deg) scale(1.03);
}

.rotating-badge svg {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    animation: badge-spin 14s linear infinite;
}

.rotating-badge text {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    fill: currentColor;
}

.rotating-badge span {
    font-size: 28px;
    transform: translateY(-1px);
}

.is-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .8, .2, 1);
}

.is-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface-raised);
}

.footer-marquee__track {
    display: flex;
    width: max-content;
    gap: 26px;
    padding: 13px 0;
    animation: marquee-slide 22s linear infinite;
}

.footer-marquee span {
    font-size: clamp(22px, 3.4vw, 54px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-marquee span:nth-child(even) {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--cobalt);
}




.footer-marquee {
    overflow: hidden;
    background: #151515;
    color: var(--surface-warm);
    border-top: 1px solid rgba(251, 250, 246, 0.12);
    border-bottom: 1px solid rgba(251, 250, 246, 0.12);
}

.footer-marquee__track {
    display: flex;
    width: max-content;
    gap: 14px;
    padding: 18px 0;
    animation: marquee-slide 26s linear infinite;
}

.footer-marquee span {
    font-family: var(--font-mono);
    font-size: clamp(12px, 1.7vw, 18px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(251, 250, 246, 0.78);
    padding: 8px 12px;
    border: 1px solid rgba(251, 250, 246, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.footer-marquee span:nth-child(even) {
    font-family: var(--font-mono);
    font-style: normal;
    font-weight: 600;
    color: rgba(251, 250, 246, 0.78);
}
.site-nav__name[data-scramble] {
    display: inline-flex;
    min-width: 124px;
}

@keyframes badge-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rotating-badge svg,
    .footer-marquee__track,
    .is-reveal {
        animation: none;
        transition: none;
    }
}

@media (max-width: 720px) {
    .rotating-badge {
        width: 96px;
        height: 96px;
        margin-top: 24px;
    }
}

.honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Cinematic homepage pass */
.site-nav {
    background: rgba(10, 14, 22, 0.84);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    color: var(--surface-warm);
}

.site-nav__brand,
.site-nav__links a {
    color: var(--surface-warm);
}

.site-nav__links a:not(.site-nav__cta) {
    color: rgba(251, 250, 246, 0.76);
}

.site-nav__links a:not(.site-nav__cta):hover {
    color: #ffffff;
}

.site-nav__links .site-nav__cta {
    background: #ffffff;
    color: #10141f;
}

.site-nav__links .site-nav__cta:hover {
    background: #dfe7ff;
    color: #10141f;
}

.hero--editorial {
    min-height: calc(100svh - 77px);
    background: #090d15;
    color: var(--surface-warm);
    border-bottom: 0;
    isolation: isolate;
}

.hero--editorial .signal-field {
    z-index: 2;
    opacity: 0.28;
    mix-blend-mode: screen;
}

.hero--editorial .hero__inner {
    min-height: calc(100svh - 77px);
    max-width: 1280px;
    grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.42fr);
    align-items: center;
    gap: 36px;
    padding-left: clamp(36px, 5vw, 72px);
    padding-right: clamp(24px, 4vw, 56px);
    padding-top: clamp(74px, 9vh, 118px);
    padding-bottom: clamp(66px, 9vh, 108px);
}

.hero--editorial .hero__copy {
    max-width: 710px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

.hero--editorial .display-h1 {
    max-width: 720px;
    color: #ffffff;
    font-weight: 800;
    /* font-size / line-height inherited from base .display-h1 for site-wide consistency */
}

.hero--editorial .lede {
    max-width: 610px;
    color: rgba(251, 250, 246, 0.84);
    font-size: clamp(18px, 1.6vw, 22px);
}

.hero--editorial .status-pill {
    color: rgba(251, 250, 246, 0.74);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero--editorial .btn-primary-ink {
    background: #ffffff;
    color: #10141f;
    border-color: #ffffff;
    box-shadow: 0 18px 52px rgba(49, 87, 213, 0.38);
}

.hero--editorial .btn-primary-ink:hover {
    background: #dfe7ff;
    color: #10141f;
}

.hero--editorial .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.hero--editorial .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.72);
    color: #ffffff;
}

.hero--editorial .rotating-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.hero--editorial .rotating-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.hero--editorial .hero-showcase--belfast {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #090d15;
}

.hero--editorial .hero-showcase--belfast .hero-photo img {
    object-position: 53% 50%;
    transform: scale(1.02);
}

.hero--editorial .hero-showcase--belfast::before {
    inset: 22px;
    z-index: 3;
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 0;
}

.hero--editorial .hero-showcase--belfast::after {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.72) 34%, rgba(5, 8, 14, 0.2) 66%, rgba(5, 8, 14, 0.42) 100%),
        linear-gradient(180deg, rgba(5, 8, 14, 0.22), rgba(5, 8, 14, 0.82)),
        radial-gradient(circle at 65% 48%, rgba(49, 87, 213, 0.06), transparent 34%);
}

.hero--editorial .motion-card {
    background: rgba(8, 12, 20, 0.62);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero--editorial .motion-card span:last-child {
    color: rgba(251, 250, 246, 0.72);
}

.hero--editorial .motion-card__label {
    color: #8fb1ff;
}

.hero--editorial .motion-card--xray {
    top: clamp(96px, 14vh, 148px);
    right: clamp(24px, 5vw, 76px);
}

.hero--editorial .motion-card--agents {
    left: auto;
    right: clamp(34px, 9vw, 154px);
    top: 47%;
}

.hero--editorial .motion-card--planning {
    left: auto;
    right: clamp(24px, 6vw, 98px);
    bottom: clamp(86px, 14vh, 150px);
}

.hero--editorial .workflow-orbit {
    right: clamp(240px, 26vw, 390px);
    bottom: clamp(90px, 13vh, 150px);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero--editorial .hero-marquee {
    background: rgba(5, 8, 14, 0.72);
}

.hero--editorial + .motion-strip {
    border-top: 0;
}

.page-section--services {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 6vw, 84px) 0 clamp(64px, 7vw, 96px);
    background:
        linear-gradient(180deg, #f7f3ea 0%, var(--surface) 100%),
        radial-gradient(circle at 20% 10%, rgba(40, 72, 184, 0.1), transparent 28%);
}

.page-section--pain-points {
    padding: clamp(56px, 7vw, 92px) 0;
    background:
        linear-gradient(180deg, #fbfaf6 0%, #f3eee5 100%),
        radial-gradient(circle at 84% 18%, rgba(15, 118, 110, 0.1), transparent 26%);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pain-item {
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 42px rgba(21, 21, 21, 0.05);
}

.pain-item span {
    display: block;
    margin-bottom: 18px;
    color: var(--cobalt);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pain-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.16;
    color: var(--ink);
}

.pain-item p {
    margin: 0;
    color: rgba(21, 21, 21, 0.66);
    font-size: 14px;
    line-height: 1.58;
}

.page-section--deliverables {
    padding: clamp(58px, 7vw, 96px) 0;
    background: #10141f;
    color: var(--surface-warm);
}

.deliverables-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 36px;
    align-items: start;
}

.deliverables-panel .display-h2 {
    color: #ffffff;
}

.deliverables-panel .section-tag {
    color: rgba(251, 250, 246, 0.56);
}

.deliverables-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.deliverables-list li {
    display: grid;
    grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(251, 250, 246, 0.14);
}

.deliverables-list li:first-child {
    border-top: 1px solid rgba(251, 250, 246, 0.14);
}

.deliverables-list strong {
    color: #ffffff;
    font-size: 17px;
}

.deliverables-list span {
    color: rgba(251, 250, 246, 0.74);
    line-height: 1.58;
}

.contact-prompts {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 8px;
}

.contact-prompts li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.5;
}

.contact-prompts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--cobalt);
    box-shadow: 0 0 12px rgba(49, 87, 213, 0.34);
}

.page-section--tool-preview {
    padding: clamp(58px, 7vw, 96px) 0;
    background:
        linear-gradient(180deg, #f7f3ea 0%, var(--surface) 100%),
        radial-gradient(circle at 16% 10%, rgba(49, 87, 213, 0.1), transparent 28%);
}

.tool-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 32px;
    align-items: stretch;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 22px 58px rgba(21, 21, 21, 0.08);
}

.tool-preview__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-preview__sample {
    display: grid;
    gap: 12px;
    min-height: 320px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: #10141f;
    color: var(--surface-warm);
    border: 1px solid rgba(21, 21, 21, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-preview__sample span {
    color: #9fb8ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-preview__sample pre {
    margin: 0;
    white-space: pre-wrap;
    color: rgba(251, 250, 246, 0.84);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
}

.page-section--services .section-head {
    align-items: end;
    margin-bottom: 26px;
}

.page-section--services .section-head__hint {
    color: rgba(21, 21, 21, 0.62);
}

.page-section--services .services-grid {
    gap: 0;
    border: 1px solid rgba(21, 21, 21, 0.18);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface-raised);
    box-shadow: 0 24px 70px rgba(21, 21, 21, 0.08);
}

.page-section--services .service-card {
    min-height: 250px;
    padding: 24px;
    border: 0;
    border-right: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 250, 246, 0.74));
}

.page-section--services .service-card:last-child {
    border-right: 0;
}

.page-section--services .service-card:hover {
    background:
        linear-gradient(180deg, rgba(223, 231, 255, 0.78), rgba(255, 255, 255, 0.94));
    border-color: rgba(21, 21, 21, 0.12);
}

.page-section--services .service-card__index {
    color: var(--cobalt);
    font-weight: 700;
}

.page-section--services .service-card__tag {
    border-color: rgba(21, 21, 21, 0.18);
    background: rgba(255, 255, 255, 0.76);
    color: rgba(21, 21, 21, 0.58);
}

.page-section--services .service-card__title {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.08;
    max-width: 230px;
}

.page-section--services .service-card__desc {
    color: rgba(21, 21, 21, 0.66);
}

.page-section--agents {
    padding-top: clamp(58px, 7vw, 92px);
    padding-bottom: clamp(64px, 7vw, 96px);
}

.page-section--credibility,
.cta-section {
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .hero--editorial .hero__inner {
        grid-template-columns: 1fr;
        min-height: calc(100svh - 116px);
        align-items: end;
        padding-top: 86px;
        padding-bottom: 118px;
    }

    .hero--editorial .hero__copy {
        max-width: 680px;
    }

    .hero--editorial .hero-showcase--belfast .hero-photo img {
        object-position: 58% 50%;
    }

    .hero--editorial .motion-card--xray {
        top: auto;
        right: 22px;
        bottom: 24px;
    }

    .hero--editorial .motion-card--agents,
    .hero--editorial .motion-card--planning,
    .hero--editorial .workflow-orbit {
        display: none;
    }

    .page-section--services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deliverables-panel {
        grid-template-columns: 1fr;
    }

    .tool-preview {
        grid-template-columns: 1fr;
    }

    .page-section--services .service-card {
        border-right: 1px solid rgba(21, 21, 21, 0.12);
        border-bottom: 1px solid rgba(21, 21, 21, 0.12);
    }

    .page-section--services .service-card:nth-child(2n) {
        border-right: 0;
    }

    .page-section--services .service-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 720px) {
    .site-nav {
        position: sticky;
    }

    .hero--editorial {
        min-height: calc(100svh - 122px);
    }

    .hero--editorial .hero__inner {
        min-height: calc(100svh - 122px);
        align-items: center;
        padding-left: 28px;
        padding-right: 22px;
        padding-top: 22px;
        padding-bottom: 72px;
    }

    .hero--editorial .display-h1 {
        max-width: 520px;
    }

    .hero--editorial .lede {
        font-size: 17px;
        max-width: 92%;
    }

    .hero--editorial .status-pill {
        font-size: 10px;
        max-width: 92%;
        line-height: 1.45;
        margin-bottom: 18px;
    }

    .hero--editorial .hero-showcase--belfast::before {
        inset: 12px;
    }

    .hero--editorial .hero-showcase--belfast::after {
        background:
            linear-gradient(180deg, rgba(5, 8, 14, 0.38) 0%, rgba(5, 8, 14, 0.26) 34%, rgba(5, 8, 14, 0.72) 68%, rgba(5, 8, 14, 0.94) 100%),
            linear-gradient(90deg, rgba(5, 8, 14, 0.6), rgba(5, 8, 14, 0.08), rgba(5, 8, 14, 0.44));
    }

    .hero--editorial .hero-showcase--belfast .hero-photo img {
        object-position: 56% 48%;
        transform: scale(1.12);
    }

    .hero--editorial .motion-card--xray {
        display: none;
    }

    .hero-logo-glow {
        display: none;
    }

    .hero--editorial .hero-marquee div {
        padding: 10px 14px;
    }

    .page-section--services {
        padding-top: 44px;
        padding-bottom: 58px;
    }

    .page-section--services .section-head {
        margin-bottom: 20px;
    }

    .page-section--services .services-grid {
        grid-template-columns: 1fr;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .pain-item {
        min-height: auto;
    }

    .deliverables-list li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .tool-preview__sample {
        min-height: auto;
    }

    .page-section--services .service-card,
    .page-section--services .service-card:nth-child(2n),
    .page-section--services .service-card:nth-last-child(-n + 2) {
        min-height: auto;
        padding: 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(21, 21, 21, 0.12);
    }

    .page-section--services .service-card:last-child {
        border-bottom: 0;
    }

    .page-section--services .service-card__title {
        max-width: none;
    }
}
