/*
 * AB TechCare public website
 * --------------------------
 * Kept intentionally plain and readable: PHP renders the content, CSS handles
 * the mood, and a very small JavaScript file handles theme/menu behaviour.
 */

:root {
    --bg: #070a0e;
    --bg-soft: #0c1117;
    --panel: #111821;
    --panel-2: #151e29;
    --line: #24303d;
    --line-strong: #3a4a5d;
    --text: #f5f7fa;
    --muted: #9aa7b6;

    --accent: #3d9cff;
    --accent-2: #73bdff;
    --accent-deep: #156fc7;
    --accent-rgb: 61, 156, 255;

    --good: #62d995;
    --danger: #ff6f79;
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    --radius: 22px;
    --container: 1160px;
    --transition: 180ms ease;
}

/* Each opening choice gives the site its own colour grade and small design cues. */
html[data-journey="web-development"] {
    --accent: #776dff;
    --accent-2: #aaa4ff;
    --accent-deep: #564bd7;
    --accent-rgb: 119, 109, 255;
    --radius: 17px;
}

html[data-journey="it-support"] {
    --accent: #298fff;
    --accent-2: #70c0ff;
    --accent-deep: #0d69c7;
    --accent-rgb: 41, 143, 255;
    --radius: 22px;
}

html[data-journey="pos-solutions"] {
    --accent: #ed812d;
    --accent-2: #ffb76e;
    --accent-deep: #b95510;
    --accent-rgb: 237, 129, 45;
    --radius: 14px;
}

html[data-journey="network-cloud"] {
    --accent: #14bdb2;
    --accent-2: #6adfd7;
    --accent-deep: #087f79;
    --accent-rgb: 20, 189, 178;
    --radius: 27px;
}

html[data-journey="business-systems"] {
    --accent: #a45ce8;
    --accent-2: #d09af9;
    --accent-deep: #7132aa;
    --accent-rgb: 164, 92, 232;
    --radius: 19px;
}

html[data-theme="light"] {
    --bg: #f5f7fa;
    --bg-soft: #edf1f5;
    --panel: #ffffff;
    --panel-2: #f9fbfd;
    --line: #dce3ea;
    --line-strong: #bdc9d5;
    --text: #101722;
    --muted: #647181;
    --shadow: 0 24px 60px rgba(20, 35, 50, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    transition: background-color var(--transition), color var(--transition);
}

body::selection {
    background: rgba(var(--accent-rgb), 0.25);
}

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

a {
    color: inherit;
}

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

.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    color: var(--accent-2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.text-link {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: var(--accent-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text) !important;
    border-color: var(--line-strong);
}

.btn-outline:hover {
    border-color: var(--accent);
    box-shadow: none;
}

.btn-small {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 11px;
}

/* Theme button */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.theme-toggle:hover {
    border-color: var(--line-strong);
}

.theme-toggle.compact {
    width: 40px;
    padding: 0;
}

/* -------------------------------------------------------
   Opening / Springfield-style entry screen
   ------------------------------------------------------- */
.welcome-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(var(--accent-rgb), 0.12), transparent 30%),
        radial-gradient(circle at 12% 80%, rgba(var(--accent-rgb), 0.07), transparent 27%),
        var(--bg);
}

.welcome-shell {
    width: min(1280px, calc(100% - 42px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.welcome-topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.welcome-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.welcome-brand strong,
.welcome-brand small {
    display: block;
}

.welcome-brand strong {
    font-size: 15px;
    letter-spacing: 0.03em;
}

.welcome-brand small {
    color: var(--muted);
    font-size: 10px;
}

.welcome-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 0 72px;
}

.welcome-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 42px;
}

.welcome-personal h1 {
    max-width: 850px;
    margin: 15px 0 22px;
    font-size: clamp(50px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.welcome-personal h1 em {
    color: var(--accent-2);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.welcome-personal p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.welcome-logo-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--panel) 88%, transparent);
    box-shadow: var(--shadow);
}

.welcome-logo-card img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.welcome-logo-card span,
.welcome-logo-card small {
    display: block;
}

.welcome-logo-card span {
    font-weight: 900;
}

.welcome-logo-card small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.welcome-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.welcome-choice {
    min-height: 120px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.welcome-choice:hover,
.welcome-choice:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.11), var(--panel));
    outline: none;
}

.welcome-choice-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 900;
}

.welcome-choice-copy {
    min-width: 0;
}

.welcome-choice-copy strong,
.welcome-choice-copy small {
    display: block;
}

.welcome-choice-copy strong {
    font-size: 14px;
}

.welcome-choice-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.welcome-choice-arrow {
    color: var(--muted);
    font-size: 18px;
    transition: transform var(--transition), color var(--transition);
}

.welcome-choice:hover .welcome-choice-arrow,
.welcome-choice:focus-visible .welcome-choice-arrow {
    color: var(--accent-2);
    transform: translateX(3px);
}

/* Preview each option with its own colour before the visitor commits. */
.welcome-choice[data-journey-preview="web-development"] { --choice-accent: #776dff; }
.welcome-choice[data-journey-preview="it-support"] { --choice-accent: #298fff; }
.welcome-choice[data-journey-preview="pos-solutions"] { --choice-accent: #ed812d; }
.welcome-choice[data-journey-preview="network-cloud"] { --choice-accent: #14bdb2; }
.welcome-choice[data-journey-preview="business-systems"] { --choice-accent: #a45ce8; }
.welcome-choice[data-journey-preview="general"] { --choice-accent: #3d9cff; }

.welcome-choice:hover {
    box-shadow: inset 3px 0 0 var(--choice-accent, var(--accent));
}

.welcome-footnote {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 10px;
}

/* -------------------------------------------------------
   Header / navigation
   ------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
}

.brand-mark-wrap,
.footer-mark-wrap {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
}

.brand-mark-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
}

.brand-mark {
    width: 42px;
    height: 38px;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.035em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 260px;
    margin-right: auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--muted);
    font-size: 9px;
}

.journey-badge > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journey-badge a {
    color: var(--accent-2);
    font-weight: 800;
    text-decoration: none;
}

.journey-badge-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav > a:not(.btn),
.site-footer a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.main-nav > a:hover,
.main-nav > a.active,
.site-footer a:hover {
    color: var(--text);
}

.nav-toggle,
.nav-actions-mobile {
    display: none;
}

/* -------------------------------------------------------
   Main homepage
   ------------------------------------------------------- */
.main-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 74px;
}

.main-hero::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    right: -260px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 66%);
    pointer-events: none;
}

.main-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    gap: 58px;
    align-items: center;
}

.journey-kicker,
.page-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 10px;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-2);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.personal-intro {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
}

.main-hero h1 {
    max-width: 800px;
    margin: 16px 0 24px;
    font-size: clamp(52px, 6.8vw, 90px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.main-hero h1 em {
    display: block;
    color: var(--accent-2);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-copy {
    max-width: 710px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 10px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 14px rgba(98, 217, 149, 0.42);
}

.journey-visual-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(165deg, var(--panel-2), var(--panel));
    box-shadow: var(--shadow);
}

.journey-visual-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.journey-visual-top small,
.journey-visual-top strong {
    display: block;
}

.journey-visual-top small {
    color: var(--muted);
    font-size: 9px;
}

.journey-visual-top strong {
    margin-top: 2px;
    font-size: 13px;
}

.journey-visual-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 13px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-2);
    font-size: 10px;
    font-weight: 900;
}

.journey-visual-art {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.13), transparent 55%);
}

.journey-visual-art::before,
.journey-visual-art::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.visual-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-2);
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.visual-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.55), transparent);
}

.visual-line-one {
    left: 10%;
    right: 10%;
    top: 32%;
    transform: rotate(-8deg);
}

.visual-line-two {
    left: 15%;
    right: 5%;
    bottom: 29%;
    transform: rotate(10deg);
}

.visual-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.65);
}

.visual-dot-one {
    left: 20%;
    top: 28%;
}

.visual-dot-two {
    right: 18%;
    bottom: 26%;
}

.journey-visual-copy {
    padding: 22px;
}

.journey-visual-copy h2 {
    margin: 7px 0 9px;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.journey-visual-copy p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
}

/* The illustration itself changes character with the chosen journey. */
html[data-journey="web-development"] .journey-visual-art {
    background-color: rgba(var(--accent-rgb), 0.035);
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}

html[data-journey="web-development"] .journey-visual-art::before {
    inset: 18% 18%;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    border-radius: 16px;
}

html[data-journey="it-support"] .journey-visual-art {
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.16), transparent 58%);
}

html[data-journey="it-support"] .journey-visual-art::before {
    width: 230px;
    height: 230px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(var(--accent-rgb), 0.035), 0 0 0 52px rgba(var(--accent-rgb), 0.025);
}

html[data-journey="pos-solutions"] .journey-visual-art {
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(var(--accent-rgb), 0.08) 12% 13%, transparent 13% 87%, rgba(var(--accent-rgb), 0.08) 87% 88%, transparent 88%),
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), transparent 62%);
}

html[data-journey="pos-solutions"] .journey-visual-art::before {
    width: 150px;
    height: 185px;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    border: 1px dashed rgba(var(--accent-rgb), 0.42);
    border-radius: 7px;
    background: rgba(var(--accent-rgb), 0.03);
}

html[data-journey="network-cloud"] .journey-visual-art {
    background-color: rgba(var(--accent-rgb), 0.025);
    background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.38) 1px, transparent 1.6px);
    background-size: 25px 25px;
}

html[data-journey="network-cloud"] .journey-visual-art::before {
    inset: 15% 21%;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    border-radius: 999px;
}

html[data-journey="business-systems"] .journey-visual-art {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.11), transparent 60%);
}

html[data-journey="business-systems"] .journey-visual-art::before {
    width: 150px;
    height: 100px;
    left: 22%;
    top: 22%;
    border: 1px solid rgba(var(--accent-rgb), 0.32);
    border-radius: 13px;
    box-shadow: 36px 30px 0 rgba(var(--accent-rgb), 0.06), 36px 30px 0 1px rgba(var(--accent-rgb), 0.26);
}

/* -------------------------------------------------------
   Shared sections and cards
   ------------------------------------------------------- */
.human-process,
.section {
    padding: 82px 0;
}

.human-process {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.section.alt {
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    background: var(--bg-soft);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
    margin: 7px 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.section-head p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.compact-head {
    margin-bottom: 28px;
}

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

.process-step {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.process-step > span {
    color: var(--accent-2);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.process-step h3 {
    margin: 18px 0 8px;
    font-size: 18px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 17px;
}

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card {
    position: relative;
    overflow: hidden;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}

.card h3 {
    margin: 12px 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--bg-soft);
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 900;
}

.service-card.is-match,
.service-detail.is-match {
    border-color: rgba(var(--accent-rgb), 0.65);
    background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.08), var(--panel) 54%);
}

.match-label {
    display: inline-flex;
    margin-top: 13px;
    color: var(--accent-2);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.match-label.always-visible {
    margin: 0;
}

.service-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.tag {
    display: inline-flex;
    margin: 6px 5px 0 0;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
}

.section-link-row {
    margin-top: 24px;
}

/* Personal/about section */
.about-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 58px;
    align-items: center;
}

.about-photo-card {
    display: grid;
    place-items: center;
    min-height: 390px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.12), transparent 45%),
        var(--panel);
    box-shadow: var(--shadow);
}

.about-photo-card img {
    max-width: 340px;
    max-height: 330px;
    object-fit: contain;
}

.about-copy h2 {
    margin: 7px 0 18px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.about-copy > p {
    max-width: 710px;
    color: var(--muted);
}

.personal-note {
    margin: 28px 0 !important;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    color: var(--text) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px !important;
    font-style: italic;
}

.large-logo-card {
    position: relative;
    align-content: center;
}

.logo-card-caption {
    width: 100%;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.logo-card-caption strong,
.logo-card-caption span {
    display: block;
}

.logo-card-caption span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

/* Projects */
.project-card {
    padding: 0;
}

.project-cover {
    position: relative;
    height: 230px;
    display: flex;
    align-items: end;
    padding: 21px;
    background: linear-gradient(135deg, #172637, #0b1119) center / cover;
}

.project-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 8, 13, 0.9), rgba(4, 8, 13, 0.05));
}

.project-cover > * {
    position: relative;
    z-index: 1;
    color: #fff;
}

.project-cover strong {
    font-size: 18px;
}

.project-meta {
    margin-bottom: 5px;
    color: var(--accent-2);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-body {
    padding: 21px;
}

.project-body p {
    margin-bottom: 16px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-actions .demo-link {
    color: var(--accent-2);
}

/* Testimonials */
.testimonial {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.65;
}

.testimonial footer {
    margin-top: 17px;
    color: var(--muted);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 10px;
}

/* CTA */
.cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    background:
        radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), 0.12), transparent 36%),
        linear-gradient(145deg, var(--panel-2), var(--panel));
    box-shadow: var(--shadow);
}

.cta h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.cta p {
    max-width: 630px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 11px;
}

/* -------------------------------------------------------
   Inner pages
   ------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 52px;
}

.contextual-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    right: -180px;
    top: -210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), transparent 66%);
}

.page-hero-chip {
    margin-bottom: 14px;
}

.page-hero h1 {
    max-width: 900px;
}

.page-hero h1 em {
    color: var(--accent-2);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.page-hero p {
    max-width: 760px;
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.content {
    max-width: 820px;
}

.content h2 {
    margin-top: 38px;
    letter-spacing: -0.025em;
}

.content p,
.content li {
    color: var(--muted);
}

.project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 44px;
    align-items: start;
}

.detail-image {
    width: 100%;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sticky-card {
    position: sticky;
    top: 105px;
}

.article-heading {
    max-width: 980px;
}

.article-content {
    font-size: 15px;
    line-height: 1.85;
}

.article-card a {
    color: var(--text);
    text-decoration: none;
}

.article-cover {
    height: 188px;
    margin-bottom: 17px;
    border-radius: calc(var(--radius) - 5px);
    background: var(--panel-2) center / cover;
}

.date {
    color: var(--accent-2);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.empty {
    padding: 22px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 12px;
}

/* Forms */
.form-card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 15px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text);
    font-size: 10px;
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.11);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.quote-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.next-steps h2,
.contact-aside h2 {
    margin: 7px 0 14px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.next-steps > p,
.contact-aside > p {
    color: var(--muted);
}

.benefit-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.benefit {
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--panel);
    color: var(--muted);
    font-size: 11px;
}

.benefit strong {
    color: var(--accent-2);
}

.contact-card {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.contact-card small,
.contact-card a,
.contact-card span {
    display: block;
}

.contact-card small {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-card a,
.contact-card span {
    margin-top: 3px;
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
}

.flash {
    margin-top: 18px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 11px;
}

.flash.success {
    border-color: rgba(98, 217, 149, 0.35);
    background: rgba(98, 217, 149, 0.08);
}

.flash.error {
    border-color: rgba(255, 111, 121, 0.35);
    background: rgba(255, 111, 121, 0.08);
}

/* -------------------------------------------------------
   Footer
   ------------------------------------------------------- */
.site-footer {
    padding: 60px 0 22px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.7fr 0.9fr 0.8fr;
    gap: 36px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-mark-wrap {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 17px;
}

.footer-mark {
    width: 55px;
    height: 48px;
    object-fit: contain;
}

.footer-grid p,
.footer-grid span {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.footer-grid h4 {
    margin: 0 0 5px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-journey {
    color: var(--text) !important;
    font-size: 12px !important;
}

.review-link {
    color: var(--accent-2) !important;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

.floating-help {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.floating-help::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--good);
}

/* -------------------------------------------------------
   Responsive behaviour
   ------------------------------------------------------- */
@media (max-width: 1080px) {
    .main-nav {
        gap: 12px;
    }

    .journey-badge {
        display: none;
    }

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

    .welcome-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .welcome-logo-card {
        max-width: 430px;
    }
}

@media (max-width: 900px) {
    .nav-actions-mobile {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-left: auto;
    }

    .nav-toggle {
        display: block;
        border: 0;
        background: transparent;
        color: var(--text);
        font-size: 23px;
        cursor: pointer;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--panel);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav .theme-toggle {
        display: none;
    }

    .main-hero-grid,
    .about-split,
    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .journey-visual-card {
        max-width: 680px;
    }

    .about-photo-card {
        max-width: 620px;
        min-height: 330px;
    }

    .process-grid,
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .section-head,
    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .welcome-choices {
        grid-template-columns: 1fr 1fr;
    }

    .welcome-main {
        padding-top: 28px;
    }

    .welcome-personal h1 {
        font-size: 54px;
    }

    .welcome-footnote {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 620px) {
    .container,
    .welcome-shell {
        width: min(100% - 26px, var(--container));
    }

    .brand-mark-wrap {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .brand-mark {
        width: 38px;
        height: 34px;
    }

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

    .main-hero {
        padding: 52px 0 56px;
    }

    .main-hero h1 {
        font-size: 48px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .human-process,
    .section {
        padding: 62px 0;
    }

    .process-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .about-photo-card {
        min-height: 280px;
        padding: 20px;
    }

    .about-photo-card img {
        max-height: 250px;
    }

    .cta {
        padding: 27px;
    }

    .page-hero {
        padding: 56px 0 38px;
    }

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

    .floating-help {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .welcome-choices {
        grid-template-columns: 1fr;
    }

    .welcome-personal h1 {
        font-size: 46px;
    }

    .welcome-logo-card {
        display: none;
    }

    .welcome-choice {
        min-height: 104px;
    }

    .main-hero h1 {
        font-size: 43px;
    }

    .journey-visual-art {
        height: 195px;
    }
}


/* =======================================================
   Springfield-style entry experience
   First ask what the visitor needs; only then show the site.
   ======================================================= */
.start-screen {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
}

.start-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--accent-rgb), .16), transparent 31%),
        radial-gradient(circle at 82% 72%, rgba(var(--accent-rgb), .11), transparent 34%),
        linear-gradient(135deg, var(--bg), var(--bg-soft));
    transition: background .35s ease;
}

.start-noise {
    position: fixed;
    inset: 0;
    opacity: .045;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.start-header {
    position: relative;
    z-index: 5;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.start-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
}

.start-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
}

.start-brand strong,
.start-brand small {
    display: block;
}

.start-brand strong {
    font-size: 14px;
    letter-spacing: -.02em;
}

.start-brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.start-main {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    min-height: calc(100vh - 100px);
    margin: 0 auto;
    padding: 42px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
    gap: 80px;
    align-items: center;
}

.start-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--accent-2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.start-kicker span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), .55);
}

.start-intro h1 {
    max-width: 650px;
    margin: 17px 0 22px;
    font-size: clamp(54px, 6.6vw, 92px);
    line-height: .93;
    letter-spacing: -.065em;
}

.start-intro h1 em {
    display: block;
    margin-top: 8px;
    color: var(--accent-2);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.start-lead {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.start-note {
    width: min(560px, 100%);
    margin-top: 34px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: color-mix(in srgb, var(--panel) 83%, transparent);
    backdrop-filter: blur(16px);
}

.start-note img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
}

.start-note strong {
    font-size: 12px;
}

.start-note p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.start-selector {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    box-shadow: 0 32px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(20px);
}

.start-selector-head {
    padding: 4px 4px 18px;
}

.start-selector-head > span {
    color: var(--accent-2);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.start-selector-head h2 {
    margin: 6px 0 0;
    font-size: 26px;
    letter-spacing: -.04em;
}

.start-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.start-option {
    --choice-accent: var(--accent);
    position: relative;
    min-height: 124px;
    padding: 16px;
    display: grid;
    grid-template-columns: 40px 1fr 22px;
    gap: 12px;
    align-items: start;
    text-align: left;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-2);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.start-option::after {
    content: "";
    position: absolute;
    inset: auto -36px -58px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--choice-accent) 16%, transparent);
    filter: blur(1px);
}

.start-option:hover,
.start-option:focus-visible {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--choice-accent) 58%, var(--line));
    background: color-mix(in srgb, var(--panel-2) 88%, var(--choice-accent));
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
    outline: none;
}

.start-option[data-journey-preview="web-development"] { --choice-accent:#776dff; }
.start-option[data-journey-preview="it-support"] { --choice-accent:#298fff; }
.start-option[data-journey-preview="pos-solutions"] { --choice-accent:#ed812d; }
.start-option[data-journey-preview="network-cloud"] { --choice-accent:#14bdb2; }
.start-option[data-journey-preview="business-systems"] { --choice-accent:#a45ce8; }
.start-option[data-journey-preview="general"] { --choice-accent:#3d9cff; }

.start-option-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--choice-accent) 15%, transparent);
    color: color-mix(in srgb, var(--choice-accent) 78%, white);
    font-size: 10px;
    font-weight: 900;
}

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

.start-option-copy strong,
.start-option-copy small {
    display: block;
}

.start-option-copy strong {
    padding-top: 2px;
    font-size: 12px;
}

.start-option-copy small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.start-option-arrow {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 15px;
    transition: transform .18s ease, color .18s ease;
}

.start-option:hover .start-option-arrow,
.start-option:focus-visible .start-option-arrow {
    color: var(--choice-accent);
    transform: translate(2px,-2px);
}

.start-help {
    margin: 16px 4px 0;
    color: var(--muted);
    font-size: 9px;
    text-align: center;
}

/* Light entry screen keeps the same composition without looking washed out. */
html[data-theme="light"] .start-backdrop {
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--accent-rgb), .12), transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(var(--accent-rgb), .08), transparent 34%),
        linear-gradient(135deg, #f7f9fc, #eef3f8);
}

@media (max-width: 980px) {
    .start-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 24px;
    }

    .start-intro h1 { max-width: 760px; }
    .start-lead { max-width: 760px; }
    .start-note { max-width: 760px; }
}

@media (max-width: 640px) {
    .start-header,
    .start-main {
        width: min(100% - 28px, 1240px);
    }

    .start-header { padding: 18px 0; }
    .start-main { padding: 25px 0 40px; gap: 28px; }
    .start-intro h1 { font-size: clamp(44px, 15vw, 64px); }
    .start-lead { font-size: 14px; }
    .start-note { margin-top: 24px; }
    .start-selector { padding: 16px; border-radius: 22px; }
    .start-options { grid-template-columns: 1fr; }
    .start-option { min-height: 96px; }
}
