@font-face {
    font-family: "D-DIN Expanded";
    src: url("/assets/fonts/D-DINExp.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN Expanded";
    src: url("/assets/fonts/D-DINExp-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #01030e;
    --ink-soft: #363a43;
    --blue: #a9b9c8;
    --blue-deep: #718596;
    --graphite: #888888;
    --line: #d8dde2;
    --soft: #f1f4f6;
    --paper: #ffffff;
    --dark: #10151b;
    --dark-soft: #192129;
    --dark-line: #35414b;
    --text-on-dark: #f6f8f9;
    --muted-on-dark: #b7c1c9;
    --shell: 1120px;
    --text: 720px;
    --radius: 3px;
    --section-space: clamp(3.75rem, 6vw, 5.5rem);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "D-DIN Expanded", "Arial Narrow", Arial, sans-serif;
    font-size: 1.075rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
}

button,
input,
textarea {
    font: inherit;
}

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

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    transform: translateY(-180%);
    background: var(--ink);
    color: white;
}

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

.shell {
    width: min(calc(100% - 2.5rem), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(216, 221, 226, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    min-height: 4.6rem;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.brand-icon {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a[data-section-link] {
    padding-block: 0.25rem;
    border-bottom: 1px solid transparent;
    color: #59616a;
    transition: border-color 160ms ease, color 160ms ease;
}

.site-nav a[data-section-link][aria-current="location"] {
    border-bottom-color: var(--blue-deep);
    color: var(--ink);
    font-weight: 700;
}

.site-nav a:not(.nav-cta):hover {
    color: var(--blue-deep);
}

.nav-cta {
    padding: 0.72rem 1rem;
    border: 1px solid var(--ink);
    transition: background 160ms ease, color 160ms ease;
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

.menu-button {
    display: none;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.menu-button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.menu-lines {
    display: grid;
    width: 1.5rem;
    gap: 0.42rem;
}

.menu-lines span {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
}

.hero {
    padding: clamp(3.75rem, 6vw, 5.75rem) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(20rem, 0.78fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.eyebrow {
    margin: 0 0 1.2rem;
    color: var(--blue-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--blue);
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd,
figure {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.06;
}

h1 {
    max-width: 16ch;
    margin-bottom: 1.65rem;
    font-size: clamp(2.85rem, 5.3vw, 5.15rem);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.hero h1 {
    font-size: clamp(2.85rem, 4.6vw, 4.2rem);
}

h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.2rem, 4.5vw, 4.15rem);
    font-weight: 400;
    letter-spacing: -0.035em;
}

h3 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    font-weight: 400;
    letter-spacing: -0.015em;
}

.hero-lede {
    max-width: 68ch;
    margin-bottom: 1.25rem;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

.founder-line {
    margin: 0 0 0.8rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.founder-line a {
    font-weight: 700;
}

.ownership-line {
    display: flex;
    max-width: 49rem;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
}

.ownership-line span {
    width: 2.6rem;
    height: 1px;
    flex: 0 0 auto;
    background: var(--blue-deep);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    margin-top: 2.5rem;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.88rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
    background: var(--ink);
    color: var(--paper);
}

.button-primary:hover {
    background: var(--blue-deep);
}

.button-light {
    min-width: 12.5rem;
    background: var(--paper);
    color: var(--ink);
}

.button-light:hover {
    border-color: var(--blue);
    background: var(--blue);
}

.text-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration-thickness: 1px;
}

.engagement-card {
    position: relative;
    overflow: hidden;
    padding: 1.8rem;
    border: 1px solid var(--line);
    background: var(--soft);
}

.hero-identity {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.7rem;
}

.hero-identity img {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid var(--line);
    object-fit: cover;
}

.hero-identity strong,
.hero-identity span {
    display: block;
}

.hero-identity strong {
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
    line-height: 1.25;
}

.hero-identity span {
    color: #5d6670;
    font-size: 0.72rem;
    line-height: 1.5;
}

.structural-mark {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 5.5rem;
    height: 5.5rem;
    grid-template-columns: repeat(2, 1fr);
    opacity: 0.9;
}

.structural-mark span:nth-child(1),
.structural-mark span:nth-child(4) {
    background: var(--blue);
}

.structural-mark span:nth-child(2),
.structural-mark span:nth-child(3) {
    background: var(--graphite);
}

.structural-mark span:nth-child(1) {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.structural-mark span:nth-child(2) {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.structural-mark span:nth-child(3) {
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.structural-mark span:nth-child(4) {
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.card-label {
    margin: 0 0 0.55rem;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.slot-title {
    margin: 0 0 1.4rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.engagement-facts {
    margin-bottom: 0;
}

.engagement-facts > div {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.engagement-facts dt {
    margin-bottom: 0.25rem;
    color: #5d6670;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.engagement-facts dd {
    margin-bottom: 0;
    font-size: 1.03rem;
    line-height: 1.35;
}

.engagement-facts > div:nth-child(2) dd {
    font-size: 2rem;
    line-height: 1;
}

.engagement-facts dd span {
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.hero-credentials {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.hero-credentials li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.hero-credentials strong,
.hero-credentials span {
    display: block;
}

.hero-credentials strong {
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.hero-credentials span {
    color: #5d6670;
    font-size: 0.72rem;
    line-height: 1.5;
}

.engagement-facts .fact-note {
    margin-top: 0.25rem;
    color: #5d6670;
    font-size: 0.76rem;
}

.scope-strip {
    border-block: 1px solid var(--line);
}

.scope-strip-inner {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: #626a73;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scope-strip-inner span:not(:last-child)::after {
    margin-left: clamp(1.2rem, 3.8vw, 3.8rem);
    color: var(--blue);
    content: "/";
}

.section {
    padding: var(--section-space) 0;
}

.reveal-enabled .reveal-section {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 440ms ease, transform 440ms ease;
}

.reveal-enabled .reveal-section.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-soft {
    background: var(--soft);
}

.section-intro {
    max-width: var(--text);
    margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.section-intro > p:last-child {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 1.12rem;
    line-height: 1.7;
}

.split-intro {
    display: grid;
    max-width: none;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: end;
}

.split-intro h2 {
    margin-bottom: 0;
}

.capability-list-label {
    max-width: 1000px;
    margin: 0 0 0.75rem;
    color: var(--blue-deep);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.capability-index {
    max-width: 1000px;
    border-top: 1px solid var(--line);
}

.capability-row {
    display: grid;
    grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
    padding: clamp(2.2rem, 4vw, 3rem) 0;
    border-bottom: 1px solid var(--line);
}

.capability-title {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.capability-title p,
.capability-title h3 {
    margin: 0;
}

.capability-title p {
    padding-top: 0.2rem;
    color: var(--blue-deep);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.capability-title h3 {
    font-size: clamp(1.28rem, 2vw, 1.65rem);
    line-height: 1.16;
}

.capability-summary p {
    margin: 0;
}

.capability-summary > p:first-child {
    max-width: 44rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.row-number {
    margin-bottom: 1.75rem;
    color: var(--blue-deep);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.rate-terms {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rate-terms li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.2rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    line-height: 1.55;
}

.rate-terms li::before {
    position: absolute;
    top: 1.05rem;
    left: 0;
    width: 0.35rem;
    height: 0.35rem;
    background: var(--blue-deep);
    content: "";
}

.engagement-list {
    border-top: 1px solid #cbd1d6;
}

.engagement-list article {
    display: grid;
    grid-template-columns: 4rem minmax(13rem, 0.65fr) 1fr;
    gap: 2rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid #cbd1d6;
}

.engagement-list h3,
.engagement-list p {
    margin-bottom: 0;
}

.engagement-list article > p:last-child {
    max-width: 48rem;
    color: var(--ink-soft);
}

.row-number {
    padding-top: 0.2rem;
}

.after-list {
    max-width: 56rem;
    margin: 1.5rem 0 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.65;
}

.work-section {
    background: var(--dark);
    color: var(--text-on-dark);
}

.proof-shell {
    width: min(calc(100% - 2.5rem), 1280px);
}

.work-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.75rem;
}

.work-heading h2 {
    margin-bottom: 0;
}

.stage-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.5rem 0 0;
    color: var(--muted-on-dark);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stage-label span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(169, 185, 200, 0.13);
}

.work-overview {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(3rem, 8vw, 8rem);
    margin-bottom: 3rem;
}

.work-overview p {
    margin-bottom: 0;
    color: var(--muted-on-dark);
    font-size: 1.03rem;
    line-height: 1.7;
}

.work-overview .work-lede {
    color: var(--text-on-dark);
    font-size: clamp(1.35rem, 2.7vw, 2.1rem);
    line-height: 1.42;
}

.business-status {
    align-self: start;
    padding-left: 1.25rem;
    border-left: 3px solid var(--blue);
}

.business-status strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--blue);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.work-lede a {
    text-decoration-color: var(--blue);
}

.proof-owned {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.proof-label {
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proof-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--dark-line);
    border-left: 1px solid var(--dark-line);
}

.proof-list > div {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.8rem;
    padding: 1.3rem;
    border-right: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
}

.proof-list span {
    color: var(--blue);
    font-size: 0.68rem;
}

.proof-list p {
    margin: 0;
    color: #dce2e6;
    font-size: 0.98rem;
    line-height: 1.6;
}

.tech-stack {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1.2rem;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.tech-stack-label {
    margin: 0;
    color: var(--blue-deep);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-item {
    display: inline-flex;
    min-height: 1.5rem;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.tech-item img {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.tech-stack-dark {
    border-top-color: var(--dark-line);
}

.tech-stack-dark .tech-stack-label {
    color: var(--blue);
}

.tech-stack-dark .tech-item {
    color: #dce2e6;
}

.product-shot {
    margin-bottom: 0;
    padding: 1.1rem;
    border: 1px solid #46535e;
    background: var(--dark-soft);
}

.product-shot-large {
    padding: clamp(0.75rem, 2vw, 1.4rem);
}

.product-shot-frame {
    overflow: hidden;
    border: 1px solid #4b5863;
    background: #202a33;
}

.product-shot-trigger {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-shot-trigger img {
    transition: transform 480ms ease;
}

.product-shot-trigger:hover img,
.product-shot-trigger:focus-visible img {
    transform: scale(1.015);
}

.inspection-cue {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    background: rgba(16, 21, 27, 0.92);
    color: var(--text-on-dark);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.product-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.product-shot figcaption {
    margin: 1rem 0 0;
    color: var(--muted-on-dark);
    font-size: 0.75rem;
    line-height: 1.5;
}

.architecture {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-line);
}

.architecture-label {
    margin-bottom: 1.5rem;
    color: var(--blue);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.architecture-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr;
    gap: 1rem;
    align-items: center;
}

.architecture-flow > div {
    min-height: 8.5rem;
    padding: 1.25rem;
    border: 1px solid var(--dark-line);
    background: var(--dark-soft);
}

.architecture-flow span {
    display: block;
    margin-bottom: 1.8rem;
    color: var(--blue);
    font-size: 0.6rem;
}

.architecture-flow strong,
.architecture-flow small {
    display: block;
}

.architecture-flow strong {
    font-size: 0.9rem;
    line-height: 1.3;
}

.architecture-flow small {
    margin-top: 0.45rem;
    color: var(--muted-on-dark);
    font-size: 0.7rem;
    line-height: 1.45;
}

.architecture-flow > i {
    color: var(--blue);
    font-style: normal;
}

.experience-section {
    border-bottom: 1px solid var(--line);
}

.experience-intro {
    max-width: 860px;
}

.experience-featured {
    display: grid;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    column-gap: clamp(3rem, 8vw, 8rem);
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-block: 1px solid var(--line);
}

.project-type {
    margin-bottom: 0.85rem;
    color: var(--blue-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.experience-featured h3 {
    max-width: 18ch;
    margin-bottom: 1.25rem;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.project-summary {
    grid-row: 1;
    grid-column: 1;
}

.project-highlight {
    max-width: 18rem;
    margin: 0 0 0.75rem;
    padding: 1rem 0;
    border-block: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.2rem, 2.25vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-highlight span {
    color: var(--blue-deep);
}

.project-period {
    margin: 0;
    color: var(--blue-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-case {
    display: grid;
    grid-row: 1;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.project-case > div {
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-case dt,
.project-detail-grid dt {
    margin-bottom: 0.45rem;
    color: var(--blue-deep);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.project-case dd,
.project-detail-grid dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.experience-featured > .tech-stack {
    grid-row: 4;
    grid-column: 2;
}

.project-disclosures {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.project-disclosure {
    border-bottom: 1px solid var(--line);
}

.project-disclosure > summary,
.workflow-disclosure > summary {
    display: grid;
    min-height: 5.25rem;
    grid-template-columns: minmax(0, 1fr) 2rem;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
}

.project-disclosure > summary::-webkit-details-marker,
.workflow-disclosure > summary::-webkit-details-marker {
    display: none;
}

.project-disclosure > summary::marker,
.workflow-disclosure > summary::marker {
    content: "";
}

.disclosure-summary {
    display: grid;
    gap: 0.3rem;
}

.disclosure-summary strong {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 400;
    line-height: 1.25;
}

.disclosure-summary > span {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.disclosure-icon {
    position: relative;
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    justify-self: end;
}

.disclosure-icon::before,
.disclosure-icon::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--blue-deep);
    content: "";
    transition: opacity 220ms ease, transform 220ms ease;
}

.disclosure-icon::after {
    transform: rotate(90deg);
}

details[open] > summary .disclosure-icon::after {
    opacity: 0;
    transform: rotate(0);
}

.project-disclosure > summary:hover .disclosure-summary strong,
.workflow-disclosure > summary:hover .disclosure-summary strong {
    color: var(--blue-deep);
}

.disclosure-content {
    max-width: 1000px;
    padding: 0.5rem 0 1.75rem;
}

.disclosure-content > p {
    margin-bottom: 0.85rem;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.68;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.project-detail-grid > div {
    padding: 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.workflow-intro {
    max-width: 820px;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

#workflow {
    padding-block: clamp(3rem, 5vw, 4.25rem);
    border-top: 1px solid var(--line);
}

.workflow-disclosure {
    max-width: 1000px;
    border-block: 1px solid var(--line);
}

.workflow-disclosure-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 0.75rem 0 2rem;
}

.workflow-disclosure-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.workflow-disclosure-content p {
    margin-bottom: 0.85rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.68;
}

.workflow-disclosure-content p:last-child {
    margin-bottom: 0;
}

.process-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #cbd1d6;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
    padding: 1.35rem 0;
    border-bottom: 1px solid #cbd1d6;
}

.process-list > li > span {
    display: block;
    padding-top: 0.2rem;
    color: var(--blue-deep);
    font-size: 0.72rem;
}

.process-list li > div {
    display: grid;
    grid-template-columns: minmax(11rem, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(1.5rem, 4vw, 4rem);
}

.process-list h3 {
    margin: 0;
    font-size: 1.3rem;
}

.process-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

.process-continuation {
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.process-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #cbd1d6;
}

.communication-note {
    max-width: 65rem;
    margin: 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--blue-deep);
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}

.orientation-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}

.working-section {
    padding-block: clamp(3.25rem, 5vw, 4.5rem);
    border-top: 1px solid var(--line);
}

.working-intro {
    margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.working-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
}

.working-commercial {
    padding-top: 0.5rem;
}

.working-rate {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.2rem;
    line-height: 0.85;
}

.working-rate span {
    margin-right: 0.75rem;
    color: var(--blue-deep);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.working-rate strong {
    font-size: clamp(4rem, 8vw, 6.8rem);
    font-weight: 400;
    letter-spacing: -0.06em;
}

.working-rate small {
    margin-left: 0.45rem;
    font-size: 0.78rem;
}

.working-availability {
    display: grid;
    max-width: 31rem;
    gap: 0.4rem;
    margin-bottom: 1.6rem;
    padding: 1.1rem 0;
    border-block: 1px solid var(--line);
}

.working-availability strong,
.working-availability span {
    display: block;
}

.working-availability strong {
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.working-availability span {
    color: var(--blue-deep);
    font-size: 1rem;
    font-weight: 700;
}

.working-profile {
    padding-left: clamp(1.75rem, 4vw, 3.5rem);
    border-left: 1px solid var(--line);
}

.working-profile-main {
    display: grid;
    grid-template-columns: minmax(10rem, 0.58fr) 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.about-photo {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    background: var(--soft);
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.working-profile h3 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.about-role {
    margin-bottom: 1.1rem;
    color: var(--blue-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-bio {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.2rem;
}

.academic-credential {
    max-width: none;
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.degree-credential {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.degree-credential img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.degree-credential p,
.degree-credential strong,
.degree-credential span {
    display: block;
}

.degree-credential p {
    margin: 0;
    line-height: 1.45;
}

.degree-credential strong {
    color: var(--ink);
    font-size: 0.92rem;
}

.degree-credential span {
    margin-top: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.credential-label {
    margin-bottom: 0.65rem;
    color: var(--blue-deep);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.credential-copy {
    margin-bottom: 0.85rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.credential-link {
    font-size: 0.8rem;
}

.contact-section {
    padding: var(--section-space) 0;
    background: var(--dark);
    color: var(--text-on-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(3rem, 9vw, 9rem);
}

.contact-copy h2 {
    max-width: 10ch;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 38rem;
    color: var(--muted-on-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-trust {
    margin: 2rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--dark-line);
    color: var(--muted-on-dark);
    list-style: none;
}

.contact-trust li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.contact-trust li::before {
    position: absolute;
    top: 0.68rem;
    left: 0;
    width: 0.32rem;
    height: 0.32rem;
    background: var(--blue);
    content: "";
}

.contact-copy .contact-reassurance {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-line);
    font-size: 0.8rem;
}

.direct-email {
    margin-top: 1.2rem;
    color: var(--blue);
    font-size: 0.9rem;
}

.direct-email p {
    margin: 0;
}

.direct-email button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-on-dark);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.direct-email button:hover {
    color: var(--blue);
}

.direct-email button:disabled {
    color: var(--muted-on-dark);
    cursor: wait;
}

.email-reveal-challenge:not(:empty) {
    margin-top: 0.85rem;
}

.email-reveal-status:not(:empty) {
    margin-top: 0.65rem;
    color: var(--muted-on-dark);
    font-size: 0.8rem;
}

.email-reveal-status a {
    color: var(--text-on-dark);
    font-weight: 400;
    user-select: all;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 1.3rem;
}

.trap-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.turnstile-wrap {
    min-height: 0;
}

.cf-turnstile {
    max-width: 100%;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    color: #e1e7ea;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.field label span {
    color: #84929c;
    font-size: 0.58rem;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #43505b;
    border-radius: 0;
    background: var(--dark-soft);
    color: var(--text-on-dark);
    outline: none;
}

.field input {
    min-height: 3.5rem;
    padding: 0 0.85rem;
}

.field textarea {
    min-height: 7rem;
    padding: 0.75rem 0.85rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(169, 185, 200, 0.2);
}

.field input::placeholder {
    color: #7e8b95;
}

.form-note,
.form-status {
    margin: -0.5rem 0 0;
    color: var(--muted-on-dark);
    font-size: 0.72rem;
}

.form-status:not(:empty) {
    padding: 0.8rem;
    border-left: 3px solid var(--blue);
    background: var(--dark-soft);
}

.form-status.is-success {
    border-left-color: #8eb89d;
    color: #d8eadf;
}

.form-status.is-error {
    border-left-color: #d99b91;
    color: #f1d8d3;
}

.form-status.is-security {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
}

.form-status-action {
    min-height: 1.5rem;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--text-on-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-status-action:hover,
.form-status-action:focus-visible {
    color: var(--blue);
}

.form-status-action:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.form-status-action:disabled {
    color: var(--muted-on-dark);
    cursor: wait;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.proof-lightbox {
    width: min(96vw, 1540px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 1px solid #46535e;
    background: transparent;
    color: var(--text-on-dark);
}

.proof-lightbox::backdrop {
    background: rgba(1, 3, 14, 0.86);
}

.proof-lightbox-panel {
    max-height: 94vh;
    overflow: auto;
    padding: clamp(1rem, 2vw, 1.75rem);
    background: var(--dark);
}

.proof-lightbox-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.proof-lightbox-label {
    margin-bottom: 0.35rem;
    color: var(--blue);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proof-lightbox-header h2 {
    margin-bottom: 0;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}

.proof-lightbox-close {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--dark-line);
    background: var(--dark-soft);
    color: var(--text-on-dark);
    font-size: 0.72rem;
    cursor: pointer;
}

.proof-lightbox-close:hover {
    border-color: var(--blue);
}

.proof-lightbox figure {
    margin: 0;
}

.proof-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(94vh - 8.5rem);
    border: 1px solid var(--dark-line);
    object-fit: contain;
}

.proof-lightbox figcaption {
    margin: 0.8rem 0 0;
    color: var(--muted-on-dark);
    font-size: 0.72rem;
}

.site-footer {
    padding: 2rem 0;
    background: #090d11;
    color: var(--muted-on-dark);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    font-size: 0.65rem;
}

.footer-inner p {
    margin-bottom: 0;
}

.footer-inner p:last-child {
    text-align: right;
}

.footer-brand {
    color: var(--text-on-dark);
    font-size: 0.95rem;
}

.footer-brand .brand-icon {
    width: 30px;
    height: 30px;
}

@media (max-width: 980px) {
    .hero-grid,
    .working-grid,
    .contact-grid {
        gap: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    }

    .site-nav {
        gap: 0.7rem;
        font-size: 0.72rem;
    }

    .architecture-flow {
        grid-template-columns: 1fr;
    }

    .architecture-flow > div {
        min-height: 0;
    }

    .architecture-flow span {
        margin-bottom: 1rem;
    }

    .architecture-flow > i {
        transform: rotate(90deg);
        text-align: center;
    }

}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 4.6rem;
    }

    .shell {
        width: min(calc(100% - 2rem), var(--shell));
    }

    .menu-button {
        display: inline-flex;
    }

    .menu-button[aria-expanded="true"] .menu-lines {
        gap: 0;
    }

    .menu-button[aria-expanded="true"] .menu-lines span:first-child {
        transform: rotate(45deg);
    }

    .menu-button[aria-expanded="true"] .menu-lines span:last-child {
        transform: rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        z-index: 1;
        top: 100%;
        right: 0;
        bottom: auto;
        left: 0;
        display: none;
        height: calc(100vh - 4.6rem);
        height: calc(100dvh - 4.6rem);
        overflow-y: auto;
        padding: 2.5rem 1rem;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 1rem 0.25rem;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .site-nav .nav-cta {
        margin-top: 1.5rem;
        padding: 1rem;
        text-align: center;
    }

    .hero-grid,
    .work-overview,
    .working-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 3rem;
    }

    .engagement-card {
        max-width: 31rem;
    }

    .scope-strip {
        overflow: hidden;
    }

    .scope-strip-inner {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .scope-strip-inner span {
        flex: 0 0 auto;
    }

    .split-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-case,
    .project-detail-grid,
    .workflow-disclosure-content {
        grid-template-columns: 1fr;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .capability-title {
        max-width: 28rem;
    }

    .capability-summary {
        max-width: 38rem;
    }

    .experience-featured {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .experience-featured > * {
        grid-row: auto;
        grid-column: auto;
    }

    .experience-featured > .tech-stack {
        grid-row: auto;
        grid-column: auto;
    }

    .project-case {
        margin-top: 0.25rem;
    }

    .project-disclosure > summary,
    .workflow-disclosure > summary {
        min-height: 5.75rem;
        gap: 0.75rem;
    }

    .engagement-list article {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
    }

    .engagement-list article > p:last-child {
        grid-column: 2;
    }

    .proof-list {
        grid-template-columns: 1fr;
    }

    .work-heading {
        flex-direction: column;
    }

    .process-list li {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .process-list > li > span {
        padding-top: 0.15rem;
    }

    .process-list li > div {
        display: block;
    }

    .process-list h3 {
        margin-bottom: 0.4rem;
    }

    .process-notes {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .working-profile {
        padding: 2.5rem 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

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

    .footer-inner p:nth-of-type(1) {
        display: none;
    }
}

@media (max-width: 520px) {
    h1 {
        max-width: none;
        font-size: clamp(2.35rem, 10.5vw, 3rem);
    }

    .hero-actions,
    .about-links {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions {
        gap: 1.2rem;
    }

    .button-primary {
        width: 100%;
    }

    .engagement-card {
        padding: 1.5rem;
    }

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

    .working-profile-main .about-photo {
        max-width: 13rem;
    }

    .inspection-cue {
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.55rem 0.65rem;
        font-size: 0.62rem;
    }

    .proof-lightbox {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .proof-lightbox-panel {
        max-height: calc(100vh - 1rem);
    }

    .proof-lightbox-header {
        gap: 1rem;
    }

    .proof-lightbox img {
        max-height: calc(100vh - 9rem);
    }

    .scope-strip-inner span:not(:last-child)::after {
        margin-left: 1.2rem;
    }

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

    .engagement-list article > p:last-child {
        grid-column: 1;
    }

    .row-number {
        margin-bottom: 0;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .field input,
    .field textarea {
        font-size: 1rem;
    }

}

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

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

    .reveal-enabled .reveal-section {
        opacity: 1;
        transform: none;
    }

    .product-shot-trigger:hover img,
    .product-shot-trigger:focus-visible img {
        transform: none;
    }
}
