@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #08182c;
    --ink-soft: #40546c;
    --navy: #06182f;
    --navy-2: #092b52;
    --blue: #0869f7;
    --blue-bright: #00a8ff;
    --cyan: #29f2ff;
    --cyan-soft: #dffcff;
    --surface: #ffffff;
    --surface-alt: #f3f9ff;
    --line: #cfe3f4;
    --shadow: 0 24px 60px rgba(5, 48, 92, 0.12);
    --radius: 24px;
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--surface);
    font: 400 1rem/1.7 "DM Sans", sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 12%, rgba(41, 242, 255, .09), transparent 24rem),
        radial-gradient(circle at 90% 48%, rgba(8, 105, 247, .07), transparent 28rem);
}

h1, h2, h3, .nav-link, .btn, .submit-btn {
    font-family: "Manrope", sans-serif;
}

a {
    color: inherit;
}

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

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

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(207, 227, 244, .8);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 36px rgba(5, 48, 92, .1);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    flex: 0 0 auto;
    text-decoration: none;
}

.nav-logo img {
    width: 72px;
    height: 72px !important;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
}

.nav-link {
    display: block;
    padding: .62rem .9rem;
    border-radius: 999px;
    color: #304963;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #034cae;
    background: #e9f5ff;
}

.hero {
    min-height: 100svh;
    padding: 9.5rem 1.5rem 5rem;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(3, 17, 38, .97), rgba(5, 48, 94, .91)),
        linear-gradient(110deg, #051a34, #075bb2);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}

.hero::before {
    width: min(72vw, 850px);
    aspect-ratio: 1;
    right: -20%;
    top: -43%;
    border: 1px solid rgba(41, 242, 255, .32);
    box-shadow:
        0 0 0 70px rgba(41, 242, 255, .025),
        0 0 0 140px rgba(41, 242, 255, .018);
}

.hero::after {
    width: 360px;
    height: 360px;
    left: -130px;
    bottom: -140px;
    background: rgba(0, 168, 255, .13);
    filter: blur(30px);
}

.hero-content {
    width: min(900px, 100%);
}

.hero-content::before {
    content: "EXPERIMENTAL INTELLIGENCE • AI-DRIVEN DISCOVERY";
    display: inline-flex;
    margin-bottom: 1.5rem;
    padding: .52rem .9rem;
    color: #9df8ff;
    border: 1px solid rgba(41, 242, 255, .35);
    border-radius: 999px;
    background: rgba(41, 242, 255, .07);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.hero-title {
    max-width: 13ch;
    margin: auto;
    font-size: clamp(3.35rem, 8.5vw, 6.9rem);
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.hero-title::after {
    content: none;
}

.hero-subtitle {
    max-width: 760px;
    margin: 1.6rem auto 2.35rem;
    color: #d7ebff;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    line-height: 1.6;
    text-wrap: balance;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .9rem;
}

.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: .78rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-size: .93rem;
    font-weight: 800;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    color: #03224a;
    background: var(--cyan);
    box-shadow: 0 12px 34px rgba(41, 242, 255, .2);
}

.btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .06);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    background: #86f8ff;
    box-shadow: 0 16px 38px rgba(41, 242, 255, .28);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .13);
}

.scroll-indicator {
    position: absolute;
    bottom: 1.7rem;
    display: grid;
    justify-items: center;
    gap: .5rem;
    color: #a9c9e6;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border: solid var(--cyan);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: float 1.8s ease-in-out infinite;
}

@keyframes float {
    50% { transform: translateY(5px) rotate(45deg); }
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: clamp(5rem, 9vw, 8rem) 0;
}

section {
    position: relative;
}

.section-title {
    margin-bottom: 2.1rem;
    color: var(--ink);
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    text-align: center;
}

.section-title::before {
    content: "ALGOMIRA / ";
    display: block;
    margin-bottom: .8rem;
    color: #0474d9;
    font: 700 .7rem/1 "DM Sans", sans-serif;
    letter-spacing: .18em;
}

.section-text {
    max-width: 820px;
    margin: 0 auto 1.3rem;
    color: var(--ink-soft);
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.85;
}

.about {
    background:
        linear-gradient(rgba(207, 227, 244, .48) 1px, transparent 1px),
        linear-gradient(90deg, rgba(207, 227, 244, .48) 1px, transparent 1px),
        var(--surface-alt);
    background-size: 56px 56px;
}

.about .section-content {
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(207, 227, 244, .9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--shadow);
}

.highlights-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.2rem;
}

.highlight-card,
.project-card,
.blog-post,
.contact-info,
.contact-form {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 44px rgba(5, 48, 92, .07);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.highlight-card::before,
.project-card::before,
.blog-post::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(var(--cyan), var(--blue));
    opacity: 0;
    transition: opacity var(--transition);
}

.highlight-card:hover,
.project-card:hover,
.blog-post:hover {
    transform: translateY(-6px);
    border-color: #80d8ff;
    box-shadow: var(--shadow);
}

.highlight-card:hover::before,
.project-card:hover::before,
.blog-post:hover::before {
    opacity: 1;
}

.highlight-card {
    padding: 2rem;
}

.highlight-icon,
.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 1px solid #9cecff;
    border-radius: 14px;
    color: #0357bb;
    background: var(--cyan-soft);
    font-size: 0;
    font-weight: 800;
}

.highlight-card:nth-child(1) .highlight-icon::after { content: "P"; font-size: 1rem; }
.highlight-card:nth-child(2) .highlight-icon::after { content: "E"; font-size: 1rem; }
.highlight-card:nth-child(3) .highlight-icon::after { content: "D"; font-size: 1rem; }

.highlight-card h3,
.project-title {
    margin-bottom: .8rem;
    color: var(--ink);
    font-size: 1.32rem;
    line-height: 1.25;
}

.highlight-card p,
.project-description,
.blog-excerpt {
    color: var(--ink-soft);
}

.cta {
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(41, 242, 255, .14), transparent 38%),
        linear-gradient(120deg, var(--navy), var(--navy-2));
}

.cta .container {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.cta-content h2 {
    margin-bottom: .9rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.cta-content p {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: #c8def2;
    font-size: 1.08rem;
}

.footer {
    padding: 2rem;
    color: #89a9c6;
    background: #041326;
    text-align: center;
    font-size: .85rem;
}

.fade-in {
    animation: fadeIn .75s ease-out both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(22px); }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease-out, transform .65s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: none;
}

/* Interior pages */
.hero[style*="50vh"] {
    min-height: 58vh !important;
    padding-top: 10rem;
}

.hero[style*="50vh"] .hero-content::before {
    content: "ALGOMIRA BIOTECH";
}

.hero[style*="50vh"] .hero-title {
    font-size: clamp(3rem, 7vw, 5.8rem) !important;
}

.projects-section,
.blog-section,
.contact-section {
    background: var(--surface-alt);
}

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

.project-card {
    min-height: 100%;
}

.project-card:nth-child(1) { background: linear-gradient(135deg, #fff 70%, #e5fbff); }
.project-card:nth-child(2) { background: linear-gradient(135deg, #fff 70%, #e8f2ff); }
.project-card:nth-child(3) { background: linear-gradient(135deg, #fff 70%, #e4fbff); }
.project-card:nth-child(4) { background: linear-gradient(135deg, #fff 70%, #eaf4ff); }

.project-image {
    display: none;
}

.project-content {
    padding: clamp(1.7rem, 4vw, 2.5rem);
}

.project-content::before {
    content: "0" counter(project);
    display: block;
    margin-bottom: 2.6rem;
    color: #0570d3;
    font: 700 .72rem/1 "DM Sans", sans-serif;
    letter-spacing: .16em;
}

.projects-grid {
    counter-reset: project;
}

.project-card {
    counter-increment: project;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .48rem;
    margin-top: 1.35rem;
}

.tag {
    padding: .35rem .7rem;
    border: 1px solid #b9e9fb;
    border-radius: 999px;
    color: #0756a4;
    background: #edfbff;
    font-size: .72rem;
    font-weight: 700;
}

.blog-list {
    max-width: 900px;
    margin: auto;
}

.blog-post {
    padding: clamp(1.7rem, 4vw, 2.5rem);
    margin-bottom: 1.2rem;
}

.blog-meta {
    margin-bottom: .8rem;
    color: #35729e;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.blog-title {
    margin-bottom: .8rem;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.read-more,
.contact-link {
    color: #0566cc;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.read-more:hover,
.contact-link:hover {
    color: #003f91;
}

.contact-container {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 1.25rem;
}

.contact-info,
.contact-form {
    padding: clamp(1.7rem, 4vw, 2.5rem);
}

.contact-info {
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
}

.contact-item:nth-of-type(1) .contact-icon::after { content: "@"; font-size: .9rem; }
.contact-item:nth-of-type(2) .contact-icon::after { content: "W"; font-size: .8rem; }
.contact-item:nth-of-type(3) .contact-icon::after { content: "S"; font-size: .8rem; }
.contact-item:nth-of-type(4) .contact-icon::after { content: "P"; font-size: .8rem; }

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: .45rem;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: .86rem 1rem;
    color: var(--ink);
    border: 1px solid #bcd6eb;
    border-radius: 11px;
    background: #fbfdff;
    font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(0, 168, 255, .12);
}

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

.submit-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(110deg, #075bd4, #008dcc);
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 105, 247, .23);
}

.form-status {
    min-height: 1.5rem;
    margin-top: .8rem;
    color: #0756a4;
    font-size: .88rem;
}

@media (max-width: 800px) {
    .nav-container {
        width: min(100% - 24px, 1180px);
        min-height: 74px;
        gap: .6rem;
    }

    .nav-logo img {
        width: 58px;
        height: 58px !important;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: .5rem .54rem;
        font-size: .76rem;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-content::before {
        font-size: .62rem;
    }

    .highlights-grid,
    .projects-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 430px) {
    .nav-logo img {
        width: 52px;
    }

    .nav-link {
        padding-inline: .38rem;
        font-size: .69rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

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

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .fade-in-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Document-led Algomira site */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content::before {
    display: none;
}

.eyebrow,
.kicker {
    color: #0874d1;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero .eyebrow {
    margin-bottom: 1.4rem;
    color: #88f6ff;
}

.hero .hero-title {
    max-width: none;
    font-size: clamp(2.5rem, 5.6vw, 5rem);
}

.hero .hero-subtitle {
    max-width: 820px;
}

.split-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.section-heading h2,
.founder-copy h2,
.contact-info h2,
.contact-form h2 {
    margin: .8rem 0 1.25rem;
    color: var(--ink);
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.1;
    letter-spacing: -.05em;
}

.section-heading > p:last-child {
    max-width: 720px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.centered {
    max-width: 850px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.centered > p:last-child {
    margin-inline: auto;
}

.challenge {
    background: var(--surface-alt);
}

.challenge-copy > p {
    color: var(--ink-soft);
    font-size: 1.13rem;
}

.check-list {
    display: grid;
    gap: .85rem;
    margin-top: 2rem;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: .9rem 1rem .9rem 3rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #173957;
    background: #fff;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: #0376b7;
    font-weight: 800;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.process-card {
    min-height: 280px;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #fff, #f5fbff);
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.process-card:hover {
    border-color: #68c9ee;
    background: #dff3ff;
    box-shadow: 0 18px 42px rgba(5, 91, 154, .12);
    transform: translateY(-4px);
}

.process-card h3 {
    margin: 1rem 0 .75rem;
    font-size: 1.35rem;
}

.process-card p {
    color: var(--ink-soft);
}

.services-preview {
    background: #061a35;
}

.services-preview .section-heading h2 {
    max-width: 780px;
    color: #fff;
}

.services-preview .kicker {
    color: #73efff;
}

.service-list {
    margin-top: 3rem;
    border-top: 1px solid rgba(155, 215, 247, .23);
}

.service-row {
    display: grid;
    grid-template-columns: 55px 1.4fr 1fr 30px;
    gap: 1rem;
    align-items: center;
    padding: 1.65rem 0;
    color: #fff;
    border-bottom: 1px solid rgba(155, 215, 247, .23);
    text-decoration: none;
}

.service-row > span {
    color: #52e7fa;
    font-size: .75rem;
    font-weight: 800;
}

.service-row h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.service-row p {
    color: #a9c4dc;
    font-size: .9rem;
}

.service-row b {
    color: var(--cyan);
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.service-row:hover b {
    transform: translate(3px, -3px);
}

.founder-preview {
    background: var(--surface-alt);
}

.founder-grid {
    max-width: 900px;
}

.founder-copy > p:not(.kicker) {
    color: var(--ink-soft);
    font-size: 1.1rem;
}

.text-link {
    display: inline-flex;
    gap: .7rem;
    margin-top: 1.5rem;
    color: #0566cc;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link span {
    transition: transform var(--transition);
}

.page-hero {
    padding: 10.5rem 0 6rem;
    color: #fff;
    background:
        radial-gradient(circle at 85% 30%, rgba(41, 242, 255, .14), transparent 27rem),
        linear-gradient(125deg, #04162e, #083e70);
}

.page-hero .eyebrow {
    color: #7bf5ff;
}

.page-hero h1 {
    max-width: 980px;
    margin: 1.1rem 0 1.5rem;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 1.02;
    letter-spacing: -.065em;
}

.page-hero .container > p:last-child {
    max-width: 760px;
    color: #c6def2;
    font-size: 1.15rem;
}

.engagement-strip {
    border-bottom: 1px solid var(--line);
    background: #effaff;
}

.engagement-strip .container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-block: 1.2rem;
}

.engagement-strip span {
    padding: .35rem .75rem;
    border: 1px solid #b7e6f4;
    border-radius: 999px;
    color: #075d9f;
    font-size: .74rem;
    font-weight: 700;
}

.service-detail {
    scroll-margin-top: 80px;
}

.service-detail.alt {
    background: var(--surface-alt);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.service-intro h2 {
    margin: .7rem 0 1.2rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.service-intro > p:not(.kicker) {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.service-intro .service-note {
    margin-top: 1.2rem;
    padding: 1rem 0 1rem 1.1rem;
    border-left: 3px solid #3ccdea;
    font-size: .96rem;
}

.service-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-columns h3 {
    margin-bottom: 1rem;
    font-size: .86rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-columns ul {
    display: grid;
    gap: .68rem;
    color: var(--ink-soft);
    list-style: none;
}

.service-columns li {
    padding-bottom: .68rem;
    border-bottom: 1px solid var(--line);
}

.bio-section {
    background: var(--surface-alt);
}

.bio-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.bio-aside {
    position: sticky;
    top: 110px;
}

.founder-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 1.5rem;
    object-fit: cover;
    object-position: center 24%;
    border: 1px solid #93ddec;
    border-radius: var(--radius);
    box-shadow: 0 18px 46px rgba(5, 48, 92, .14);
}

.bio-aside h2 {
    font-size: 1.6rem;
}

.bio-aside > p {
    color: #3072a3;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .65rem;
    color: #0566cc;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #003f91;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.bio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
    margin-top: 1.4rem;
}

.bio-stats div,
.bio-stats > a {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.bio-stats > a {
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}

.bio-stats > a:hover {
    border-color: #68c9ee;
    background: #e7f7ff;
}

.bio-stats strong,
.bio-stats span {
    display: block;
}

.bio-stats strong {
    color: #0565b4;
    font: 800 1.4rem/1 "Manrope", sans-serif;
}

.bio-stats span {
    margin-top: .35rem;
    color: var(--ink-soft);
    font-size: .68rem;
    line-height: 1.35;
}

.bio-copy p {
    margin-bottom: 1.25rem;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.bio-copy a {
    color: #0566cc;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bio-copy a:hover {
    color: #003f91;
}

.experience-band {
    background: #061a35;
}

.experience-band .container {
    padding-block: 3rem;
}

.experience-band .kicker {
    color: #62ecfa;
}

.experience-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.2rem;
}

.experience-list span {
    padding: .55rem .9rem;
    border: 1px solid rgba(153, 222, 246, .27);
    border-radius: 999px;
    color: #d0e8f5;
    font-size: .8rem;
}

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

.contact-info > p:not(.kicker) {
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
}

.contact-info .contact-item {
    padding-left: 0;
}

.contact-info .contact-item span {
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .split-layout,
    .service-detail-grid,
    .bio-grid {
        grid-template-columns: 1fr;
    }

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

    .process-card {
        min-height: 0;
    }

    .process-card h3 {
        margin-top: 1rem;
    }

    .service-detail-grid {
        gap: 1.4rem;
    }

    .bio-aside {
        position: static;
    }
}

@media (max-width: 680px) {
    .service-row {
        grid-template-columns: 38px 1fr 24px;
    }

    .service-row p {
        display: none;
    }

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

    .engagement-strip .container {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .engagement-strip span {
        flex: 0 0 auto;
    }
}
