/*
  33punt theme foundation.
  This file is hand-authored and loaded after the generated Fantasma bundle.
  Browser default root size is expected to be 16px, so 1rem = 16px.
*/

:root {
  --fs-space-1: 0.25rem;
  --fs-space-2: 0.5rem;
  --fs-space-3: 0.75rem;
  --fs-space-4: 1rem;
  --fs-space-5: 1.25rem;
  --fs-space-6: 1.5rem;
  --fs-space-8: 2rem;
  --fs-space-10: 2.5rem;
  --fs-space-12: 3rem;
  --fs-space-16: 4rem;
  --fs-space-24: 6rem;

  /*
    Site container system:
    - compact/mobile: fluid width with safe gutters
    - medium/tablet: fluid width with larger gutters
    - desktop/large: centered content capped at the site width
  */
  --fs-container-site: 71.25rem;
  --fs-container-narrow: 45rem;
  --fs-container-default: var(--fs-container-site);
  --fs-container-wide: var(--fs-container-site);
  --fs-container-full: 100%;
  --fs-form-embed-offset: 0.5rem;
  --fs-gutter: clamp(1.25rem, 4vw, 4rem);
  --fs-grid-column-gap: clamp(1.5rem, 3vw, 2rem);
  --fs-grid-row-gap: clamp(3rem, 6vw, 4rem);

  --fs-font-xs: 0.75rem;
  --fs-font-sm: 0.875rem;
  --fs-font-base: 0.9375rem;
  --fs-font-md: 1rem;
  --fs-font-lg: 1.125rem;
  --fs-font-xl: 1.25rem;
  --fs-font-heading-xs: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --fs-font-heading-sm: clamp(1.125rem, 1.065rem + 0.3vw, 1.25rem);
  --fs-font-heading-md: clamp(1.5rem, 1.32rem + 0.9vw, 1.875rem);
  --fs-font-heading-lg: clamp(1.875rem, 1.695rem + 0.9vw, 2.25rem);
  --fs-font-heading-xl: clamp(2.25rem, 2.025rem + 1.125vw, 3rem);

  --fs-line-tight: 1.1;
  --fs-line-heading: 1.15;
  --fs-line-snug: 1.25;
  --fs-line-base: 1.5;
  --fs-line-relaxed: 1.625;

  --fs-weight-medium: 550;
  --fs-weight-semibold: 650;
  --fs-weight-bold: 700;

  --fs-radius-sm: 0.25rem;
  --fs-radius-md: 0.5rem;
  --fs-radius-lg: 1rem;
  --fs-radius-xl: 1.5rem;
  --fs-radius-pill: 999px;

  --spacing: var(--fs-space-1);
  --container-2xl: 42rem;
  --container-3xl: 48rem;
  --container-4xl: 56rem;
  --container-standard: var(--fs-container-default);
  --font-weight-medium: var(--fs-weight-medium);
  --font-weight-semibold: var(--fs-weight-semibold);
  --font-weight-bold: var(--fs-weight-bold);
  --radius-sm: var(--fs-radius-sm);
  --radius-lg: var(--fs-radius-md);
  --radius-2xl: var(--fs-radius-lg);
  --radius-3xl: var(--fs-radius-xl);
}

html {
  font-size: 100%;
}

body {
  font-size: var(--fs-font-base);
  line-height: var(--fs-line-base);
}

.skip-link {
  position: fixed;
  top: var(--fs-space-4);
  left: var(--fs-space-4);
  z-index: 10000;
  transform: translateY(calc(-100% - var(--fs-space-8)));
  border-radius: var(--fs-radius-pill);
  background: var(--foreground);
  color: var(--background);
  padding: var(--fs-space-3) var(--fs-space-5);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#site-content:focus {
  outline: none;
}

.fs-section {
  box-sizing: border-box;
  width: 100%;
  padding-inline: var(--fs-gutter);
}

.fs-section.max-w-narrow {
  max-width: min(100%, calc(var(--fs-container-narrow) + var(--fs-gutter) + var(--fs-gutter)));
}

.fs-section.max-w-standard,
.fs-section.max-w-wide {
  max-width: min(100%, calc(var(--fs-container-site) + var(--fs-gutter) + var(--fs-gutter)));
}

.fs-section.pt-6 {
  padding-top: var(--fs-space-6);
}

.fs-section.pb-6 {
  padding-bottom: var(--fs-space-6);
}

.fs-section.pt-10 {
  padding-top: var(--fs-space-10);
}

.fs-section.pb-10 {
  padding-bottom: var(--fs-space-10);
}

.fs-section.pt-12 {
  padding-top: var(--fs-space-12);
}

.fs-section.pb-12 {
  padding-bottom: var(--fs-space-12);
}

.fs-section.pt-16 {
  padding-top: clamp(3rem, 6vw, var(--fs-space-16));
}

.fs-section.pb-16 {
  padding-bottom: clamp(3rem, 6vw, var(--fs-space-16));
}

.fs-section.pt-24 {
  padding-top: clamp(4rem, 8vw, var(--fs-space-24));
}

.fs-section.pb-24 {
  padding-bottom: clamp(4rem, 8vw, var(--fs-space-24));
}

.fs-section.mt-16 {
  margin-top: clamp(3rem, 6vw, var(--fs-space-16));
}

.max-w-narrow {
  max-width: var(--fs-container-narrow);
}

.max-w-standard {
  max-width: var(--fs-container-default);
}

.max-w-wide {
  max-width: var(--fs-container-wide);
}

.max-w-full {
  max-width: var(--fs-container-full);
}

.fs-layout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--fs-grid-column-gap);
  row-gap: var(--fs-grid-row-gap);
  align-items: start;
}

.fs-layout-grid > * {
  min-width: 0;
}

.heading-size-xs {
  font-size: var(--fs-font-heading-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.heading-size-sm {
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.heading-size-md {
  font-size: var(--fs-font-heading-md);
  line-height: 1.2;
  font-weight: var(--fs-weight-semibold);
}

.heading-size-lg {
  font-size: var(--fs-font-heading-lg);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
}

.heading-size-xl {
  font-size: var(--fs-font-heading-xl);
  line-height: var(--fs-line-tight);
  font-weight: var(--fs-weight-semibold);
}

.fs-formatting {
  text-wrap: pretty;
}

.block-heading {
  text-wrap: balance;
}

.gh-article-excerpt,
.section-cards p {
  line-height: var(--fs-line-relaxed);
}

.rating-half-star {
  clip-path: inset(0 50% 0 0);
}

.gh-navigation .site-logo {
  display: inline-flex;
  min-height: 4.25rem;
  align-items: center;
}

.gh-navigation .site-logo-image {
  height: clamp(3.25rem, 4vw, 4.25rem);
}

.gh-mobile-menu {
  background: var(--background);
  color: var(--foreground);
}

.gh-mobile-menu::backdrop {
  background: rgb(0 0 0 / 0.5);
}

.gh-mobile-menu__inner {
  min-height: 100dvh;
  padding: max(var(--fs-space-4), env(safe-area-inset-top)) var(--fs-gutter) max(var(--fs-space-8), env(safe-area-inset-bottom));
}

.gh-mobile-menu__header {
  flex: 0 0 auto;
  min-height: 4.25rem;
  gap: var(--fs-space-4);
}

.gh-mobile-menu__actions {
  gap: var(--fs-space-2);
}

.gh-mobile-menu__search,
.gh-mobile-menu__close {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--fs-radius-pill);
}

.gh-mobile-menu__search:focus-visible,
.gh-mobile-menu__close:focus-visible,
.gh-mobile-menu__nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.2rem;
}

.gh-mobile-menu__nav {
  margin-top: var(--fs-space-16);
}

.gh-mobile-menu__nav-list {
  gap: var(--fs-space-2);
}

.gh-mobile-menu__nav-link {
  display: block;
  padding-block: var(--fs-space-1);
  color: var(--foreground);
  font-size: 3rem;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.gh-mobile-menu__nav-link:hover,
.gh-mobile-menu__nav-list .nav-current > .gh-mobile-menu__nav-link {
  color: var(--accent);
  opacity: 1;
}

.gh-mobile-menu__member-actions {
  width: 100%;
  align-items: flex-start;
  padding-top: var(--fs-space-8);
}

.gh-mobile-menu__member-actions a,
.gh-mobile-menu__member-actions button {
  min-height: 2.75rem;
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
}

.gh-mobile-menu__member-actions [data-account-dialog-open] {
  align-self: stretch;
  width: 100%;
  min-height: 3.5rem;
  border-radius: var(--fs-radius-pill);
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: var(--fs-weight-semibold);
}

.gh-mobile-menu__member-actions [data-account-dialog-open]:hover {
  opacity: 0.9;
}

.account-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(calc(100vw - var(--fs-gutter) - var(--fs-gutter)), 32rem);
  max-width: 100%;
  max-height: calc(100dvh - var(--fs-space-8));
  margin: 0;
  border: 0;
  border-radius: var(--fs-radius-lg);
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.2);
  transform: translate(-50%, -50%);
}

.account-dialog::backdrop {
  background: rgb(0 0 0 / 0.44);
  backdrop-filter: blur(0.35rem);
}

.account-dialog__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: clamp(var(--fs-space-6), 5vw, var(--fs-space-10));
}

.account-dialog__screen {
  display: flex;
  flex-direction: column;
}

.account-dialog__screen[hidden] {
  display: none;
}

.account-dialog__close {
  position: absolute;
  top: var(--fs-space-5);
  right: var(--fs-space-5);
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--fs-radius-pill);
  color: var(--muted-foreground);
  cursor: pointer;
}

.account-dialog__close:hover {
  color: var(--foreground);
  background: var(--muted);
}

.account-dialog__close:focus-visible,
.account-dialog-portal:focus-visible,
.account-dialog__action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.account-dialog__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--fs-space-2) var(--fs-space-8) var(--fs-space-8);
  text-align: center;
}

.account-dialog__avatar {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  border-radius: var(--fs-radius-pill);
  color: var(--accent);
}

.account-dialog__header h2 {
  margin: var(--fs-space-4) 0 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-md);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
}

.account-dialog__header p {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  gap: var(--fs-space-1);
  margin: var(--fs-space-4) 0 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-snug);
}

.account-dialog__header strong {
  color: var(--foreground);
  font-weight: var(--fs-weight-semibold);
}

.account-dialog__header span {
  overflow-wrap: anywhere;
}

.account-dialog__subheader {
  padding: var(--fs-space-2) var(--fs-space-8) var(--fs-space-8) 0;
}

.account-dialog__subheader h2 {
  margin: var(--fs-space-5) 0 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-md);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
}

.account-dialog__back {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  border-radius: var(--fs-radius-pill);
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  cursor: pointer;
}

.account-dialog__back::before {
  margin-right: var(--fs-space-2);
  content: "←";
}

.account-dialog__back:hover {
  color: var(--foreground);
}

.account-dialog__section {
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-md);
  background: var(--background);
}

.account-dialog__section + .account-dialog__section {
  margin-top: var(--fs-space-4);
}

.account-dialog__section--portals:has(.account-dialog__portal-list:empty) {
  display: none;
}

.account-dialog__section h3 {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: var(--fs-space-4) var(--fs-space-5);
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-dialog__portal-list,
.account-dialog__actions {
  display: flex;
  flex-direction: column;
}

.account-dialog-portal,
.account-dialog__action {
  display: flex;
  width: 100%;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--fs-space-4);
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: var(--fs-space-4) var(--fs-space-5);
  color: var(--foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-dialog-portal:last-child,
.account-dialog__action:last-child {
  border-bottom: 0;
}

.account-dialog-portal:hover,
.account-dialog__action:hover {
  background: var(--muted);
}

.account-dialog-portal span:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--fs-space-1);
}

.account-dialog-portal strong {
  overflow: hidden;
  color: var(--foreground);
  font-weight: var(--fs-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dialog-portal small {
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
}

.account-dialog-portal span:last-child {
  color: var(--accent);
  font-size: var(--fs-font-sm);
  font-weight: var(--fs-weight-semibold);
}

.account-dialog__action {
  background: transparent;
}

.account-dialog__action--muted {
  color: var(--muted-foreground);
}

.account-dialog__details {
  display: flex;
  flex-direction: column;
}

.account-dialog__details > div {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-1);
  border-bottom: 1px solid var(--border);
  padding: var(--fs-space-4) var(--fs-space-5);
}

.account-dialog__details > div:last-child {
  border-bottom: 0;
}

.account-dialog__details span {
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-dialog__details strong {
  color: var(--foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  overflow-wrap: anywhere;
}

.account-dialog__note {
  margin: var(--fs-space-5) 0 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-relaxed);
}

.account-dialog__primary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: var(--fs-space-6);
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-3) var(--fs-space-6);
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
}

.account-dialog__primary:hover {
  opacity: 0.9;
}

@media (min-width: 48rem) and (max-width: 79.999rem) {
  .gh-mobile-menu__nav-link {
    font-size: 4rem;
  }
}

.home-hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--fs-radius-lg);
}

.home-hero-poster,
.home-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-poster {
  z-index: 1;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.home-hero-media.is-playing .home-hero-poster {
  opacity: 0;
}

.home-hero-title {
  width: 100%;
  max-width: 68rem;
  margin-block: -0.06em;
  color: var(--foreground);
  font-size: 3.55rem;
  font-weight: var(--fs-weight-bold);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-hero-intro {
  width: 100%;
  max-width: 42rem;
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  font-weight: var(--fs-weight-medium);
  line-height: var(--fs-line-relaxed);
  letter-spacing: 0;
}

.home-work-card {
  overflow: hidden;
  border-radius: var(--fs-radius-lg);
}

.home-work-card > div:last-child {
  align-self: stretch;
  min-height: 0;
  height: auto;
  justify-content: space-between;
  gap: var(--fs-space-6);
}

.home-work-card .block-heading {
  max-width: min(100%, 22rem);
  color: #fff;
  text-shadow: 0 0.1rem 1.25rem rgb(0 0 0 / 0.32);
}

.home-work-card a {
  align-self: flex-start;
}

@media (max-width: 47.999rem) {
  #hero.fs-section.pt-16 {
    padding-top: var(--fs-space-10);
  }

  #hero.fs-section.pb-16 {
    padding-bottom: var(--fs-space-10);
  }

  #hero > .w-full > .relative {
    gap: var(--fs-space-6);
  }
}

@media (min-width: 48rem) {
  .home-hero-title {
    max-width: 72rem;
    font-size: 5rem;
  }

  .home-hero-intro {
    max-width: 46rem;
    font-size: var(--fs-font-xl);
  }
}

@media (min-width: 64rem) {
  .home-hero-title {
    font-size: 6.5rem;
  }
}

.home-studio-cta-layout {
  display: grid;
  gap: var(--fs-space-8);
  align-items: center;
}

.home-studio-cta-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--fs-radius-lg);
  justify-self: stretch;
}

@media (min-width: 64rem) {
  .home-studio-cta {
    display: flex;
    min-height: clamp(38rem, 72vh, 52rem);
    flex-direction: column;
    justify-content: center;
  }
}

.home-studio-cta-copy {
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-6);
}

.home-studio-cta-copy :where(.block-heading, p) {
  max-width: 100%;
}

.work-hero-content {
  display: flex;
  width: 100%;
  max-width: 48rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-5);
}

.work-hero-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fs-space-3);
}

.work-hero-link {
  gap: var(--fs-space-2);
  white-space: nowrap;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fs-space-6);
  margin-top: var(--fs-space-12);
  align-items: stretch;
}

.content-grid:empty {
  display: none;
}

.content-grid--services {
  --content-card-media-aspect: 4 / 3;

  gap: var(--fs-space-4);
}

.services-grid .content-card--wide .content-card__media {
  aspect-ratio: var(--content-card-media-aspect, 4 / 3);
}

@media (min-width: 48rem) {
  .services-grid .content-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid .content-card--wide {
    grid-column: 1 / -1;
  }

  .services-grid .content-card--wide .content-card__media {
    aspect-ratio: 8 / 3;
  }
}

.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-md);
  background: var(--background);
}

.content-card--highlight {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
}

.content-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.content-card__link:focus-visible,
.content-card__action--button:focus-visible,
.content-card__action--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.content-card__media {
  overflow: hidden;
  aspect-ratio: var(--content-card-media-aspect, 4 / 3);
  background: var(--muted);
}

.content-card__media :where(picture, img) {
  width: 100%;
  height: 100%;
}

.content-card__media img {
  object-fit: cover;
  transition: transform 180ms ease;
}

.content-card__link:hover .content-card__media img {
  transform: scale(1.025);
}

.content-card--wide .content-card__media {
  aspect-ratio: 16 / 9;
}

.content-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-3);
  padding: var(--fs-space-6);
}

.content-card__title {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.content-card__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card--highlight .content-card__title,
.content-card--highlight .content-card__excerpt {
  color: inherit;
}

.content-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fs-space-3);
  margin-top: auto;
}

.content-card__action--button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-3) var(--fs-space-6);
  font-size: var(--fs-font-sm);
  font-weight: var(--fs-weight-semibold);
  line-height: var(--fs-line-snug);
  text-decoration: none;
  transition: opacity 180ms ease;
}

.content-card__action--button:hover {
  opacity: 0.88;
}

.content-card__action.content-card__action--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fs-space-2);
  padding-block: var(--fs-space-3);
  color: inherit;
  font-size: var(--fs-font-sm);
  font-weight: var(--fs-weight-semibold);
  line-height: var(--fs-line-snug);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.content-card__action--link:hover {
  opacity: 0.8;
}

.content-card__action--primary {
  background: var(--accent);
  color: var(--accent-foreground);
}

.content-card--highlight .content-card__action--primary {
  background: var(--background);
  color: #15171a;
}

.work-case-list {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-16);
}

.work-case-item {
  display: grid;
  gap: var(--fs-space-6);
  align-items: start;
}

.work-case-item__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
  color: inherit;
  text-decoration: none;
}

.work-case-item__media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.work-case-item__media :where(picture, img) {
  width: 100%;
  height: 100%;
}

.work-case-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.work-case-item__media:hover .work-case-item__image {
  transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-poster,
  .content-card__media img,
  .work-case-item__image {
    transition: none;
  }

  .content-card__link:hover .content-card__media img,
  .work-case-item__media:hover .work-case-item__image {
    transform: none;
  }
}

.work-case-item__placeholder {
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding: var(--fs-space-6);
  color: var(--muted-foreground);
  font-size: var(--fs-font-heading-sm);
  font-weight: var(--fs-weight-semibold);
  line-height: var(--fs-line-snug);
}

.work-case-item__content {
  min-width: 0;
}

.work-case-item__content-inner {
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.work-case-item__title {
  margin: 0;
  color: var(--foreground);
  font-size: 2rem;
  line-height: 0.98;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.work-case-item__excerpt {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  line-height: var(--fs-line-relaxed);
}

.work-case-item__title + .work-case-item__excerpt {
  margin-top: var(--fs-space-4);
}

.work-case-item__actions {
  margin-top: var(--fs-space-4);
}

@media (min-width: 48rem) {
  .work-case-item__title {
    font-size: 3rem;
  }

  .work-case-item__title + .work-case-item__excerpt {
    margin-top: var(--fs-space-6);
  }
}

@media (min-width: 64rem) {
  .work-case-list {
    gap: var(--fs-space-24);
  }

  .work-case-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--fs-space-8), 4vw, var(--fs-space-16));
  }

  .work-case-item__media {
    height: auto;
  }

  .work-case-item__content {
    display: flex;
    align-self: stretch;
    align-items: flex-start;
  }

  .work-case-item__content-inner {
    position: sticky;
    top: var(--fs-space-8);
  }

  .work-case-item__title {
    font-size: 4rem;
  }

  .work-case-item__title + .work-case-item__excerpt {
    margin-top: var(--fs-space-8);
  }

  .work-case-item:nth-child(even) .work-case-item__media {
    order: 2;
  }

  .work-case-item:nth-child(even) .work-case-item__content {
    order: 1;
  }
}

.services-minimal-list-section:not(:has(.services-minimal-list__item)) {
  display: none;
}

body:has(.services-minimal-list__item) .services-minimal-list-section + .gh-footer {
  margin-top: 0;
}

.services-minimal-list {
  display: flex;
  border-top: 1px solid var(--border);
  padding-top: var(--fs-space-5);
  flex-direction: column;
  gap: var(--fs-space-3);
}

.services-minimal-list:not(:has(.services-minimal-list__item)) {
  display: none;
}

.services-minimal-list__title {
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-transform: uppercase;
}

.services-minimal-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2) var(--fs-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-minimal-list__link {
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  text-decoration: none;
}

.services-minimal-list__link:hover,
.services-minimal-list__link:focus-visible {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.error-page__stage {
  display: flex;
  min-height: clamp(34rem, 74svh, 52rem);
  padding-top: clamp(var(--fs-space-12), 7vw, var(--fs-space-24));
  padding-bottom: clamp(var(--fs-space-12), 7vw, var(--fs-space-24));
  overflow: hidden;
  align-items: center;
}

.error-page__inner {
  position: relative;
  width: 100%;
  max-width: var(--fs-container-site);
  margin-inline: auto;
  isolation: isolate;
}

.error-page__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  max-width: 62rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-5);
}

.error-page__kicker {
  margin: 0;
  color: var(--accent);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-page__content h1 {
  max-width: 50rem;
  margin: 0;
  color: var(--foreground);
  font-size: 2.25rem;
  line-height: 0.98;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.error-page__code {
  margin: 0;
  color: var(--accent);
  font-size: 7rem;
  line-height: 0.8;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
}

.error-page__body {
  display: flex;
  max-width: 50rem;
  flex-direction: column;
  gap: var(--fs-space-2);
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  line-height: var(--fs-line-relaxed);
  font-weight: var(--fs-weight-medium);
}

.error-page__body p {
  margin: 0;
}

.error-page__actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fs-space-3);
  margin-top: var(--fs-space-4);
}

.error-page__button,
.error-page__link {
  transform: translateY(0);
}

.error-page__button:hover,
.error-page__button:focus-visible,
.error-page__link:hover,
.error-page__link:focus-visible {
  transform: translateY(-2px);
}

.error-page__link {
  gap: var(--fs-space-2);
  white-space: nowrap;
}

.error-page__background-code {
  position: absolute;
  z-index: 0;
  right: max(-0.08em, -6vw);
  bottom: -0.22em;
  color: transparent;
  font-size: 10rem;
  line-height: 0.78;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  opacity: 0.06;
  pointer-events: none;
  -webkit-text-stroke: 1px var(--foreground);
  text-stroke: 1px var(--foreground);
}

@media (max-width: 47.999rem) {
  .error-page__stage {
    min-height: clamp(31rem, 70svh, 42rem);
  }

  .error-page__actions > * {
    width: 100%;
  }

  .error-page__background-code {
    right: -0.16em;
    bottom: -0.28em;
    font-size: 9rem;
    opacity: 0.04;
  }
}

@media (min-width: 48rem) {
  .error-page__content h1 {
    font-size: 3rem;
  }

  .error-page__code {
    font-size: 11rem;
  }
}

@media (min-width: 64rem) {
  .error-page__content h1 {
    font-size: 3.75rem;
  }

  .error-page__code {
    font-size: 14rem;
  }

  .error-page__background-code {
    font-size: 18rem;
  }
}

.work-post {
  background: var(--background);
}

.work-post :where(#work-case-content) {
  scroll-margin-top: 6rem;
}

.work-post-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(var(--fs-space-10), 6vw, 5rem);
}

.work-post-hero__inner,
.work-post-content__inner,
.work-post-related__inner {
  width: 100%;
  max-width: var(--fs-container-site);
  margin-inline: auto;
}

.work-post-hero__inner {
  display: grid;
  gap: var(--fs-space-8);
  align-items: center;
}

.work-post-hero__copy {
  display: flex;
  min-width: 0;
  max-width: 48rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-5);
}

.work-post-hero__eyebrow {
  color: var(--accent);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.work-post-hero__eyebrow:hover,
.work-post-hero__eyebrow:focus-visible {
  color: var(--foreground);
}

.work-post-hero__title {
  max-width: 58rem;
  margin: 0;
  color: var(--foreground);
  font-size: 2.5rem;
  line-height: 0.96;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.work-post-hero__excerpt {
  max-width: 42rem;
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  line-height: var(--fs-line-relaxed);
  font-weight: var(--fs-weight-medium);
}

.work-post-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-3);
  margin-top: var(--fs-space-2);
}

.work-post-hero__media {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
}

.work-post-hero__picture,
.work-post-hero__image {
  display: block;
  width: 100%;
}

.work-post-hero__image {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.work-post-hero--no-media .work-post-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.work-post-hero--no-media .work-post-hero__copy {
  max-width: 58rem;
}

.work-post-content {
  padding-top: clamp(var(--fs-space-10), 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.work-post-content__inner {
  display: flex;
  justify-content: center;
}

.work-post-content__main {
  width: 100%;
  max-width: 48rem;
}

.work-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2);
  margin: 0 0 clamp(var(--fs-space-8), 5vw, var(--fs-space-12));
  padding: 0 0 var(--fs-space-5);
  border-bottom: 1px solid var(--border);
}

.work-post-meta__item {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-2) var(--fs-space-4);
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.work-post-meta__item:hover,
.work-post-meta__item:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.work-post-editorial :where(h2, h3, h4) {
  scroll-margin-top: 6rem;
}

.work-post-editorial .kg-image-card img,
.work-post-editorial .kg-gallery-card img {
  border-radius: var(--fs-radius-lg);
}

.work-post-editorial table {
  width: 100%;
}

.work-post-related {
  padding-top: clamp(var(--fs-space-10), 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.work-post-related__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--fs-space-4);
  margin-bottom: var(--fs-space-6);
  padding-bottom: var(--fs-space-5);
  border-bottom: 1px solid var(--border);
}

.work-post-related__header h2 {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-lg);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
}

.work-post-related__header a {
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
}

.work-post-related__header a:hover,
.work-post-related__header a:focus-visible {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.work-post-related__grid {
  display: grid;
  gap: var(--fs-space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.work-post-related-card {
  min-width: 0;
}

.work-post-related-card__link {
  display: grid;
  gap: var(--fs-space-4);
  color: inherit;
  text-decoration: none;
}

.work-post-related-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.work-post-related-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
}

.work-post-related-card__media :where(picture, img) {
  width: 100%;
  height: 100%;
}

.work-post-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.work-post-related-card__link:hover .work-post-related-card__image {
  transform: scale(1.025);
}

.work-post-related-card__placeholder {
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding: var(--fs-space-5);
  color: var(--muted-foreground);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.work-post-related-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-2);
}

.work-post-related-card__title {
  color: var(--foreground);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-wrap: balance;
}

.work-post-related-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-relaxed);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (prefers-reduced-motion: reduce) {
  .work-post-related-card__image {
    transition: none;
  }

  .work-post-related-card__link:hover .work-post-related-card__image {
    transform: none;
  }
}

@media (max-width: 47.999rem) {
  .work-post-hero__actions {
    width: 100%;
  }

  .work-post-hero__actions > * {
    width: 100%;
  }

  .work-post-related__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-post-editorial table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (min-width: 48rem) {
  .work-post-hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 64rem) {
  .work-post-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    gap: clamp(var(--fs-space-8), 4vw, var(--fs-space-16));
  }

  .work-post-hero__copy {
    max-width: none;
  }

  .work-post-hero__title {
    font-size: 4rem;
  }
}

.service-post {
  background: var(--background);
}

.service-post :where(#tarieven, #boeken, #service-content, #faqs, #my-cal-inline-daglichtstudio) {
  scroll-margin-top: 6rem;
}

.service-post-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(var(--fs-space-10), 6vw, 5rem);
}

.service-post-hero__inner,
.service-post-overview__inner,
.service-post-content__inner,
.service-post-nav__inner {
  width: 100%;
  max-width: var(--fs-container-site);
  margin-inline: auto;
}

.service-post-hero__inner {
  display: grid;
  gap: var(--fs-space-8);
  align-items: center;
}

.service-post-hero__copy {
  display: flex;
  min-width: 0;
  max-width: 48rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-5);
}

.service-post-hero__eyebrow,
.service-post-kicker {
  color: var(--accent);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-post-hero__eyebrow {
  text-decoration: none;
}

.service-post-hero__title {
  max-width: 58rem;
  margin: 0;
  color: var(--foreground);
  font-size: 2.5rem;
  line-height: 0.96;
  font-weight: var(--fs-weight-bold);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.service-post-hero__excerpt {
  max-width: 42rem;
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  line-height: var(--fs-line-relaxed);
  font-weight: var(--fs-weight-medium);
}

.service-post-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-3);
  margin-top: var(--fs-space-2);
}

.service-post-hero__media {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
}

.service-post-hero__picture,
.service-post-hero__image {
  display: block;
  width: 100%;
}

.service-post-hero__image {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.service-post--daglichtstudio .service-post-hero__image {
  aspect-ratio: 5 / 4;
}

.service-post-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--fs-space-3);
  background: var(--background);
}

.service-post-nav__inner {
  display: flex;
  gap: var(--fs-space-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.service-post-nav__inner::-webkit-scrollbar {
  display: none;
}

.service-post-nav a {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-2) var(--fs-space-4);
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
}

.service-post-nav a:hover,
.service-post-nav a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.service-post-overview {
  padding-top: clamp(var(--fs-space-10), 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.service-post-overview__inner {
  display: grid;
  gap: var(--fs-space-8);
}

.service-post-quickfacts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--fs-radius-lg);
  background: var(--border);
}

.service-post-quickfact {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--fs-space-4);
  padding: var(--fs-space-5);
  background: var(--muted);
}

.service-post-quickfact span {
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-post-quickfact strong {
  color: var(--foreground);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.service-post-overview__grid {
  display: grid;
  gap: var(--fs-space-8);
}

.service-post-panel {
  --service-post-panel-padding: clamp(1.5rem, 4vw, 2rem);

  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-6);
  border-radius: var(--fs-radius-lg);
  padding: var(--service-post-panel-padding);
  background: var(--muted);
}

.service-post-panel__header {
  display: flex;
  max-width: 38rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-3);
}

.service-post-panel__header h2 {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-lg);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
  text-wrap: balance;
}

.service-post-panel__header p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-relaxed);
}

.service-post-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-md);
  background: var(--background);
  -webkit-overflow-scrolling: touch;
}

.service-post-pricing table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
}

.service-post-pricing th,
.service-post-pricing td {
  border-bottom: 1px solid var(--border);
  padding: var(--fs-space-4);
  text-align: left;
  vertical-align: top;
}

.service-post-pricing tr:last-child td {
  border-bottom: 0;
}

.service-post-pricing th {
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-post-pricing th:nth-child(2),
.service-post-pricing td:nth-child(2) {
  width: 13rem;
}

.service-post-pricing th:last-child,
.service-post-pricing td:last-child {
  width: 10rem;
}

.service-post-pricing td:last-child {
  white-space: nowrap;
  font-weight: var(--fs-weight-semibold);
}

.service-post-booking {
  gap: var(--fs-space-4);
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--foreground);
}

.service-post-booking .service-post-kicker,
.service-post-booking .service-post-panel__header h2 {
  color: currentColor;
}

.service-post-booking .service-post-panel__header p {
  color: var(--muted-foreground);
}

.service-post-booking #my-cal-inline-daglichtstudio {
  width: 100%;
  max-width: none;
  height: auto !important;
  min-height: 0;
  margin: 0;
  overflow: hidden !important;
  background: transparent;
}

.service-post-booking #my-cal-inline-daglichtstudio > * {
  width: 100% !important;
  max-width: none !important;
  min-height: 0;
}

.service-post-booking #my-cal-inline-daglichtstudio iframe {
  display: block;
  width: 100% !important;
}

.service-post-content {
  padding-top: clamp(var(--fs-space-10), 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.service-post-content__inner {
  display: flex;
  justify-content: center;
}

.service-post-content__main {
  width: 100%;
  max-width: 48rem;
}

.service-post-editorial :where(h2, h3, h4) {
  scroll-margin-top: 6rem;
}

.service-post-editorial table {
  width: 100%;
}

.service-post-editorial .kg-image-card img,
.service-post-editorial .kg-gallery-card img {
  border-radius: var(--fs-radius-lg);
}

.service-post-editorial #my-cal-inline-daglichtstudio {
  height: clamp(40rem, 72vh, 52rem) !important;
  min-height: 40rem;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
}

@media (max-width: 47.999rem) {
  .service-post-hero__actions {
    width: 100%;
  }

  .service-post-hero__actions > * {
    width: 100%;
  }

  .service-post-pricing {
    --service-post-panel-padding: var(--fs-space-4);
  }

  .service-post-editorial table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (min-width: 48rem) {
  .service-post-quickfacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-post-hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 64rem) {
  .service-post-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    gap: clamp(var(--fs-space-8), 4vw, var(--fs-space-16));
  }

  .service-post-hero__copy {
    max-width: none;
  }

  .service-post-hero__title {
    font-size: 4rem;
  }

  .service-post-quickfacts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-post-booking {
    display: grid;
    grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(var(--fs-space-8), 4vw, var(--fs-space-16));
    align-items: start;
  }

  .service-post-booking .service-post-panel__header {
    position: sticky;
    top: calc(var(--fs-space-16) + var(--fs-space-4));
    max-width: 26rem;
  }
}

.work-empty {
  margin-top: var(--fs-space-8);
}

.approach-process-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fs-space-4);
  margin: var(--fs-space-12) 0 0;
  padding: 0;
  align-items: stretch;
  list-style: none;
}

.approach-process-phase {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-lg);
  padding: var(--fs-space-6);
  background: var(--background);
}

.approach-process-phase::before {
  position: absolute;
  right: var(--fs-space-5);
  bottom: calc(var(--fs-space-4) * -1);
  z-index: -1;
  color: var(--foreground);
  content: attr(data-step);
  font-size: 8rem;
  font-weight: var(--fs-weight-semibold);
  line-height: 0.8;
  opacity: 0.04;
}

.approach-process-phase[data-step="1"] {
  border-color: transparent;
  background: #007a4c;
  color: #fff;
}

.approach-process-phase[data-step="1"]::before {
  color: #fff;
  opacity: 0.12;
}

.approach-process-phase[data-step="7"] {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-foreground);
}

.approach-process-phase[data-step="7"]::before {
  color: var(--accent-foreground);
  opacity: 0.18;
}

.approach-step-marker {
  display: flex;
  align-items: center;
  gap: var(--fs-space-3);
  margin-bottom: var(--fs-space-6);
}

.approach-step-number {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-lg);
  color: var(--accent);
  font-size: var(--fs-font-heading-sm);
  font-weight: var(--fs-weight-semibold);
  line-height: 1;
}

.approach-step-label {
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.approach-process-phase[data-step="1"] .approach-step-number {
  border-color: rgb(255 255 255 / 0.42);
  color: #fff;
}

.approach-process-phase[data-step="1"] .approach-step-label,
.approach-process-phase[data-step="1"] .approach-step-content h3,
.approach-process-phase[data-step="1"] .approach-step-content p {
  color: #fff;
}

.approach-process-phase[data-step="7"] .approach-step-number {
  border-color: rgb(255 255 255 / 0.42);
  color: var(--accent-foreground);
}

.approach-process-phase[data-step="7"] .approach-step-label,
.approach-process-phase[data-step="7"] .approach-step-content p {
  color: var(--accent-foreground);
}

.approach-process-phase__content {
  display: block;
}

.approach-step-content h3 {
  margin: 0 0 var(--fs-space-3);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.approach-step-content p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-relaxed);
}

@media (min-width: 48rem) {
  .approach-process-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fs-space-5);
  }

  .approach-process-phase {
    padding: var(--fs-space-6);
  }

  .approach-process-phase:first-child,
  .approach-process-phase:last-child {
    grid-column: span 2;
  }
}

.about-team-media {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  border-radius: var(--fs-radius-lg);
  background: var(--muted);
}

.about-team-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-video-toggle {
  position: absolute;
  right: var(--fs-space-3);
  bottom: var(--fs-space-3);
  border: 0;
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-2) var(--fs-space-4);
  background: var(--background);
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  font-weight: var(--fs-weight-semibold);
  line-height: var(--fs-line-snug);
  cursor: pointer;
}

.about-team-video-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.2rem;
}

.about-team-copy {
  display: flex;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-6);
}

.about-intro-copy {
  display: flex;
  max-width: 42rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-4);
}

.about-intro-copy p {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-lg);
  line-height: var(--fs-line-relaxed);
}

.contact-layout {
  align-items: stretch;
}

.contact-form-shell,
.contact-media {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

.contact-form-shell {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-8);
}

.contact-media__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--fs-radius-lg);
}

.contact-form-embed {
  display: block;
  width: calc(100% + var(--fs-form-embed-offset));
  margin-left: calc(-1 * var(--fs-form-embed-offset));
  border: 0;
  color-scheme: light;
}

@media (min-width: 64rem) {
  .fs-layout-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-grid .content-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card--wide {
    grid-column: 1 / -1;
  }

  .services-grid .content-card--wide .content-card__media {
    aspect-ratio: 8 / 3;
  }

  .home-studio-cta-layout {
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(var(--fs-space-12), 5vw, var(--fs-space-24));
  }

  .approach-process-story {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fs-space-6);
  }

  .approach-process-phase {
    padding: var(--fs-space-8);
  }

  .approach-process-phase:first-child {
    grid-column: span 2;
  }

  .approach-process-phase:last-child {
    grid-column: span 2;
  }

  .about-team-media {
    grid-column: 1 / span 5;
  }

  .about-team-copy {
    grid-column: 6 / -1;
  }

  .contact-media {
    grid-column: 1 / span 5;
  }

  .contact-media__image {
    height: 100%;
  }

  .contact-form-shell {
    grid-column: 6 / -1;
  }
}

@media (min-width: 48rem) and (max-width: 63.999rem) {
  .fs-layout-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

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

  .content-card--wide {
    grid-column: 1 / -1;
  }
}

.client-portal-page {
  background: var(--background);
}

.client-portal-editorial__content {
  max-width: 100%;
}

.client-portal-kicker {
  margin: 0 0 var(--fs-space-3);
  color: var(--accent);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-portal-access__panel {
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-lg);
  padding: clamp(var(--fs-space-6), 5vw, var(--fs-space-10));
  background: var(--muted);
  text-align: center;
}

.client-portal-access__title {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--foreground);
  font-size: var(--fs-font-heading-md);
  line-height: var(--fs-line-heading);
  font-weight: var(--fs-weight-semibold);
  text-wrap: balance;
}

.client-portal-access__copy {
  max-width: 34rem;
  margin: var(--fs-space-4) auto 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-relaxed);
}

.client-portal-access__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--fs-space-6);
}

.client-portal {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  gap: var(--fs-space-10);
}

.client-portal__status {
  display: flex;
  min-height: 16rem;
  align-items: center;
  justify-content: center;
  gap: var(--fs-space-3);
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-lg);
  padding: var(--fs-space-8);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-relaxed);
  text-align: center;
}

.client-portal__status[hidden],
.client-portal__content[hidden],
.client-portal__toc[hidden],
.client-portal__sticky-nav[hidden],
.client-portal__description[hidden],
.client-portal-group__content[hidden] {
  display: none;
}

.client-portal__status--error {
  border-color: color-mix(in oklab, var(--error) 45%, var(--border));
  background: color-mix(in oklab, var(--error) 8%, var(--background));
  color: var(--foreground);
}

.client-portal__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 2px solid color-mix(in oklab, var(--foreground) 18%, transparent);
  border-top-color: var(--accent);
  border-radius: var(--fs-radius-pill);
  animation: client-portal-spin 900ms linear infinite;
}

@keyframes client-portal-spin {
  to {
    transform: rotate(360deg);
  }
}

.client-portal__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.client-portal__header {
  display: grid;
  gap: var(--fs-space-8);
  align-items: start;
  padding-bottom: var(--fs-space-10);
}

.client-portal__title {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 0.95;
  font-weight: var(--fs-weight-bold);
}

.client-portal__description {
  max-width: 52rem;
  margin: var(--fs-space-4) 0 0;
  color: var(--foreground);
  font-size: clamp(1.125rem, 0.55vw + 1rem, 1.5rem);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.client-portal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-space-6);
  min-width: min(100%, 22rem);
}

.client-portal__meta > div {
  min-width: 0;
  border-left: 1px solid var(--border);
  padding-left: var(--fs-space-4);
}

.client-portal__meta dt {
  margin: 0 0 var(--fs-space-2);
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-portal__meta dd {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
}

.client-portal__toc {
  padding-bottom: var(--fs-space-12);
}

.client-portal__toc-title {
  margin: 0 0 var(--fs-space-3);
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-portal__toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-portal__toc-link {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-2) var(--fs-space-4);
  background: var(--muted);
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
}

.client-portal__toc-link:hover,
.client-portal__toc-link:focus-visible,
.client-portal__sticky-link:hover,
.client-portal__sticky-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.client-portal__sticky-sentinel {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: -1px;
  pointer-events: none;
}

.client-portal__sticky-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--border);
  padding: var(--fs-space-2) var(--fs-gutter);
  background: var(--background);
}

.client-portal__sticky-nav-inner {
  display: flex;
  width: 100%;
  max-width: var(--fs-container-site);
  margin-inline: auto;
  gap: var(--fs-space-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.client-portal__sticky-nav-inner::-webkit-scrollbar {
  display: none;
}

.client-portal__sticky-link {
  display: inline-flex;
  min-height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--fs-radius-pill);
  padding: var(--fs-space-2) var(--fs-space-4);
  background: var(--muted);
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-decoration: none;
}

.client-portal__sticky-link[aria-current="location"] {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, var(--background));
  color: var(--accent);
}

.client-portal__library {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-8);
}

.client-portal-empty {
  margin: 0;
  padding: var(--fs-space-8);
  background: var(--muted);
  color: var(--muted-foreground);
  text-align: center;
}

.client-portal-group {
  position: relative;
  scroll-margin-top: calc(var(--fs-space-16) + var(--fs-space-2));
  background: transparent;
}

.client-portal-group--depth-1 + .client-portal-group--depth-1 {
  border-top: 1px solid var(--border);
  padding-top: var(--fs-space-8);
}

.client-portal-group .client-portal-group {
  margin-top: var(--fs-space-1);
  padding-left: var(--fs-space-2);
}

.client-portal-group .client-portal-group::before {
  position: absolute;
  top: var(--fs-space-1);
  bottom: var(--fs-space-1);
  left: 0;
  width: 1px;
  background: color-mix(in oklab, var(--border) 42%, transparent);
  content: "";
}

.client-portal-group__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--fs-space-2) var(--fs-space-4);
}

.client-portal-group__toggle {
  display: inline-grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--fs-space-1);
  margin-inline: calc(var(--fs-space-1) * -1);
  border-radius: var(--fs-radius-md);
  padding: var(--fs-space-1);
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
}

.client-portal-group__toggle:hover {
  background: var(--muted);
}

.client-portal-group__toggle:focus-visible,
.client-portal-group__download:focus-visible,
.client-portal-card__preview-link:focus-visible,
.client-portal-card__download:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.client-portal-group__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.client-portal-group__toggle[aria-expanded="true"] .client-portal-group__chevron {
  transform: rotate(45deg);
}

.client-portal-group__title {
  min-width: 0;
  overflow: hidden;
  font-size: var(--fs-font-md);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-portal-group--depth-1 > .client-portal-group__header .client-portal-group__title {
  font-size: var(--fs-font-heading-md);
}

.client-portal-group--depth-2 > .client-portal-group__header .client-portal-group__title {
  font-size: var(--fs-font-heading-sm);
}

.client-portal-group--depth-3 > .client-portal-group__header .client-portal-group__title {
  font-size: var(--fs-font-heading-xs);
}

.client-portal-group__title-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--fs-space-2);
}

.client-portal-group__badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: var(--fs-radius-pill);
  padding: 0.15rem var(--fs-space-2);
  background: color-mix(in oklab, var(--accent) 14%, var(--background));
  color: var(--accent);
  font-size: 0.65rem;
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-portal-group__count {
  color: var(--muted-foreground);
  font-size: var(--fs-font-xs);
  line-height: var(--fs-line-snug);
  white-space: nowrap;
}

.client-portal-group__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: var(--fs-space-2);
}

.client-portal-group__download {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--fs-radius-pill);
  padding: 0;
  color: var(--foreground);
  text-decoration: none;
}

.client-portal-group__download:hover {
  background: var(--muted);
  opacity: 1;
}

.client-portal-group__download-spacer {
  display: none;
}

.client-portal-group__content {
  padding: var(--fs-space-2) 0 0;
}

.client-portal-assets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: var(--fs-space-4);
}

.client-portal-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: transparent;
}

.client-portal-card__media {
  display: flex;
  min-height: 10rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--fs-radius-md);
  background: var(--muted);
}

.client-portal-card__preview-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.client-portal-card__media img,
.client-portal-card__media video {
  display: block;
  width: 100%;
  height: 100%;
}

.client-portal-card__media img {
  object-fit: cover;
}

.client-portal-card__media video {
  background: #000;
  object-fit: contain;
}

.client-portal-card__media video:fullscreen {
  object-fit: contain;
}

.client-portal-card__media video:-webkit-full-screen {
  object-fit: contain;
}

.client-portal-card__file-icon {
  display: inline-flex;
  min-width: 4.5rem;
  min-height: 4.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--fs-radius-md);
  padding: var(--fs-space-3);
  background: var(--background);
  color: var(--foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  text-align: center;
}

.client-portal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fs-space-2);
  padding: var(--fs-space-3) 0 0;
}

.client-portal-card__title {
  margin: 0;
  color: var(--foreground);
  font-size: var(--fs-font-heading-xs);
  line-height: var(--fs-line-snug);
  font-weight: var(--fs-weight-semibold);
  overflow-wrap: anywhere;
}

.client-portal-card__meta {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--fs-font-sm);
  line-height: var(--fs-line-snug);
}

.client-portal-card__meta-row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fs-space-2) var(--fs-space-3);
}

.client-portal-card__download {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: var(--fs-radius-pill);
  padding: 0;
  color: var(--foreground);
  text-decoration: none;
}

.client-portal-card__download:hover {
  background: var(--muted);
  opacity: 0.72;
}

.client-portal-download-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .client-portal__spinner {
    animation: none;
  }

  .client-portal-group__chevron {
    transition: none;
  }
}

@media (min-width: 48rem) {
  .client-portal__header {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.3fr);
  }
}

@media (max-width: 47.999rem) {
  .client-portal__meta {
    grid-template-columns: 1fr;
  }

  .client-portal__sticky-nav {
    overflow: hidden;
  }

  .client-portal__sticky-nav::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--fs-space-8);
    background: linear-gradient(to right, transparent, var(--background));
    content: "";
    pointer-events: none;
  }

  .client-portal-group__header {
    gap: var(--fs-space-2);
  }

  .client-portal-group__toggle {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .client-portal-group__actions {
    justify-self: end;
    gap: var(--fs-space-1);
  }
}
