/* Layout and colour tokens. No framework, remote fonts, or runtime dependencies. */
:root {
    --ink: #0a0a0a;
    --graphite: #292929;
    --muted: #6b6b6b;
    --line: #d7d7d3;
    --paper: #fff;
    --soft: #f5f5f3;
    --accent: #963636;
    --accent-dark: #7a2b2b;
    --gutter: clamp(24px, 5vw, 80px)
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > .section-wrap {
    width: 100%;
}

.contact {
    flex: 1;
}

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

button {
    font: inherit;
    color: inherit
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent
}

button,
a,
summary {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 6px
}

[hidden] {
    display: none !important
}

h1,
h2,
h3,
p {
    margin: 0
}

p {
    line-height: 1.65
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -.055em
}

h2 {
    font-size: clamp(38px, 4.3vw, 66px);
    line-height: 1.04
}

p+p {
    margin-top: 20px
}

.section-wrap {
    padding: 100px var(--gutter);
    max-width: 1600px;
    margin: auto
}

.eyebrow {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 28px
}

.eyebrow.light {
    color: #eee
}

.header {
    height: 88px;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #eee
}

/* The logo SVG's viewBox is trimmed to the artwork, so it scales by height alone. */
.wordmark {
    display: inline-flex;
    flex-shrink: 0
}

.wordmark img {
    display: block;
    height: 64px;
    width: auto
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 15px
}

nav>a {
    padding: 12px 0
}

nav>a:hover {
    opacity: .6
}

nav>a[aria-current="page"] {
    opacity: 1;
    font-weight: 600
}

.menu-toggle {
    display: none
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 15px;
    background: #fff
}

.skip-link:focus {
    top: 10px
}

.hero {
    position: relative;
    min-height: 660px;
    height: min(780px, 83vh);
    color: #fff;
    isolation: isolate;
    overflow: hidden
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    filter: grayscale(1);
    z-index: -3
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .50) 75%), linear-gradient(0deg, rgba(0, 0, 0, .70), transparent 45%)
}

.hero-content {
    padding: 85px var(--gutter) 100px;
    max-width: 1100px
}

.hero .eyebrow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 38px
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex: none
}

h1 {
    font-size: clamp(60px, 7vw, 108px);
    line-height: .99;
    letter-spacing: -.065em
}

.hero-description {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.6;
    color: #e5e5e5
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 15px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    transition: background .2s, transform .2s
}

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

.button-primary {
    background: var(--accent);
    color: #fff;
    margin-top: 30px
}

.button-primary:hover {
    background: var(--accent-dark)
}

.intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    border-bottom: 1px solid var(--line)
}

.intro h2 {
    margin-bottom: 30px
}

.intro>div {
    max-width: 710px
}

.lead {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: -.02em
}

.intro p:not(.eyebrow):not(.lead) {
    font-size: 16px;
    color: var(--muted);
    max-width: 630px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 52px
}

.section-side {
    font-size: 14px;
    color: var(--muted);
    max-width: 330px
}

.pill {
    display: inline-flex;
    border: 1px solid #bdbdb6;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 10px;
    color: var(--ink);
    gap: 8px;
    align-items: center;
    margin-bottom: 18px
}

.section-side p {
    line-height: 1.6
}

.technology {
    background: var(--soft);
    max-width: none
}

.platform {
    display: grid;
    grid-template-columns: .87fr 1.13fr;
    gap: 65px;
    max-width: 1440px;
    margin: auto;
    align-items: center
}

.step {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 15px;
    width: 100%;
    text-align: left;
    border: 0;
    border-top: 1px solid #cacac5;
    background: transparent;
    padding: 24px 0;
    opacity: .65;
    transition: opacity .2s
}

.step:last-child {
    border-bottom: 1px solid #cacac5
}

.step.active,
.step:hover {
    opacity: 1
}

.step.active .step-number {
    background: var(--accent);
    color: #fff
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    width: 23px;
    font-size: 9px;
    border: 1px solid #aaa;
    border-radius: 50%;
    margin-top: 3px
}

.step strong {
    display: block;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -.035em;
    margin-bottom: 10px
}

.step strong+span {
    display: block;
    max-width: 300px;
    font-size: 13px;
    line-height: 1.65
}

.concept-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 26px;
    line-height: 1.6
}

.platform-preview {
    background: #fff;
    padding: 26px 30px 20px;
    box-shadow: 0 15px 40px #00000008;
    border: 1px solid #e3e3de;
    transform: rotate(-1deg)
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 22px
}

.mini-brand {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: -.6px
}

.preview-label {
    font-size: 8px;
    letter-spacing: .12em;
    color: var(--muted)
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 22px
}

.preview-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 9px
}

.preview-heading h3 {
    font-size: 25px;
    letter-spacing: -.04em
}

.preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-bottom: 24px
}

.preview-stats>div>span {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 8px
}

.preview-stats strong {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.04em
}

.preview-stats small {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    border-top: 1px solid #eee;
    padding-top: 17px;
    margin-bottom: 6px
}

.muted {
    color: var(--muted)
}

#chart-legend {
    font-size: 9px
}

.chart {
    width: 100%;
    display: block
}

.grid path {
    stroke: #e9e9e9;
    fill: none;
    stroke-width: 1
}

.axis-labels {
    fill: var(--muted);
    font-size: 10px
}

.area {
    fill: var(--ink);
    opacity: .035
}

.data-line {
    stroke: var(--ink);
    stroke-width: 2.5;
    fill: none
}

.data-points circle {
    fill: #fff;
    stroke: var(--ink);
    stroke-width: 2.5
}

.comparison-line {
    stroke: #999;
    stroke-dasharray: 6 5;
    stroke-width: 2;
    fill: none
}

.reading-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #eee;
    padding: 18px 0 14px;
    gap: 8px
}

.reading-row>span {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: .06em
}

.reading-row strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.04em;
    margin-top: 9px
}

.reading-row small {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 0
}

.preview-footnote {
    font-size: 9px;
    color: var(--muted);
    border-top: 1px solid #eee;
    padding-top: 14px
}

.development-note {
    max-width: 1440px;
    margin: 50px auto 0;
    padding-top: 22px;
    border-top: 1px solid #d4d4cf;
    display: flex;
    gap: 40px;
    align-items: baseline
}

.development-note>span {
    font-size: 9px;
    letter-spacing: .12em;
    white-space: nowrap
}

.development-note>p {
    font-size: 12px;
    color: var(--muted);
    max-width: 800px
}

.research {
    background: var(--graphite);
    color: white;
    overflow: hidden
}

.research-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center
}

.research h2 {
    margin-bottom: 30px
}

.research p:not(.eyebrow) {
    max-width: 530px;
    font-size: 15px;
    color: #bcbcbc
}

.research-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #bbb;
    margin-top: 35px
}

.research-status .status-dot {
    background: #999
}

.photo-slot.research-photo {
    aspect-ratio: 4/5;
    width: 100%;
    max-width: 460px;
    justify-self: end;
    background: #3a3a3a;
    border-color: #4a4a4a
}

.research-photo .photo-placeholder {
    background: linear-gradient(145deg, #3a3a3a, #323232);
    color: #a3a3a3
}

.research-photo .portrait-initials {
    color: #6b6b6b
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-bottom: 1px solid var(--line)
}

.location {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 32px
}

.story-copy .lead {
    margin-bottom: 25px
}

.story-copy>p:not(.lead) {
    font-size: 15px;
    color: var(--muted)
}

.mission {
    margin-top: 32px;
    border-left: 2px solid var(--accent);
    padding-left: 24px
}

.mission .eyebrow {
    margin-bottom: 12px;
    font-size: 9px
}

.mission p:last-child {
    font-size: 15px
}

.team {
    padding-top: 90px
}

/* Photo slots keep their size before and after real images are supplied. */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start
}

.photo-slot {
    position: relative;
    overflow: hidden;
    background: var(--soft);
    border: 1px solid #deded7;
    isolation: isolate
}

.portrait {
    aspect-ratio: 4/5;
    margin-bottom: 25px
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: linear-gradient(145deg, #f5f5f3, #e9e9e6);
    color: var(--muted)
}

.photo-placeholder>span:last-child {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.portrait-initials {
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 400;
    letter-spacing: -.06em;
    color: #aaa;
    line-height: 1
}

.photo-slot img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center 35%;
    filter: grayscale(1)
}

.photo-slot.has-photo .photo-placeholder {
    display: none
}

.team-card h3 {
    font-size: 28px;
    letter-spacing: -.045em;
    margin-bottom: 10px
}

.member-role {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted)
}

.team-bio {
    margin-top: 24px;
    border-top: 1px solid var(--line)
}

.team-bio summary {
    cursor: pointer;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    list-style: none
}

.team-bio summary::-webkit-details-marker {
    display: none
}

.team-bio summary span {
    font-size: 20px
}

.team-bio[open] summary span {
    transform: rotate(45deg)
}

.bio {
    margin-top: 18px;
    max-width: 730px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted)
}

.training-photo {
    aspect-ratio: 20/13;
    margin-top: 36px;
    max-width: 560px
}

.photo-slot.band-photo {
    aspect-ratio: 21/9;
    max-height: 720px;
    width: 100%;
    border: 0
}

.contact-photo {
    margin-top: 70px;
    aspect-ratio: 2/1
}
.contact {
    background: var(--soft);
    max-width: none;
    padding-top: 80px;
    padding-bottom: 90px
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 70px
}

.contact h2 {
    font-size: clamp(60px, 6.5vw, 100px);
    line-height: .98
}

.contact h2>span {
    color: var(--muted)
}

.contact-layout>div {
    max-width: 400px;
    padding-bottom: 6px
}

.contact-layout p {
    font-size: 15px;
    color: var(--muted)
}

.contact-layout p:first-child {
    font-size: 19px;
    color: var(--ink);
    line-height: 1.5
}

.contact-pending {
    font-size: 12px !important;
    color: var(--muted) !important;
    border-top: 1px solid #cacac5;
    margin-top: 30px;
    padding-top: 20px
}

.footer {
    background: var(--ink);
    color: #fff;
    padding: 72px var(--gutter) 32px;
    display: grid;
    grid-template-columns: minmax(0, 420px) auto;
    justify-content: space-between;
    gap: 48px 60px
}

/* The logo artwork is solid black, so inverting it gives white on the dark footer. */
.footer .wordmark img {
    filter: invert(1)
}

.footer-tagline {
    margin-top: 28px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.03em
}

.footer-description {
    margin-top: 16px;
    font-size: 14px;
    color: #a3a3a3
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px
}

.footer-links a[aria-disabled="true"] {
    color: #a3a3a3;
    cursor: default
}

.footer-legal {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--graphite);
    font-size: 12px;
    color: #a3a3a3
}

.footer a[href]:hover {
    opacity: .6
}

@media(min-width:1600px) {

    .technology>.section-heading,
    .team>.section-heading,
    .contact>.eyebrow,
    .contact-layout,
    .contact-photo {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto
    }
}

@media(max-width:1000px) {
    nav {
        gap: 22px
    }

    .nav-contact {
        margin-left: 0
    }

    .hero {
        min-height: 620px
    }

    .hero-content {
        padding-top: 85px
    }

    .intro {
        grid-template-columns: .7fr 2fr;
        gap: 30px
    }

    .platform {
        gap: 30px;
        grid-template-columns: 1fr 1.1fr
    }

    .platform-preview {
        padding: 22px 18px
    }

    .step strong {
        font-size: 20px
    }

    .research-inner,
    .about {
        gap: 40px
    }

    .section-wrap {
        padding-top: 75px;
        padding-bottom: 75px
    }
}

@media(max-width:700px) {
    html {
        scroll-padding-top: 76px
    }

    .header {
        height: 76px
    }

    .wordmark img {
        height: 54px
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 15px;
        border: 0;
        background: none;
        padding: 12px 0;
        font-size: 14px
    }

    .menu-toggle span {
        font-size: 24px
    }

    nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 15px var(--gutter) 24px;
        background: white;
        border-bottom: 1px solid #ddd;
        align-items: stretch;
        gap: 8px
    }

    nav.open {
        display: flex;
        flex-direction: column
    }

    nav>a {
        font-size: 17px;
        padding: 14px 0
    }

    .hero {
        height: 690px;
        min-height: 0
    }

    .hero-content {
        padding-top: 72px
    }

    .hero .eyebrow {
        font-size: 9px;
        margin-bottom: 40px
    }

    h1 {
        font-size: clamp(40px, 11.8vw, 80px)
    }

    h2,
    .intro h2 {
        font-size: clamp(32px, 9.2vw, 43px)
    }

    .hero-description {
        font-size: 15px;
        margin-top: 26px
    }

    .hero-photo {
        object-position: 58% 50%
    }

    .hero-shade {
        background: linear-gradient(90deg, #0009, #0004), linear-gradient(0deg, #0008, transparent)
    }

    .section-wrap {
        padding-top: 60px;
        padding-bottom: 60px
    }

    .intro,
    .about,
    .research-inner,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .intro>.eyebrow {
        margin-bottom: 0
    }

    .lead {
        font-size: 20px
    }

    .section-heading {
        display: block;
        margin-bottom: 32px
    }

    .section-side {
        margin-top: 26px
    }

    .section-side p {
        font-size: 13px
    }

    .pill {
        margin-bottom: 14px
    }

    .platform {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .platform-preview {
        transform: none;
        padding: 22px 20px
    }

    .step {
        padding: 18px 0
    }

    .step strong {
        font-size: 22px;
        margin-bottom: 6px
    }

    .step strong+span {
        max-width: none
    }

    .concept-note {
        margin-top: 18px
    }

    .development-note {
        margin-top: 30px;
        display: block
    }

    .development-note p {
        margin-top: 12px
    }

    .research-inner {
        gap: 40px
    }

    .photo-slot.research-photo {
        justify-self: stretch;
        max-width: none
    }

    .research-status {
        font-size: 9px
    }

    .story-copy .lead {
        margin-top: 6px
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .portrait {
        aspect-ratio: 4/4.5;
        margin-bottom: 20px
    }

    .portrait-initials {
        font-size: 72px
    }

    .training-photo {
        margin-top: 30px
    }

    .photo-slot.band-photo {
        aspect-ratio: 4/3
    }

    .contact-photo {
        margin-top: 40px;
        aspect-ratio: 3/2
    }

    .contact h2 {
        font-size: clamp(42px, 10.8vw, 66px)
    }

    .contact-layout {
        gap: 32px
    }

    .contact-layout>div {
        max-width: 100%
    }

    .contact-layout p {
        font-size: 14px
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 56px;
        padding-bottom: 28px
    }

    .footer-tagline {
        font-size: 22px
    }

    .preview-stats strong {
        font-size: 21px
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important
    }
}
