body { overflow-x: hidden; }
.site-nav a[aria-current="page"] { color: var(--ocean-teal); }
.project-card__link { display: block; height: 100%; text-decoration: none; }
.project-card__link:hover h3 { color: var(--ocean-teal); }

/* A second approved detail screenshot will stack without changing the current single-image layout. */
.project-detail__visual { display: grid; gap: var(--space-3); }

.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .85fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.editorial-grid__main { max-width: 44rem; }.editorial-grid__main h2 { margin-bottom: var(--space-4); }.editorial-grid__main p { font-size: var(--text-body-large); }
.editorial-note { padding: var(--space-5); color: var(--muted-ink); background: var(--shallow-water); border: 1px solid rgba(22,123,128,.12); border-radius: var(--radius-md); }
.editorial-note p:last-child { margin-bottom: 0; }
.editorial-grid--about { grid-template-columns: minmax(0, 1fr) minmax(12rem, 16.25rem) minmax(14rem, .65fr); }.editorial-grid--about .about-profile-photo { align-self: center; justify-self: center; }

.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.expertise-card { min-height: 12rem; padding: var(--space-5); background: rgba(255,255,255,.72); border: 1px solid rgba(22,123,128,.14); border-radius: var(--radius-md); box-shadow: 0 .75rem 2rem rgba(20,44,50,.05); }
.expertise-card h2, .expertise-card h3 { margin-bottom: var(--space-2); font-size: var(--font-size-card-title); font-weight: var(--font-weight-regular); line-height: 1.2; }.expertise-card p { margin-bottom: 0; color: var(--muted-ink); }

.project-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .72fr); gap: var(--space-6); margin-bottom: var(--space-6); align-items: end; }
.project-intro > p { max-width: 31rem; margin-bottom: 0; color: var(--muted-ink); font-size: var(--text-body-large); }
.project-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(18rem, 1.05fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.project-detail__visual { min-height: 27rem; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }.project-detail__visual .project-card__visual { min-height: inherit; height: 100%; }.project-detail__copy { max-width: 40rem; }.project-detail__copy h2 { margin-bottom: var(--space-4); }.project-detail__copy p { font-size: var(--text-body-large); }.project-detail__relation { margin-top: var(--space-5); padding-top: var(--space-4); color: var(--ocean-teal); border-top: 1px solid var(--line); }

.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }.solution-card { padding: clamp(1.5rem, 4vw, 3rem); background: rgba(255,255,255,.72); border: 1px solid rgba(22,123,128,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }.solution-card h2 { margin-bottom: var(--space-2); font-size: var(--font-size-card-title); font-weight: var(--font-weight-regular); line-height: 1.2; }.solution-card p { margin-bottom: 0; color: var(--muted-ink); }

.archive-summary { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); gap: var(--space-6); padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(229,248,245,.72)); border: 1px solid rgba(22,123,128,.13); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }.archive-summary h2 { margin-bottom: var(--space-4); }.archive-summary p:last-child { margin-bottom: 0; color: var(--muted-ink); font-size: var(--text-body-large); }
.archive-summary__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); align-self: end; }.archive-summary__stats div { padding: var(--space-4); background: rgba(255,255,255,.62); border-radius: var(--radius-sm); }.archive-summary__stats strong { display: block; color: var(--ocean-teal); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }.archive-summary__stats span { color: var(--muted-ink); font-size: var(--text-small); }
.archive-list-heading { margin-top: clamp(3.5rem, 7vw, 6rem); }.archive-list-heading .section-kicker { margin-bottom: var(--space-2); }.archive-list-title { margin-bottom: 0; }.archive-list { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }.archive-list__item { padding: clamp(1.5rem, 3vw, 2.25rem); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(235,249,247,.72)); border: 1px solid rgba(22,123,128,.14); border-radius: var(--radius-md); box-shadow: 0 .75rem 2rem rgba(20,44,50,.05); }.archive-list__item h3 { max-width: 54rem; margin-bottom: var(--space-3); color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: var(--font-weight-regular); }.archive-list__item h3 a { color: inherit; text-decoration: none; }.archive-list__item h3 a:hover { color: var(--ocean-teal); }.archive-list__item > p { max-width: 62rem; margin-bottom: var(--space-3); color: var(--muted-ink); }.archive-list__link, .archive-reader__back { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--ocean-teal); font-size: var(--text-small); font-weight: var(--font-weight-medium); }.archive-reader { max-width: 62rem; }.archive-reader__back { margin-bottom: var(--space-5); }.archive-article { max-width: 62rem; }.archive-article__header { padding-bottom: var(--space-5); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); }.archive-article__header .section-kicker { margin-bottom: var(--space-3); }.archive-article__header h2 { max-width: 22ch; margin-bottom: 0; }.archive-article__content { max-width: 58rem; color: var(--ink); font-size: var(--text-body); line-height: 1.75; overflow-wrap: anywhere; }.archive-article__content > * + * { margin-top: var(--space-4); }.archive-article__content a { color: var(--ocean-teal); }.archive-article__content strong { color: var(--deep-ocean); }.archive-article__content em { color: var(--muted-ink); }.archive-article__content ul, .archive-article__content ol { padding-left: 1.25rem; }.archive-article__content li + li { margin-top: .5rem; }.archive-article__content pre { max-width: 100%; padding: clamp(1rem, 2.6vw, 1.5rem); margin: var(--space-4) 0; overflow-x: auto; color: #d7f4ee; font-family: var(--font-mono); font-size: clamp(.78rem, 1.3vw, .94rem); line-height: 1.55; tab-size: 2; white-space: pre; background: linear-gradient(135deg, #142c32, #135363); border: 1px solid rgba(163,237,229,.2); border-radius: var(--radius-sm); box-shadow: 0 .75rem 1.75rem rgba(20,44,50,.12); }.archive-article__content :not(pre) > code { padding: .14em .38em; color: var(--deep-ocean); font-family: var(--font-mono); font-size: .9em; background: rgba(22,123,128,.1); border-radius: .3em; }.archive-article__content img { width: auto; max-width: 100%; height: auto; margin-block: var(--space-3); border-radius: var(--radius-sm); }.archive-article__content figure { max-width: 100%; margin-inline: 0; }.archive-article__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }.archive-article__content th, .archive-article__content td { padding: .6rem .75rem; border: 1px solid var(--line); }

.contact-panel, .legal-panel { max-width: 48rem; padding: clamp(2rem, 5vw, 4rem); background: rgba(255,255,255,.74); border: 1px solid rgba(22,123,128,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }.contact-panel h2, .legal-panel h2 { margin-bottom: var(--space-4); }.contact-panel p, .legal-panel p { color: var(--muted-ink); font-size: var(--text-body-large); }.contact-panel p:last-child, .legal-panel p:last-child { margin-bottom: 0; }
.legal-document { max-width: 56rem; }.legal-document__updated { margin: 0 0 var(--space-5); color: var(--muted-ink); font-size: var(--text-small); }.legal-document__section { padding: clamp(1.5rem, 3vw, 2.25rem); background: rgba(255,255,255,.74); border: 1px solid rgba(22,123,128,.12); border-radius: var(--radius-md); box-shadow: 0 .65rem 1.8rem rgba(20,44,50,.045); }.legal-document__section + .legal-document__section { margin-top: var(--space-3); }.legal-document__section h2 { margin-bottom: var(--space-3); font-size: var(--font-size-subsection-title); font-weight: var(--font-weight-regular); }.legal-document__section p, .legal-document__section li { color: var(--muted-ink); font-size: var(--text-body); line-height: 1.7; }.legal-document__section p + p { margin-top: var(--space-3); }.legal-document__section ul { padding-left: 1.25rem; margin: var(--space-3) 0 0; }.legal-document__section li + li { margin-top: .5rem; }.legal-document__section a { color: var(--ocean-teal); font-weight: var(--font-weight-medium); }.legal-document__links { margin-bottom: 0; }
.contact-panel--form { max-width: 56rem; }.contact-panel__intro { max-width: 42rem; }.contact-form { display: grid; gap: var(--space-4); margin-top: var(--space-6); }.contact-form__field { display: grid; gap: .45rem; }.contact-form label { color: var(--ink); font-size: var(--text-small); font-weight: var(--font-weight-medium); }.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 1rem; color: var(--ink); font: inherit; line-height: 1.5; background: rgba(255,255,255,.86); border: 1px solid rgba(22,123,128,.24); border-radius: .75rem; box-shadow: inset 0 1px 0 rgba(20,44,50,.03); }.contact-form textarea { min-height: 10rem; resize: vertical; }.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ocean-teal); outline: 3px solid rgba(0,184,217,.24); outline-offset: 2px; }.contact-form__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }.contact-form__notice { padding: .85rem 1rem; margin: var(--space-4) 0 0; border-radius: .75rem; font-size: var(--text-small); }.contact-form__notice--success { color: #125c53; background: rgba(163,237,229,.34); border: 1px solid rgba(22,123,128,.2); }.contact-form__notice--error, .contact-form__error { color: #a44537; }.contact-form__notice--error { background: rgba(255,137,116,.12); border: 1px solid rgba(164,69,55,.22); }.contact-form__error { margin: 0; font-size: var(--text-small); }.contact-form .button { justify-self: start; min-width: 10rem; cursor: pointer; }
.home-expertise { padding-top: 0; }.home-expertise .expertise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }.home-expertise .expertise-card { min-height: 0; padding: 1.5rem; }
@media (max-width: 68.75rem) { .home-expertise .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 37.5rem) { .home-expertise .expertise-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }.home-expertise .expertise-card { padding: 1.25rem; } }

.archive-tag-filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: var(--space-3) 0 0; }.archive-tag-filter label, .archive-tags__label { color: var(--deep-ocean); font-size: var(--text-small); font-weight: var(--font-weight-medium); }.archive-tag-filter select { min-width: min(100%, 16rem); min-height: 2.7rem; padding: .5rem 2.1rem .5rem .8rem; color: var(--ink); font: inherit; font-size: var(--text-small); background: rgba(255,255,255,.82); border: 1px solid rgba(22,123,128,.22); border-radius: .55rem; }.archive-tag-filter button { min-height: 2.7rem; padding: .5rem 1rem; color: var(--pure-white); font: inherit; font-size: var(--text-small); font-weight: var(--font-weight-medium); cursor: pointer; background: var(--deep-ocean); border: 1px solid var(--deep-ocean); border-radius: 999px; }.archive-tag-filter button:hover { background: #0c454c; }.archive-tag-filter > a { color: var(--ocean-teal); font-size: var(--text-small); font-weight: var(--font-weight-medium); }.archive-filter-result { margin: var(--space-3) 0 0; color: var(--muted-ink); font-size: var(--text-small); }.archive-filter-result strong { color: var(--deep-ocean); font-weight: var(--font-weight-medium); }.archive-tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }.archive-tags a { display: inline-flex; align-items: center; min-height: 1.8rem; padding: .16rem .58rem; color: var(--ocean-teal); font-size: .76rem; font-weight: var(--font-weight-medium); line-height: 1.25; text-decoration: none; background: rgba(163,237,229,.17); border: 1px solid rgba(22,123,128,.16); border-radius: 999px; }.archive-tags a:hover { color: var(--deep-ocean); background: rgba(163,237,229,.33); }.archive-list__item .archive-tags { margin: 0 0 var(--space-3); }.archive-article__tags { padding-top: var(--space-5); margin-top: var(--space-6); border-top: 1px solid var(--line); }.archive-tags__label { margin: 0 0 .65rem; }

@media (max-width: 60rem) { .editorial-grid, .project-detail, .archive-summary { grid-template-columns: 1fr; }.project-detail__visual { min-height: 20rem; }.project-card__link { display: grid; height: auto; grid-template-columns: minmax(14rem, .9fr) minmax(0, 1.1fr); }.project-card__visual { min-height: 100%; }.archive-summary__stats { max-width: 28rem; }.site-footer__phase { white-space: normal; } }
@media (max-width: 48rem) { .expertise-grid, .home-expertise .expertise-grid, .solutions-grid, .archive-list { grid-template-columns: 1fr; }.archive-summary__stats { grid-template-columns: repeat(2, 1fr); }.archive-list__item { padding: var(--space-4); }.archive-article__header h2 { max-width: none; }.archive-article__content pre { margin-inline: calc(var(--space-3) * -1); border-radius: 0; }.archive-tag-filter { align-items: stretch; }.archive-tag-filter select { flex: 1 1 100%; }.archive-tag-filter button { flex: 0 0 auto; } }
@media (max-width: 43rem) { .project-card__link { grid-template-columns: 1fr; }.project-card__visual { min-height: 15rem; } }

/* Compact Code Archive introduction: three archive totals in a single row. */
.archive-summary { grid-template-columns: minmax(0, 1.2fr) minmax(21rem, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3.5vw, 2.75rem); }.archive-summary .section-kicker { margin-bottom: var(--space-2); }.archive-summary h2 { margin-bottom: var(--space-3); }.archive-summary__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: center; }.archive-summary__stats div { min-width: 0; padding: clamp(.85rem, 2vw, 1.25rem); }.archive-summary__stats strong { font-size: clamp(1.6rem, 3vw, 2.4rem); }.archive-summary__stats span { display: block; margin-top: .35rem; line-height: 1.3; }.archive-list-heading { margin-top: clamp(2.75rem, 5vw, 4.5rem); }
@media (max-width: 60rem) { .archive-summary { grid-template-columns: 1fr; }.archive-summary__stats { max-width: none; } }
@media (max-width: 48rem) { .archive-summary__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Projects portfolio: authentic local screenshots, editorial alternation. */
.projects-featured__heading { margin-bottom: clamp(2rem, 4vw, 3.5rem); }.projects-featured__heading .section-kicker { margin-bottom: var(--space-2); }.projects-featured__heading h2 { margin-bottom: 0; }.projects-featured__list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }.project-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1rem, 2vw, 1.5rem); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(235,249,247,.62)); border: 1px solid rgba(22,123,128,.14); border-radius: var(--radius-lg); box-shadow: 0 .75rem 2rem rgba(20,44,50,.05); }.project-feature--reverse .project-feature__visual { order: 2; }.project-feature--reverse .project-feature__copy { order: 1; }.project-feature__visual, .project-feature__copy, .project-detail__visual, .project-detail__copy { min-width: 0; }.project-feature__copy { max-width: 33rem; padding: clamp(.5rem, 2vw, 1.5rem); }.project-feature__copy h3 { margin-bottom: var(--space-3); color: var(--lagoon-text); font-size: var(--font-size-section-title); font-weight: var(--font-weight-regular); line-height: 1.15; }.project-feature__copy > p:not(.project-card__type) { margin-bottom: var(--space-3); color: var(--muted-ink); font-size: var(--text-body-large); }.project-screenshot { position: relative; min-width: 0; overflow: hidden; margin: 0; background: #f8fcfb; border: 1px solid rgba(22,123,128,.14); border-radius: calc(var(--radius-md) - .15rem); box-shadow: 0 .8rem 1.8rem rgba(20,44,50,.10); }.project-screenshot__bar { display: flex; height: 1.75rem; gap: .35rem; align-items: center; padding: 0 .75rem; color: var(--muted-ink); background: rgba(245,255,253,.96); border-bottom: 1px solid rgba(22,123,128,.12); }.project-screenshot__bar span { width: .42rem; height: .42rem; background: rgba(22,123,128,.28); border-radius: 50%; }.project-screenshot__bar b { margin-left: .3rem; overflow: hidden; font-size: .68rem; font-weight: var(--font-weight-medium); letter-spacing: .02em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }.project-screenshot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }.project-card .project-screenshot { border: 0; border-radius: 0; box-shadow: none; }.project-detail { align-items: start; }.project-detail__visual { min-height: auto; overflow: visible; box-shadow: none; }.project-detail__visual .project-screenshot { width: 100%; }.project-detail__copy { max-width: 42rem; padding-top: clamp(.5rem, 2vw, 1.5rem); }.project-detail__copy h2 { margin-bottom: var(--space-4); }.project-detail__copy > p { margin-bottom: var(--space-4); }.project-detail__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem var(--space-3); padding: var(--space-4) 0 0; margin: var(--space-4) 0 0; list-style: none; border-top: 1px solid var(--line); }.project-detail__features li { position: relative; padding-left: 1rem; color: var(--deep-ocean); font-size: var(--text-small); font-weight: var(--font-weight-medium); line-height: 1.45; }.project-detail__features li::before { position: absolute; left: 0; color: var(--ocean-teal); content: '•'; }.project-detail__related { margin-top: var(--space-4); }.project-detail__actions { display: flex; flex-wrap: wrap; gap: .25rem var(--space-4); padding-top: var(--space-3); margin-top: var(--space-4); border-top: 1px solid var(--line); }.project-detail__actions .text-link { min-height: 2.5rem; }
@media (max-width: 60rem) { .project-feature, .project-detail { grid-template-columns: minmax(0, 1fr); }.project-feature--reverse .project-feature__visual, .project-feature--reverse .project-feature__copy { order: initial; }.project-feature__copy { max-width: none; padding: var(--space-3) var(--space-2); }.project-detail__copy { max-width: none; padding-top: 0; } }
@media (max-width: 43rem) { .project-feature { gap: var(--space-3); padding: var(--space-3); }.project-feature__copy h3 { font-size: var(--font-size-subsection-title); }.project-detail__features { grid-template-columns: 1fr; }.project-screenshot__bar b { font-size: .62rem; } }

/* Projects closing section: three concise, non-clickable works cards. */
.project-other-works { padding-block: clamp(3rem, 5vw, 4rem); }.project-other-works__heading { margin-bottom: 1.5rem; }.project-other-works__heading h2 { margin-bottom: 0; color: var(--lagoon-text); }.project-other-works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }.project-other-work { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 2vw, 1.75rem); background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.68); border-radius: var(--radius-md); box-shadow: 0 .45rem 1.25rem rgba(20,44,50,.045); }.project-other-work__icon { display: grid; width: 2rem; height: 2rem; margin-bottom: var(--space-3); color: var(--ocean-teal); place-items: center; }.project-other-work__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }.project-other-work__category { margin: 0 0 .6rem; color: var(--ocean-teal); font-size: var(--text-caption); font-weight: var(--font-weight-medium); letter-spacing: .08em; line-height: 1.3; }.project-other-work h3 { margin-bottom: var(--space-2); color: var(--lagoon-text); font-size: var(--font-size-card-title); font-weight: var(--font-weight-regular); line-height: 1.2; }.project-other-work__description { margin: 0; color: var(--muted-ink); font-size: var(--text-body); line-height: 1.6; }.project-other-work__status { align-self: flex-start; padding: .3rem .55rem; margin: auto 0 0; color: var(--ocean-teal); font-size: var(--text-caption); font-weight: var(--font-weight-medium); letter-spacing: .055em; line-height: 1.25; background: rgba(255,255,255,.58); border: 1px solid rgba(22,123,128,.16); border-radius: 999px; }
@media (max-width: 60rem) { .project-other-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 43rem) { .project-other-works__grid { grid-template-columns: minmax(0, 1fr); }.project-other-work { padding: 1.5rem; } }
