@charset "UTF-8";
/*
NOTATION — SHARED UI CONTROL FILE

Conclusion: control the interface here, then compile to assets/css/ui.css.
Reasoning, from general to specific (Minto):
  1. Settings define the design decisions.
  2. Foundations establish the shared defaults.
  3. Shell establishes the page geometry.
  4. Components implement each responsibility once.
  5. Responsive rules adapt those decisions by viewport.

MECE ownership: typography/reset → foundations; page positioning → shell;
navigation → navigation; expanding rows → accordions; prose/media → content;
tiles/paging → archive; legacy footer → optional footer; access helpers → accessibility.
A component owns both its geometry and appearance. Responsive overrides are
intentional exceptions, not a second competing definition.

HTML/copy lives in .hbs. Opening, filtering, pagination and the natural scroll
endpoint live in main.js. Sass is a build tool; the browser only loads CSS.
*/
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
:root {
  --color-background: #fff;
  --color-text: #000;
  --color-muted: #b3b3b3;
  --font-family: Suisse Intl, Arial, sans-serif;
  --weight-regular: 400;
  --font-title: 32px;
  --font-reading: 16px;
  --nav-leading: 1.4375;
  --reading-leading: 1.3;
  --prose-leading: 1.45;
  --prose-hyphens: auto;
  --hyphenation-limits: 10 3 3;
  --grid-module: calc(var(--font-title) * var(--nav-leading));
  --section-gap: calc(var(--grid-module) * 1.5);
  --title-content-gap: calc(var(--grid-module) * 0.5 + 2px);
  --content-next-title-gap: 32px;
  --paragraph-gap: 24px;
  --reading-heading-gap: 16px;
  --heading-optical-offset: 10px;
  --reading-grid-offset: 6px;
  --page-inset: 72px;
  --sidebar-width: 320px;
  --text-width: 260px;
  --article-width: 680px;
  --label-tab: 40px;
  --column-gap: 32px;
  --logo-width: 150px;
  --media-ratio: 1.5;
  --archive-columns: 2;
  --archive-column-gap: 6px;
  --archive-row-gap: calc(var(--grid-module) * 1);
  --caption-gap: 8px;
  --pagination-gap: 16px;
  --pagination-target: 44px;
  --pagination-optical-offset: 2px;
  --underline-weight: 1.5px;
  --underline-offset: 4px;
  --focus-width: 1px;
  --focus-offset: 4px;
  --skip-inset: 12px;
  --metadata-gap: 4px;
  --contact-gap: 16px;
  --mobile-nav-optical-inset: 10px;
  --mobile-bar-height: calc(var(--grid-module) + (var(--page-inset) - var(--mobile-nav-optical-inset)) * 2);
  --mobile-content-gap: 32px;
  --mobile-filter-height: var(--grid-module);
  --mobile-filter-gap: 24px;
  --mobile-filter-bottom-padding: 10px;
  --drawer-width: 100%;
  --mobile-logo-width: 140px;
  --menu-target: 44px;
  --menu-icon-size: 24px;
  --menu-backdrop: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font: var(--weight-regular) var(--font-reading)/var(--reading-leading) var(--gh-font-body, var(--font-family));
  font-synthesis: none;
}

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

h1, h2, h3 {
  font-family: var(--gh-font-heading, var(--font-family));
  font-size: var(--font-title);
  font-weight: var(--weight-regular);
  line-height: var(--nav-leading);
}

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

button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

:focus-visible {
  outline: var(--focus-width) solid currentColor;
  outline-offset: var(--focus-offset);
}

#main:focus, .view:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

.site-sidebar {
  position: fixed;
  inset: var(--page-inset) auto var(--page-inset) var(--page-inset);
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  z-index: 10;
}

#main, .site-footer {
  margin-left: calc(var(--page-inset) + var(--sidebar-width));
  margin-right: var(--page-inset);
}

#main {
  padding-top: var(--page-inset);
  min-height: 100vh;
  padding-bottom: var(--page-inset);
}

.container {
  width: 100%;
}

.view {
  min-width: 0;
}

.site-sidebar .primary-nav, .archive-nav, .mobile-archive-nav {
  scrollbar-width: none;
}
.site-sidebar .primary-nav::-webkit-scrollbar, .archive-nav::-webkit-scrollbar, .mobile-archive-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav, .archive-nav {
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}

.site-sidebar .primary-nav {
  min-height: 0;
  overflow-y: auto;
  margin-bottom: var(--grid-module);
  transform: translateY(calc(-1 * var(--heading-optical-offset)));
}

.primary-nav > a {
  display: block;
  color: var(--color-muted);
}
.primary-nav a[aria-current=page] {
  color: var(--color-text);
}
.primary-nav > .contact-cta {
  color: var(--color-text);
  margin-top: var(--grid-module);
}

.archive-nav {
  display: flex;
  gap: var(--mobile-filter-gap);
  overflow-x: auto;
  transform: translateY(calc(-1 * var(--heading-optical-offset)));
}
.archive-nav button, .archive-nav a {
  flex-shrink: 0;
  line-height: var(--nav-leading);
  color: var(--color-muted);
}
.archive-nav button[data-active-filter], .archive-nav button[aria-pressed=true], .archive-nav button[aria-current=page], .archive-nav a[data-active-filter], .archive-nav a[aria-pressed=true], .archive-nav a[aria-current=page] {
  color: var(--color-text);
}
.archive-nav button:hover, .archive-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

.brand {
  display: block;
  margin-top: auto;
  align-self: flex-start;
}
.brand img {
  display: block;
  width: var(--logo-width);
  height: auto;
}

.site-sidebar .brand {
  flex-shrink: 0;
}

.back-nav {
  font-size: var(--font-reading);
  margin-bottom: var(--grid-module);
}

.contact-cta {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

.mobile-topbar, .mobile-archive-nav, .nav-backdrop, .drawer-header {
  display: none;
}

.menu-toggle, .menu-close {
  width: var(--menu-target);
  height: var(--menu-target);
  display: grid;
  place-items: center;
}

.menu-icon, .close-icon {
  display: block;
  width: var(--menu-icon-size);
  height: var(--menu-icon-size);
  flex-shrink: 0;
}

.mobile-page-title {
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}

.service {
  transform: translateY(calc(-1 * var(--heading-optical-offset)));
}

.service-trigger {
  display: grid;
  grid-template-columns: var(--label-tab) minmax(0, 1fr);
  width: 100%;
  align-items: start;
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}
.service-trigger:hover .service-title {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

.row-indicator::before {
  content: "+";
}

.service > summary {
  list-style: none;
  cursor: pointer;
}

.service > summary::-webkit-details-marker {
  display: none;
}

.service[open] .row-indicator::before {
  content: "−";
}

[aria-expanded=true] .row-indicator::before {
  content: "−";
}

.service-panel {
  padding-top: var(--title-content-gap);
  padding-bottom: var(--content-next-title-gap);
  margin-left: var(--label-tab);
}
.service-panel .reading {
  padding-top: var(--reading-grid-offset);
}

.service:last-child .service-panel {
  padding-bottom: 0;
}

[data-view=about] .service-panel > .container.reading {
  width: min(100%, var(--text-width));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--text-width)) minmax(0, 1fr);
  gap: var(--column-gap);
  align-items: start;
}

.reading {
  line-height: var(--prose-leading);
}
.reading p {
  text-wrap: pretty;
  hyphens: var(--prose-hyphens);
  hyphenate-limit-chars: var(--hyphenation-limits);
}
.reading p + p {
  margin-top: var(--paragraph-gap);
}
.reading h3 {
  margin-block: var(--paragraph-gap) var(--reading-heading-gap);
}
.reading h3:first-child {
  margin-top: 0;
}

.article-body, .project-body {
  margin-top: var(--section-gap);
}

[data-view=insight] .reading, [data-view=privacy] .reading {
  max-width: var(--article-width);
}

.media-stack {
  display: grid;
  gap: var(--grid-module);
}

.media img {
  display: block;
  width: 100%;
  aspect-ratio: var(--media-ratio);
  height: auto;
  object-fit: cover;
}

.metadata {
  margin-top: var(--grid-module);
}
.metadata div {
  display: flex;
  gap: var(--metadata-gap);
}

.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}

.contact-point {
  margin-top: var(--grid-module);
}

.archive-grid {
  --archive-space: 16px;
  display: grid;
  grid-template-columns: repeat(var(--archive-columns), minmax(0, 450px));
  gap: 0 var(--archive-column-gap);
  justify-content: start;
}

.project-card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
}

.tile {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
}
.tile .tile-media {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4/3;
  align-self: start;
  overflow: hidden;
}
.tile img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tile h2 {
  font-size: var(--font-reading);
  line-height: var(--reading-leading);
  background: var(--color-background);
  margin-top: var(--archive-space);
  align-self: start;
}
.tile h2 span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.tile:hover {
  text-decoration: none;
}
.tile h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

.tile-caption {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  min-width: 0;
  font-size: var(--font-reading);
  line-height: var(--reading-leading);
  background: var(--color-background);
}
.tile-caption h2 {
  padding-top: 0;
}

.tile-category, .tile-year {
  display: block;
}

.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
  margin: 8px 0 calc(2 * var(--archive-space));
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.archive-pagination {
  margin-top: var(--grid-module);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 var(--pagination-gap);
  font-size: var(--font-reading);
  line-height: 1;
}
.archive-pagination button, .archive-pagination a {
  color: var(--color-muted);
  min-height: var(--pagination-target);
  display: flex;
  align-items: flex-end;
  line-height: 1;
  transform: translateY(var(--pagination-optical-offset));
}
.archive-pagination button[aria-current=page], .archive-pagination a[aria-current=page] {
  color: var(--color-text);
}
.archive-pagination button:not(:disabled):hover, .archive-pagination a:not(:disabled):hover {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}
.archive-pagination button:disabled, .archive-pagination a:disabled {
  cursor: default;
}
.archive-pagination button:disabled:hover, .archive-pagination a:disabled:hover {
  text-decoration: none;
}
.archive-pagination > span {
  transform: translateY(var(--pagination-optical-offset));
}

.accordion-prose {
  max-width: var(--text-width);
}

.gh-content > * + * {
  margin-top: var(--paragraph-gap);
}
.gh-content img, .gh-content video {
  display: block;
  max-width: 100%;
  height: auto;
}
.gh-content iframe {
  max-width: 100%;
}
.gh-content a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}
.gh-content ul, .gh-content ol {
  padding-left: 1.25em;
}
.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-content .kg-gallery-row {
  display: flex;
  gap: 8px;
}
.gh-content .kg-gallery-image {
  flex: 1 1 0;
  min-width: 0;
}
.gh-content .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-content .kg-width-wide, .gh-content .kg-width-full {
  width: 100%;
}
.gh-content figcaption {
  font-size: var(--font-reading);
  color: var(--color-muted);
  margin-top: 8px;
}

.article-body {
  max-width: var(--article-width);
}

.post-view .article-body {
  max-width: 560px;
  display: flow-root;
  margin-top: calc(var(--post-tag-gap) - var(--heading-optical-offset) - var(--reading-grid-offset));
}
.post-view .article-body > p, .post-view .article-body > h2, .post-view .article-body > h3, .post-view .article-body > h4, .post-view .article-body > h5, .post-view .article-body > h6, .post-view .article-body > ul, .post-view .article-body > ol, .post-view .article-body > blockquote, .post-view .article-body > dl {
  max-width: 560px;
  box-sizing: border-box;
}
.post-view .article-body strong, .post-view .article-body b {
  font-weight: 700;
  font-synthesis: weight style;
}
.post-view .article-body em, .post-view .article-body i {
  font-style: italic;
  font-synthesis: weight style;
}
.post-view .article-body > h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  margin-top: 40px;
}
.post-view .article-body > h3 {
  font-size: 32px;
  line-height: 1.3;
}
.post-view .article-body > h2 + *, .post-view .article-body > h3 + * {
  margin-top: 16px;
}
.post-view .article-body > :first-child {
  margin-top: 0;
}
.post-view .article-body > blockquote {
  margin-inline: 0;
  padding: 0 32px;
  border: 0;
  border-left: 2.5pt solid var(--color-muted);
  border-right: 2.5pt solid var(--color-muted);
  font-size: inherit;
  line-height: inherit;
  font-style: italic;
  font-synthesis: weight style;
  color: var(--color-text);
  text-align: left;
}

.post-view {
  --post-tag-gap: 32px;
  max-width: var(--article-width);
}
.post-view a {
  color: var(--color-muted);
}
.post-view .post-header {
  display: grid;
  grid-template-rows: var(--grid-module) auto minmax(var(--grid-module), auto);
  transform: translateY(calc(-1 * var(--heading-optical-offset)));
}
.post-view .post-header .back-nav {
  margin: 0;
  align-self: start;
  padding-top: var(--reading-grid-offset);
}
.post-view .post-header h1 {
  max-width: 560px;
  overflow-wrap: anywhere;
}
.post-view .post-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 0 0.35em;
  padding-bottom: var(--reading-grid-offset);
}
.post-view .post-tags a:not(:last-child)::after {
  content: ",";
}
.post-view .post-feature {
  margin-top: calc(var(--grid-module) - var(--heading-optical-offset));
}
.post-view .post-details .post-credit-lines {
  display: grid;
  gap: 0;
}
.post-view .post-details .related-service-links a + a {
  margin-left: 0.35em;
}
.post-view .post-details {
  margin-top: var(--grid-module);
}
.post-view .post-details .post-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.35em;
  margin-bottom: 8px;
}
.post-view .post-details .post-footer-tags:empty {
  display: none;
}
.post-view .post-details .back-nav {
  margin: var(--grid-module) 0 0;
}

.post-feature {
  margin-top: var(--grid-module);
}
.post-feature img {
  width: 100%;
  height: auto;
  display: block;
}

.tile-no-image {
  aspect-ratio: auto;
  min-height: 120px;
}

.back-nav {
  display: inline-block;
}

.membership-cta {
  margin-top: var(--grid-module);
}

.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) {
  width: 100%;
  background: #fff !important;
  color: #000;
  border: 0;
  border-radius: 0;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-content {
  width: 100%;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-text {
  width: 100%;
  padding: 0;
  align-items: stretch;
  text-align: left;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) h2.kg-signup-card-heading {
  order: 0;
  margin: 0;
  color: #000 !important;
  font: 400 32px/1.2 var(--font-family);
  letter-spacing: 0;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-subheading, .gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-disclaimer {
  margin: 16px 0 0;
  max-width: none;
  color: #000 !important;
  font: 400 16px/1.3 var(--font-family);
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-subheading {
  order: 1;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-disclaimer {
  order: 2;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-form {
  order: 3;
  flex-direction: column;
  width: 100%;
  margin: 60px 0 0;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-fields {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f0f0f0;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 60px;
  margin: 0;
  padding: 0 24px;
  border-radius: 0;
  background: #f0f0f0;
  color: #000;
  font: 400 16px/1.3 var(--font-family);
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-input::placeholder {
  color: #000;
  opacity: 1;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-input:focus-visible {
  outline: 2px solid #000;
  outline-offset: -2px;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-button {
  flex: 0 0 150px;
  justify-content: center;
  height: 60px;
  padding: 0 12px;
  border-radius: 0;
  background: #000 !important;
  color: #fff !important;
  font: 400 16px/1.3 var(--font-family);
  letter-spacing: 0;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-error {
  position: static;
  margin-top: 12px;
  color: #b00020;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-success {
  font: 400 16px/1.3 var(--font-family);
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-form.error .kg-signup-card-fields {
  outline: 1px solid #b00020;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-form.success .kg-signup-card-success {
  min-height: 60px;
  height: auto;
}
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-form.error + .kg-signup-card-disclaimer,
.gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-form.success + .kg-signup-card-disclaimer {
  visibility: visible;
}

.gh-content:has(.kg-signup-card) .membership-cta {
  margin-top: 16px;
}
.gh-content:has(.kg-signup-card) .membership-cta h2, .gh-content:has(.kg-signup-card) .membership-cta .membership-cta-signup {
  display: none;
}

@media (max-width: 420px) {
  .gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-input {
    padding-inline: 16px;
  }
  .gh-content .kg-signup-card:not(.kg-layout-split):not(:has(picture)) .kg-signup-card-button {
    flex-basis: 120px;
  }
}
@media (max-width: 900px) {
  .accordion-prose {
    max-width: none;
  }
}
#clients .gh-content {
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}
#clients .gh-content p + p {
  margin-top: 0;
}
#clients .gh-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer {
  padding-bottom: var(--page-inset);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--column-gap);
}

.footer-details {
  padding-top: var(--section-gap);
}

.footer-contact {
  display: block;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--contact-gap);
  font-size: var(--font-reading);
}

.contact-email {
  margin-left: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  top: var(--skip-inset);
  left: var(--skip-inset);
  z-index: 20;
  background: var(--color-background);
}

@media (max-width: 1150px) {
  :root {
    --font-title: 32px;
    --page-inset: 72px;
    --sidebar-width: 240px;
    --text-width: 260px;
    --archive-columns: 2;
    --logo-width: 150px;
  }
}
@media (max-width: 900px) {
  :root {
    --font-title: 28px;
    --page-inset: 36px;
    --sidebar-width: 190px;
    --logo-width: 160px;
  }
  .mobile-topbar {
    display: flex;
    position: fixed;
    inset: 0 0 auto;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    background: var(--color-background);
    z-index: 20;
  }
  .menu-toggle {
    width: 100%;
    height: var(--mobile-bar-height);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--page-inset);
  }
  .mobile-archive-nav {
    display: flex;
    position: absolute;
    top: calc((var(--mobile-bar-height) - var(--grid-module)) / 2 + var(--grid-module));
    left: 0;
    z-index: 19;
    background: var(--color-background);
    width: 100%;
    height: calc(var(--mobile-filter-height) + var(--mobile-filter-bottom-padding));
    padding-bottom: var(--mobile-filter-bottom-padding);
    align-items: center;
    gap: var(--mobile-filter-gap);
    padding-inline: var(--page-inset);
    overflow-x: auto;
    font-size: var(--font-title);
    line-height: var(--nav-leading);
  }
  .mobile-archive-nav button, .mobile-archive-nav a {
    flex-shrink: 0;
    min-height: var(--mobile-filter-height);
    color: var(--color-muted);
  }
  .mobile-archive-nav button[data-active-filter], .mobile-archive-nav button[aria-pressed=true], .mobile-archive-nav button[aria-current=page], .mobile-archive-nav a[data-active-filter], .mobile-archive-nav a[aria-pressed=true], .mobile-archive-nav a[aria-current=page] {
    color: var(--color-text);
  }
  .mobile-archive-nav button:hover, .mobile-archive-nav a:hover {
    text-decoration: underline;
    text-decoration-thickness: var(--underline-weight);
    text-underline-offset: var(--underline-offset);
  }
  .archive-nav {
    display: none;
  }
  .site-sidebar {
    inset: 0 auto 0 0;
    width: var(--drawer-width);
    padding: var(--page-inset);
    background: var(--color-background);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: none;
  }
  .site-sidebar .brand {
    display: block;
  }
  .site-sidebar .brand img {
    width: var(--mobile-logo-width);
  }
  .site-sidebar .primary-nav {
    transform: none;
    margin-top: calc((var(--mobile-bar-height) - var(--grid-module)) / 2 - var(--page-inset));
    padding-right: var(--menu-target);
  }
  .drawer-header {
    display: flex;
    align-items: center;
    position: absolute;
    right: calc(var(--page-inset) - 11px);
    top: calc((var(--mobile-bar-height) - var(--menu-target)) / 2);
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: var(--menu-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: none;
  }
  body.nav-open .site-sidebar {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  #main, .site-footer {
    margin-inline: var(--page-inset);
  }
  #main {
    padding-top: calc(var(--mobile-bar-height) + var(--mobile-content-gap));
  }
  body:has(.archive-nav) .mobile-topbar {
    padding-top: calc((var(--mobile-bar-height) - var(--grid-module)) / 2);
    padding-bottom: 0;
  }
  body:has(.archive-nav) .menu-toggle {
    height: var(--grid-module);
  }
  body:has(.archive-nav) #main {
    padding-top: calc((var(--mobile-bar-height) - var(--grid-module)) / 2 + var(--grid-module) + var(--mobile-filter-height) + var(--mobile-filter-bottom-padding));
  }
  .split-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  [data-view=about] .service-panel > .container.reading {
    width: 100%;
  }
}
@media (max-width: 600px) {
  :root {
    --sidebar-width: 120px;
    --column-gap: 16px;
    --logo-width: 110px;
    --archive-columns: 1;
  }
  .service-panel {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-sidebar, .nav-backdrop {
    transition: none;
  }
}
@media (max-width: 900px) {
  html:not(.js) .mobile-topbar, html:not(.js) .mobile-archive-nav, html:not(.js) .nav-backdrop, html:not(.js) .drawer-header {
    display: none;
  }
  html:not(.js) .site-sidebar {
    position: static;
    opacity: 1;
    visibility: visible;
    width: auto;
    padding-bottom: 0;
  }
  html:not(.js) .site-sidebar .brand {
    display: none;
  }
  html:not(.js) #main {
    padding-top: var(--grid-module);
  }
  html:not(.js) .archive-nav {
    display: flex;
  }
}
.gh-content .kg-gallery-card .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: var(--archive-column-gap);
}
.gh-content .kg-gallery-card .gallery-grid-row {
  display: flex;
  gap: var(--archive-column-gap);
  align-items: start;
}
.gh-content .kg-gallery-card .kg-gallery-row {
  display: contents;
}
.gh-content .kg-gallery-card .kg-gallery-image {
  flex: 0 0 var(--gallery-width, 100%) !important;
  min-width: 0;
  margin: 0 !important;
}
.gh-content .kg-gallery-card .gallery-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.gh-content .kg-gallery-card .gallery-image-button img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.15s ease-in-out;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  overflow: auto;
}
.gallery-lightbox::backdrop {
  background: #fff;
}
.gallery-lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.gallery-lightbox button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
}
.gallery-lightbox button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}
.gallery-lightbox .gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 32px;
}
.gallery-lightbox .gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}
.gallery-lightbox .gallery-full-image {
  display: block;
  max-width: min(85vw, 100vw - 104px);
  max-height: 80vh;
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}
.gallery-lightbox .gallery-prev, .gallery-lightbox .gallery-next {
  flex: 0 0 44px;
  height: 44px;
  font-size: 28px;
}
.gallery-lightbox .gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 85vw;
}
.gallery-lightbox .gallery-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.gallery-lightbox .gallery-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--color-muted);
}
.gallery-lightbox .gallery-dot[aria-current=true]::after {
  background: #000;
}
.gallery-lightbox [hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .gallery-lightbox .gallery-stage {
    gap: 0;
  }
  .gallery-lightbox .gallery-full-image {
    max-width: calc(100vw - 88px);
  }
}
@media (hover: hover) and (pointer: fine) {
  .gh-content .kg-gallery-card .gallery-image-button:hover img {
    transform: scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gh-content .kg-gallery-card .gallery-image-button img {
    transition: none;
  }
  .gh-content .kg-gallery-card .gallery-image-button:hover img {
    transform: none;
  }
}
.project-card .tile-media {
  cursor: pointer;
}
.project-card .tile-media img {
  transition: transform 0.15s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .project-card .tile-media:hover img {
    transform: scale(1.02);
  }
  .project-card .tile:has(.tile-media:hover) h2 a {
    text-decoration: underline;
    text-decoration-thickness: var(--underline-weight);
    text-underline-offset: var(--underline-offset);
  }
}
.project-card .tile:has(.tile-media:focus-visible) h2 a {
  text-decoration: underline;
  text-decoration-thickness: var(--underline-weight);
  text-underline-offset: var(--underline-offset);
}

@media (prefers-reduced-motion: reduce) {
  .project-card .tile-media img {
    transition: none;
  }
  .project-card .tile-media:hover img {
    transform: none;
  }
}
.project-card .tile-media,
.gh-content .gallery-image-button,
.image-border-frame,
.gallery-viewer-picture {
  position: relative;
  display: block;
  isolation: isolate;
}
.project-card .tile-media::after,
.gh-content .gallery-image-button::after,
.image-border-frame::after,
.gallery-viewer-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #f0f0f0;
  box-sizing: border-box;
  mix-blend-mode: darken;
  pointer-events: none;
}

.gallery-viewer-picture {
  flex: 0 1 auto;
  min-width: 0;
}

.image-border-frame {
  max-width: 100%;
}

.image-border-frame.image-border-inline {
  display: inline-block;
  vertical-align: middle;
}

.image-surface-positioned > img, .image-surface-positioned > picture {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.minimal-home .home-layout {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: var(--page-inset);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.home-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--font-title);
  line-height: var(--nav-leading);
}
.home-navigation a {
  color: var(--color-text);
}

.home-logo {
  display: block;
  width: var(--logo-width);
  height: auto;
}

@media (max-width: 900px) {
  .home-logo {
    width: var(--mobile-logo-width);
  }
}
html {
  scrollbar-gutter: stable;
}

.js:not(.theme-ready) #main, .js:not(.theme-ready) .site-sidebar, .js:not(.theme-ready) .mobile-topbar, .js:not(.theme-ready) .mobile-archive-nav {
  visibility: hidden;
}

.js:not(.archive-timeout) [data-priority-grid]:not([data-priority-ready]) {
  visibility: hidden;
}

.archive-loading {
  display: none;
  color: var(--color-muted);
  position: absolute;
  margin: 0;
}

.js:not(.archive-timeout) .archive-loading:has(+ [data-priority-grid]:not([data-priority-ready])) {
  display: block;
}

.holding-layout {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--page-inset);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.holding-contact {
  color: var(--color-muted);
  font-size: var(--font-reading);
  line-height: 1.4;
}
