:root {
  --black: #0C0C0C;
  --near-black: var(--black);
  --section-black: var(--black);
  --selected-work-bg: var(--black);
  --line: #1e1e1e;
  --line-soft: #171717;
  --white: #f4f4f4;
  --muted: #9b9b9b;
  --muted-dark: #4a4a4a;
  --selection-gold: var(--nav-active-gold);
  --nav-active-gold: #DBAE00;
  --container: 1224px;
  --page-pad: clamp(24px, 7.5vw, 108px);
  --header-offset: 80px;
  --heading-h1-size: clamp(44px, 4.6vw, 70px);
  --heading-h1-line-height: 1.03;
  --heading-h2-size: clamp(42px, 4.5vw, 56px);
  --heading-h3-size: 21px;
  --text-body-size: 16px;
  --text-lead-size: 18px;
  --text-action-size: 14px;
  --text-meta-size: 12px;
  --text-number-size: 56px;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

html.is-nav-open,
html.is-nav-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  overscroll-behavior-y: none;
}

.home-page {
  background: var(--black);
  --home-section-bg: rgba(12, 12, 12, 0.72);
  --home-footer-height: 96px;
}

.home-page main {
  position: relative;
  z-index: 30;
}

.home-page .site-footer {
  position: relative;
  z-index: 30;
}

::selection {
  background: var(--selection-gold);
  color: var(--black);
}

::-moz-selection {
  background: var(--selection-gold);
  color: var(--black);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--nav-active-gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 80px;
  border-bottom: 0;
  background: var(--black);
}

[id] {
  scroll-margin-top: var(--header-offset);
}

.nav-shell {
  min-height: 80px;
  width: min(calc(100% - 120px), 1172px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: #f1f1f1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 44px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav-toggle {
  display: none;
}

.mobile-nav-cta {
  display: none;
}

.nav-close {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
}

.main-nav a {
  color: #b7b7b7;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--nav-active-gold);
}

.main-nav .nav-cta {
  width: 110px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--black);
  transition: background 180ms ease, color 180ms ease;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible,
.main-nav .nav-cta[aria-current="page"] {
  background: #ffffff;
  color: var(--black);
}

.hero {
  min-height: max(680px, calc(100svh - var(--header-offset)));
  background: var(--home-section-bg);
}

.hero-webgl {
  position: relative;
  overflow: hidden;
}

.hero-webgl::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero-scene,
.hero-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

@media (max-width: 719px) {
  .hero-scene,
  .hero-atmosphere {
    inset: 0 auto auto 0;
    width: 100%;
    /* Cover the viewport even when mobile browser controls retract. */
    height: 100vh;
    height: 100lvh;
  }
}

.hero-scene {
  z-index: 20;
  overflow: hidden;
  transition: opacity 220ms ease;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  filter: saturate(0.82) contrast(1.08);
  transition: opacity 1200ms ease;
}

.hero-canvas.is-loaded {
  opacity: 1;
}

.hero-atmosphere {
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(205deg, rgba(156, 166, 178, 0.08) 0%, rgba(12, 12, 12, 0) 44%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.home-page .section-dark:not(.selected-work) {
  background: var(--home-section-bg);
}

.home-page .hero,
.home-page .graces,
.home-page .identity,
.home-page .contact-cta,
.home-page .site-footer {
  background: var(--home-section-bg);
}

.home-page .graces {
  background: rgba(12, 12, 12, 0.8);
  opacity: 1;
}

.home-page .selected-work {
  position: relative;
  z-index: 40;
  isolation: isolate;
  background: var(--selected-work-bg);
}

.home-page .selected-work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--selected-work-bg);
}

.home-page .selected-work > .container {
  position: relative;
  z-index: 1;
}

.home-page .contact-cta,
.home-page .site-footer {
  background: var(--home-section-bg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  max-width: min(620px, 48vw);
  font-size: clamp(44px, 4.6vw, 70px);
  font-weight: 900;
  line-height: 1.03;
  text-transform: uppercase;
  text-shadow: 0 18px 72px rgba(12, 12, 12, 0.72);
}

.hero h1 span {
  display: block;
}

.hero .hero-name {
  margin: 0 0 24px;
  color: var(--nav-active-gold);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 18px 62px rgba(12, 12, 12, 0.78);
}

.hero-name span {
  display: block;
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.hero .hero-description {
  max-width: min(490px, 46vw);
  margin: 24px 0 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  max-width: min(620px, 48vw);
}

.hero .hero-cta,
.hero .hero-secondary {
  max-width: 100%;
  min-height: 52px;
  padding: 16px 28px;
  background: var(--nav-active-gold);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.hero .hero-secondary {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.hero .hero-secondary:hover,
.hero .hero-secondary:focus-visible {
  background: var(--white);
  color: var(--black);
}

.hero .hero-cta:hover,
.hero .hero-cta:focus-visible {
  background: var(--white);
}

.section-dark {
  background: var(--section-black);
}

.section-heading h2,
.identity h2,
.contact-cta h2,
.about-contact h2,
.portfolio-contact h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 650;
  line-height: 1.1;
}

.section-heading p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center p {
  max-width: 720px;
  margin-top: 23px;
  margin-right: auto;
  margin-left: auto;
}

.graces {
  padding: 132px 0 132px;
}

.graces-grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.grace-card {
  position: relative;
  z-index: 30;
  display: block;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.48));
  color: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(12, 12, 12, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  padding: 36px 44px 34px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.grace-card:hover,
a.grace-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.54));
  transform: translateY(-3px);
}

.grace-card-wide {
  width: auto;
  min-height: 300px;
}

.card-number {
  display: block;
  color: #3d3d3d;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}

.grace-card .card-number {
  color: var(--nav-active-gold);
}

.grace-card h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
}

.grace-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.home-page .graces-problems .section-heading p {
  max-width: 760px;
  font-size: 16px;
}

@media (min-width: 981px) {
  .home-page .graces-problems .section-heading {
    width: min-content;
    max-width: 100%;
  }

  .home-page .graces-problems .section-heading h2 span {
    display: block;
    white-space: nowrap;
  }

  .home-page .graces-problems .section-heading p {
    max-width: none;
  }
}

.home-page .graces-problems .grace-card p {
  color: #c6c6c6;
  font-size: 16px;
  line-height: 1.6;
}

.home-page .graces-problems .grace-card p + p {
  margin-top: 16px;
}

.identity {
  min-height: calc(100svh - var(--header-offset));
  padding: 32px 0;
  display: flex;
  align-items: center;
  background: var(--black);
}

.identity-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.identity-media {
  margin: 0;
  width: 100%;
  max-width: min(390px, calc((100svh - var(--header-offset) - 80px) * 3376 / 3716));
  aspect-ratio: 3376 / 3716;
  justify-self: center;
  background: transparent;
}

.identity-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3376 / 3716;
  object-fit: cover;
  object-position: center 50.8%;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  border: 1px solid var(--nav-active-gold);
  border-image: linear-gradient(var(--nav-active-gold), var(--nav-active-gold)) 1;
  border-image-outset: 40px 0 0;
}

.identity-copy {
  max-width: 820px;
}

.identity-copy p {
  margin: 52px 0 0;
  max-width: 790px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.identity-copy p + p {
  margin-top: 23px;
}

strong {
  color: #e1e1e1;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 43px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-outline {
  margin-top: 55px;
  border-color: #f0f0f0;
  color: var(--white);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--white);
  color: var(--black);
}

.button-light {
  min-width: 235px;
  border-color: var(--nav-active-gold);
  background: transparent;
  color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--nav-active-gold);
  background: transparent;
  color: var(--white);
}

.selected-work {
  padding: 134px 0 140px;
}

.work-grid {
  position: relative;
  isolation: isolate;
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  gap: 28px;
  align-items: start;
}

.work-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: var(--black);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.work-card:hover {
  border-color: #2a2a2a;
  transform: translateY(-4px);
}

.work-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.work-card img,
.work-media,
.work-video-preview,
.work-media-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: var(--preview-ratio, 1 / 1);
  object-fit: contain;
}

.work-card.card-horizontal img,
.work-card.card-horizontal .work-media,
.work-card.card-horizontal .work-video-preview,
.work-card.card-horizontal .work-media-placeholder {
  aspect-ratio: var(--preview-ratio, 16 / 9);
}

.work-card.card-vertical img,
.work-card.card-vertical .work-media,
.work-card.card-vertical .work-video-preview,
.work-card.card-vertical .work-media-placeholder {
  aspect-ratio: var(--preview-ratio, 4 / 5);
}

.work-card.card-square img,
.work-card.card-square .work-media,
.work-card.card-square .work-video-preview,
.work-card.card-square .work-media-placeholder {
  aspect-ratio: var(--preview-ratio, 1 / 1);
}

.work-media {
  overflow: hidden;
  background: var(--black);
}

.work-media img {
  height: 100%;
}

.work-video-preview,
.portfolio-media,
.portfolio-video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--black);
}

.work-video-preview video,
.portfolio-video-preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-media-placeholder,
.portfolio-media-placeholder,
.project-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0.95));
  color: #777777;
  text-align: center;
}

.work-media-placeholder span,
.portfolio-media-placeholder span,
.project-media-placeholder span {
  border: 1px solid #242424;
  color: #8a8a8a;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.work-card-body {
  min-height: 126px;
  padding: 28px 34px 35px;
}

.work-category {
  margin: 0 0 18px;
  color: var(--selection-gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.work-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.work-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.center-action {
  text-align: center;
}

.center-action .button {
  margin-top: 65px;
}

.section-kicker {
  margin: 0 0 24px;
  color: #777777;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-cta {
  min-height: calc(100vh - var(--header-offset) - var(--home-footer-height, 0px));
  min-height: calc(100svh - var(--header-offset) - var(--home-footer-height, 0px));
  padding: 133px 0 110px;
  background: var(--black);
  text-align: center;
}

.contact-inner {
  max-width: 960px;
}

.contact-cta p,
.about-contact p,
.portfolio-contact p {
  margin: 34px auto 0;
  max-width: 930px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.contact-cta .button {
  margin-top: 53px;
}

.site-footer,
.home-page .site-footer {
  min-height: 95px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-shell {
  width: min(calc(100% - 68px), 1328px);
  min-height: 95px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

@media (max-width: 980px) {
  .nav-shell,
  .footer-shell {
    width: min(calc(100% - 48px), 1328px);
  }

  .hero {
    min-height: max(620px, calc(100svh - var(--header-offset)));
  }

  .hero-inner {
    padding-top: 32px;
  }

  .graces-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .graces-grid,
  .approach-grid {
    max-width: 560px;
  }

  .grace-card,
  .grace-card-wide {
    width: 100%;
  }

  .approach-block {
    min-height: 0;
  }

  .work-grid {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 22px;
    --header-offset: 74px;
  }

  .site-header,
  .nav-shell {
    min-height: 74px;
  }

  .nav-shell {
    position: relative;
    align-items: center;
  }

  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(12, 12, 12, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 240ms ease;
  }

  .site-header.is-menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .is-ready .nav-toggle {
    position: relative;
    z-index: 140;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--white);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle:focus-visible {
    outline: 1px solid var(--white);
    outline-offset: 4px;
  }

  .nav-toggle span {
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 130;
    width: min(82vw, 320px);
    height: 100dvh;
    padding: 96px 28px 32px;
    border-left: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: -24px 0 70px rgba(12, 12, 12, 0.38);
  }

  .nav-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-close:focus-visible {
    outline: 1px solid var(--white);
    outline-offset: 4px;
  }

  .nav-close span {
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .nav-close span:first-child {
    transform: rotate(45deg);
  }

  .nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .is-ready .main-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
  }

  .is-ready .site-header.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    color: #b7b7b7;
    font-size: 18px;
    text-align: left;
  }

  .main-nav a:not(.nav-cta):hover,
  .main-nav a:not(.nav-cta):focus-visible {
    color: #f4f4f4;
  }

  .main-nav a[aria-current="page"]:not(.nav-cta) {
    color: var(--nav-active-gold);
  }

  .hero {
    min-height: max(560px, calc(var(--mobile-hero-height, 100svh) - var(--header-offset)));
  }

  .hero-inner {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .hero h1 {
    max-width: 460px;
    font-size: clamp(32px, 9.4vw, 48px);
    line-height: 1.06;
  }

  .hero .hero-name {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .hero .hero-description {
    max-width: 460px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
    max-width: 460px;
    margin-top: 24px;
  }

  .graces,
  .selected-work,
  .contact-cta {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .graces-grid,
  .work-grid {
    margin-top: 54px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .grace-card {
    min-height: auto;
    padding: 34px 30px 36px;
  }

  .card-number {
    font-size: 48px;
  }

  .identity-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .identity {
    padding: 24px 0;
  }

  .identity-media {
    width: fit-content;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .identity-media img {
    width: auto;
    max-width: 100%;
    height: clamp(100px, 23svh, 200px);
    margin: 0 auto;
  }

  .identity-copy {
    --heading-h2-size: 30px;
  }

  .identity-copy p {
    margin-top: 16px;
  }

  .identity-copy .button {
    margin-top: 20px;
  }

  :root body.home-page main .identity-copy p {
    font-size: 14px;
    line-height: 1.5;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .button-outline,
  .center-action .button,
  .contact-cta .button {
    margin-top: 40px;
  }

  .contact-cta {
    min-height: auto;
  }

  .contact-cta p,
  .about-contact p,
  .portfolio-contact p {
    font-size: 14px;
  }

  .footer-shell {
    min-height: 86px;
  }
}

.about-page .nav-shell,
.about-page .footer-shell,
.about-container {
  width: min(calc(100% - 128px), 1096px);
  margin-left: auto;
  margin-right: auto;
}

.about-hero {
  padding: 96px 0 77px;
  background: var(--black);
}

.about-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 4.7vw, 67px);
  font-weight: 400;
  line-height: 1.05;
}

.about-profile {
  margin-top: 78px;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
}

.about-profile img {
  width: 100%;
  max-width: 395px;
  aspect-ratio: 395 / 529;
  object-fit: cover;
  box-sizing: border-box;
  padding-top: 30px;
  background: var(--black);
  border: 1px solid var(--nav-active-gold);
}

.about-copy {
  max-width: 720px;
}

.about-copy p,
.approach-block p {
  margin: 0;
  color: #9f9f9f;
  font-size: 14px;
  line-height: 1.78;
}

.about-copy p + p {
  margin-top: 23px;
}

.about-approach {
  padding: 64px 0 118px;
  background: var(--black);
}

.about-approach .about-container,
.about-hero .about-container,
.about-why .about-container,
.about-tools .about-container {
  width: min(calc(100% - 80px), 1294px);
}

.about-approach h2 {
  margin: 0 0 69px;
  color: var(--white);
  font-size: clamp(42px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.approach-block {
  min-height: 557px;
  scroll-margin-top: 112px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(12, 12, 12, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  padding: 36px 44px 34px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.approach-block:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.54));
  transform: translateY(-3px);
}

.approach-block .card-number {
  color: var(--nav-active-gold);
  font-size: 58px;
  font-weight: 400;
  margin-bottom: 20px;
}

.approach-block h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.approach-block p {
  color: #a3a3a3;
  font-size: 13px;
  line-height: 1.72;
}

.approach-block p + p {
  margin-top: 18px;
}

.about-why {
  padding: 0 0 118px;
  background: var(--black);
}

.about-why .about-container {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: start;
}

.about-why h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.about-why-copy {
  max-width: 720px;
}

.about-why-copy p {
  margin: 0;
  color: #a3a3a3;
  font-size: 16px;
  line-height: 1.75;
}

.about-why-copy p + p {
  margin-top: 24px;
}

.about-tools {
  padding: 0 0 148px;
  background: var(--black);
}

.about-tools-intro {
  max-width: 620px;
}

.about-tools h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
}

.about-tools-intro p {
  margin: 22px 0 0;
  color: #a3a3a3;
  font-size: 15px;
  line-height: 1.72;
}

.tools-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  min-height: 194px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--black);
  padding: 28px 26px 27px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tool-card:hover {
  border-color: var(--nav-active-gold);
  background: var(--black);
  transform: translateY(-3px);
}

.tool-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-active-gold);
}

.tool-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-icon svg > rect:first-child {
  fill: var(--black);
}

.tool-icon svg > :not(rect:first-child)[fill]:not([fill="none"]),
.tool-icon svg text {
  fill: var(--nav-active-gold);
}

.tool-icon svg [stroke]:not([stroke="none"]) {
  stroke: var(--nav-active-gold);
}

.tool-icon-figma svg {
  width: 25px;
  height: 38px;
}

.tool-card h3 {
  margin: 22px 0 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.tool-card p {
  margin: 14px 0 0;
  color: #9f9f9f;
  font-size: 13px;
  line-height: 1.62;
}

.about-contact {
  padding: 100px 0 98px;
  border-top: 1px solid var(--line);
  background: var(--black);
  text-align: center;
}

.about-contact-inner {
  width: min(calc(100% - 128px), 930px);
  margin: 0 auto;
}

.about-contact .button {
  margin-top: 51px;
}

@media (max-width: 980px) {
  .about-page .nav-shell,
  .about-page .footer-shell,
  .about-container,
  .about-contact-inner {
    width: min(calc(100% - 48px), 1096px);
  }

  .about-profile {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 44px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-approach .about-container,
  .about-hero .about-container,
  .about-why .about-container,
  .about-tools .about-container {
    width: min(calc(100% - 48px), 1096px);
  }

  .about-approach {
    padding-bottom: 86px;
  }

  .approach-grid {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .approach-block {
    min-height: 0;
  }

  .about-why {
    padding-bottom: 86px;
  }

  .about-why .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-profile img {
    max-width: 395px;
  }

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

@media (max-width: 640px) {
  .about-page .nav-shell,
  .about-page .footer-shell,
  .about-container,
  .about-approach .about-container,
  .about-hero .about-container,
  .about-why .about-container,
  .about-tools .about-container,
  .about-contact-inner {
    width: min(calc(100% - 44px), 1096px);
  }

  .about-hero {
    padding: 68px 0 62px;
  }

  .about-profile {
    margin-top: 52px;
  }

  .about-profile img {
    margin-left: auto;
    margin-right: auto;
  }

  .about-approach,
  .about-why,
  .about-tools,
  .about-contact {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .about-why,
  .about-tools {
    padding-top: 0;
  }

  .about-approach h2 {
    margin-bottom: 48px;
  }

  .approach-grid,
  .tools-grid {
    gap: 24px;
  }

  .tools-grid {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .approach-block {
    padding: 34px 30px 36px;
  }

  .approach-block .card-number {
    font-size: 48px;
  }

  .tool-card {
    min-height: 0;
    padding: 28px 26px 29px;
  }

}

@media (max-width: 440px) {
  .work-card-body {
    padding: 24px 24px 30px;
  }
}

.main-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--nav-active-gold);
}

.portfolio-page .nav-shell,
.portfolio-page .footer-shell,
.portfolio-container {
  width: min(calc(100% - 128px), 1304px);
  margin-left: auto;
  margin-right: auto;
}

.portfolio-showcase {
  padding: 96px 0 0;
  background: var(--black);
}

.portfolio-showcase h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.portfolio-lead {
  margin: 24px 0 0;
  max-width: 780px;
  color: #a6a6a6;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.42;
}

.portfolio-filters {
  position: sticky;
  top: var(--header-offset);
  z-index: 90;
  margin-top: 54px;
  padding: 3.5px 0 5.5px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  display: flex;
  align-items: center;
  gap: 33px;
}

.portfolio-filter {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  padding: 0;
  min-height: 44px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease;
}

.portfolio-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7.5px;
  height: 2px;
  background: transparent;
  transition: background 180ms ease;
}

.portfolio-filter:hover,
.portfolio-filter:focus-visible {
  color: var(--white);
}

.portfolio-filter:focus-visible {
  outline-offset: 1px;
}

.portfolio-filter.is-active {
  color: var(--nav-active-gold);
}

.portfolio-filter.is-active::after {
  background: var(--nav-active-gold);
}

.portfolio-grid {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  gap: 28px;
  align-items: start;
}

.portfolio-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: var(--black);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.portfolio-card:hover {
  border-color: #2b2b2b;
  transform: translateY(-4px);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-media,
.portfolio-media-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: var(--preview-ratio, 1 / 1);
  background: var(--black);
}

.portfolio-card.card-horizontal .portfolio-media,
.portfolio-card.card-horizontal .portfolio-media-placeholder {
  aspect-ratio: var(--preview-ratio, 16 / 9);
}

.portfolio-card.card-vertical .portfolio-media,
.portfolio-card.card-vertical .portfolio-media-placeholder {
  aspect-ratio: var(--preview-ratio, 4 / 5);
}

.portfolio-card.card-square .portfolio-media,
.portfolio-card.card-square .portfolio-media-placeholder {
  aspect-ratio: var(--preview-ratio, 1 / 1);
}

.portfolio-card img,
.portfolio-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.portfolio-play-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.54);
  backdrop-filter: blur(10px);
}

.portfolio-play-icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 13px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--white);
}

.portfolio-card-body {
  min-height: 134px;
  padding: 31px 34px 33px;
}

.portfolio-category {
  margin: 0 0 18px;
  color: var(--selection-gold);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.portfolio-card h2,
.portfolio-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 1.75vw, 27px);
  font-weight: 500;
  line-height: 1.18;
}

.portfolio-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-link:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 5px;
}

.portfolio-contact {
  margin-top: 58px;
  padding: 112px 0 139px;
  border-top: 1px solid var(--line);
  background: var(--black);
  text-align: center;
}

.portfolio-contact-inner {
  width: min(calc(100% - 128px), 960px);
  margin: 0 auto;
}

.portfolio-contact .button {
  margin-top: 51px;
}

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .portfolio-page .nav-shell,
  .portfolio-page .footer-shell,
  .portfolio-container,
  .portfolio-contact-inner {
    width: min(calc(100% - 48px), 1304px);
  }

  .portfolio-showcase {
    padding-top: 78px;
  }

  .portfolio-lead {
    font-size: 18px;
  }

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

}

@media (max-width: 640px) {
  .portfolio-page .nav-shell,
  .portfolio-page .footer-shell,
  .portfolio-container,
  .portfolio-contact-inner {
    width: min(calc(100% - 44px), 1304px);
  }

  .portfolio-showcase {
    padding-top: 68px;
  }

  .portfolio-showcase h1 {
    font-size: clamp(46px, 15vw, 60px);
  }

  .portfolio-lead {
    font-size: 16px;
  }

  .portfolio-lead br {
    display: none;
  }

  .portfolio-filters {
    margin-top: 30px;
    padding-block: 3px 5px;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filter {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .portfolio-filter::after {
    bottom: -7px;
  }

  .portfolio-grid {
    margin-top: 54px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-card-body {
    min-height: auto;
    padding: 22px 20px 25px;
  }

  .portfolio-card h2,
.portfolio-card h3 {
    font-size: 24px;
  }

  .portfolio-contact {
    margin-top: 48px;
    padding: 82px 0;
  }

}

@media (max-width: 430px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.project-page .site-header {
  border-bottom: 1px solid #151515;
}

.project-page .site-header .nav-shell,
.project-page .footer-shell,
.project-container {
  width: min(calc(100% - 128px), 1224px);
  margin-left: auto;
  margin-right: auto;
}

.project-main,
.project-detail {
  background: var(--black);
}

.project-detail {
  padding: 84px 0 74px;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9b9b9b;
  font-size: 14px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.project-back span:first-child {
  font-size: 18px;
  line-height: 1;
}

.project-back:hover,
.project-back:focus-visible {
  color: var(--white);
  transform: translateX(-3px);
}

.project-hero {
  margin-top: 62px;
}

.project-kicker {
  margin: 0 0 23px;
  color: var(--nav-active-gold);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.project-hero h1,
.project-empty h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 4.9vw, 62px);
  font-weight: 650;
  line-height: 1.03;
}

.project-hero > p,
.project-empty > p {
  margin: 25px 0 0;
  max-width: 760px;
  color: #a6a6a6;
  font-size: 19px;
  line-height: 1.5;
}

.project-hero > .project-kicker,
.project-empty > .project-kicker {
  color: var(--nav-active-gold);
}

.project-cover {
  margin-top: 48px;
}

.project-cover img,
.project-cover video,
.project-media-placeholder-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--black);
}

.project-cover video {
  display: block;
}

.project-vertical-showcase {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.project-vertical-showcase .project-cover {
  margin-top: 0;
}

.project-cover-vertical {
  width: 100%;
  max-width: 460px;
  justify-self: start;
}

.project-cover-vertical img,
.project-cover-vertical video,
.project-cover-vertical .project-media-placeholder-cover {
  aspect-ratio: var(--project-cover-ratio, 4 / 5);
  object-fit: contain;
}

.project-cover-vertical img {
  height: auto;
  aspect-ratio: auto;
}

.project-vertical-side {
  min-width: 0;
}

.project-summary-vertical {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  grid-template-columns: 1fr;
  gap: 38px;
}

.project-summary-vertical.project-summary-single {
  grid-template-columns: 1fr;
}

.project-vertical-side .project-external-link {
  margin-top: 34px;
}

.project-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.project-external-link:hover,
.project-external-link:focus-visible {
  border-color: #dcdcdc;
  background: #dcdcdc;
}

.project-summary {
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.project-summary-horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 6vw, 96px);
  row-gap: 38px;
}

.project-summary-single {
  grid-template-columns: 1fr;
}

.project-summary h2 {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.project-summary p {
  margin: 0;
  color: #a4a4a4;
  font-size: 15px;
  line-height: 1.72;
}

.project-gallery {
  margin-top: 84px;
}

.project-gallery h2 {
  margin: 0 0 46px;
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.project-gallery-grid {
  column-count: 2;
  column-gap: 32px;
}

.project-gallery-item {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin: 0;
  margin-bottom: 32px;
  overflow: hidden;
  background: var(--black);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.project-gallery-item img,
.project-gallery-item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-empty {
  max-width: 760px;
  padding-bottom: 180px;
}

@media (max-width: 980px) {
  .project-page .site-header .nav-shell,
  .project-page .footer-shell,
  .project-container {
    width: min(calc(100% - 48px), 1224px);
  }

  .project-detail {
    padding-top: 78px;
  }

  .project-summary {
    gap: 34px;
  }

  .project-vertical-showcase {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-cover-vertical {
    max-width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .project-summary {
    grid-template-columns: 1fr;
  }

  .project-gallery-grid {
    column-count: 1;
  }

  .project-summary {
    margin-top: 58px;
  }
}

@media (max-width: 640px) {
  .project-page .site-header .nav-shell,
  .project-page .footer-shell,
  .project-container {
    width: min(calc(100% - 44px), 1224px);
  }

  .project-detail {
    padding: 64px 0 62px;
  }

  .project-hero {
    margin-top: 48px;
  }

  .project-hero h1,
  .project-empty h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .project-hero > p,
  .project-empty > p {
    font-size: 16px;
  }

  .project-cover {
    margin-top: 38px;
  }

  .project-vertical-showcase {
    margin-top: 38px;
  }

  .project-gallery {
    margin-top: 62px;
  }

  .project-gallery h2 {
    margin-bottom: 32px;
    font-size: 28px;
  }
}

.contact-page .nav-shell,
.contact-page .footer-shell {
  width: min(calc(100% - 128px), 1232px);
  margin-left: auto;
  margin-right: auto;
}

.contact-page {
  --header-offset: 80px;
}

.contact-page .site-header,
.contact-page .nav-shell {
  min-height: 80px;
}

.contact-container {
  width: min(calc(100% - 128px), 896px);
  margin-left: auto;
  margin-right: auto;
}

.contact-main {
  background: var(--black);
}

.contact-page-hero {
  padding: 128px 0 82px;
  text-align: center;
}

.contact-page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 4.45vw, 60px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-page-hero > .contact-container > p {
  margin: 22px 0 0;
  color: #9d9d9d;
  font-size: 20px;
  line-height: 1.45;
}

.contact-methods {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  text-align: left;
}

.contact-method {
  min-height: 166px;
  border: 1px solid var(--line);
  background: var(--black);
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: #333333;
  transform: translateY(-3px);
}

.contact-method svg {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  color: var(--nav-active-gold);
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method strong {
  display: block;
  margin: 4px 0 17px;
  color: var(--white);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.contact-method span span {
  display: block;
  color: #9f9f9f;
  font-size: 16px;
  line-height: 1.2;
}

.contact-info,
.contact-process {
  border-top: 1px solid var(--line);
  background: var(--black);
}

.contact-info {
  padding: 80px 0 77px;
}

.contact-info h2,
.contact-process h2 {
  margin: 0;
  color: var(--white);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.18;
}

.contact-info-copy {
  margin-top: 35px;
  max-width: 883px;
}

.contact-info-copy p {
  margin: 0;
  color: #a0a0a0;
  font-size: 18px;
  line-height: 1.55;
}

.contact-info-copy p + p {
  margin-top: 26px;
}

.contact-process {
  padding: 81px 0 114px;
}

.process-grid {
  margin-top: 31px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 74px;
}

.process-step span {
  display: block;
  margin-bottom: 17px;
  color: var(--nav-active-gold);
  font-size: 49px;
  font-weight: 400;
  line-height: 1;
}

.process-step h3 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.process-step p {
  margin: 0;
  color: #9d9d9d;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .contact-page .nav-shell,
  .contact-page .footer-shell,
  .contact-container {
    width: min(calc(100% - 48px), 896px);
  }

  .contact-page-hero {
    padding-top: 96px;
  }

  .contact-methods,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    max-width: 560px;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .contact-page {
    --header-offset: 74px;
  }

  .contact-page .site-header,
  .contact-page .nav-shell {
    min-height: 74px;
  }

  .contact-page .nav-shell {
    display: flex;
    padding-top: 0;
  }

  .contact-page .main-nav {
    margin-top: 0;
    gap: 0;
  }

  .contact-page .nav-shell,
  .contact-page .footer-shell,
  .contact-container {
    width: min(calc(100% - 44px), 896px);
  }

  .contact-page-hero {
    padding: 70px 0 62px;
  }

  .contact-page-hero h1 {
    font-size: clamp(38px, 10vw, 46px);
  }

  .contact-page-hero > .contact-container > p {
    font-size: 17px;
  }

  .contact-methods {
    margin-top: 54px;
    gap: 24px;
  }

  .contact-method {
    min-height: auto;
    padding: 34px 28px;
  }

  .contact-method strong {
    font-size: 23px;
  }

  .contact-method span span,
  .contact-info-copy p,
  .process-step p {
    font-size: 15px;
  }

  .contact-info,
  .contact-process {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .contact-info h2,
  .contact-process h2 {
    font-size: clamp(26px, 8vw, 29px);
  }

  .process-grid {
    margin-top: 34px;
    gap: 38px;
  }
}

.site-header.site-header,
.site-header .nav-shell {
  min-height: 80px;
}

.site-header .nav-shell {
  width: min(calc(100% - 120px), 1172px);
}

@media (max-width: 980px) {
  .site-header .nav-shell {
    width: min(calc(100% - 48px), 1328px);
  }
}

@media (min-width: 641px) {
  .site-header {
    min-height: 80px;
    border-bottom: 0;
    background: var(--black);
  }

  .site-header .nav-shell {
    min-height: 80px;
    width: min(calc(100% - 120px), 1172px);
    padding: 0;
  }

  .site-header .nav-toggle,
  .site-header .nav-close {
    display: none !important;
  }

  .site-header .main-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 31px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header .main-nav a {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #b7b7b7;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible {
    color: #f4f4f4;
  }

  .site-header .main-nav a[aria-current="page"]:not(.nav-cta) {
    color: var(--nav-active-gold);
  }

  .site-header .main-nav .nav-cta {
    width: 110px;
    height: 36px;
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--black);
  }

  .site-header .main-nav .nav-cta:hover,
  .site-header .main-nav .nav-cta:focus-visible,
  .site-header .main-nav .nav-cta[aria-current="page"] {
    background: #ffffff;
    color: var(--black);
  }
}

@media (max-width: 640px) {
  .site-header.site-header,
  .site-header .nav-shell {
    min-height: 74px;
  }

  .site-header .nav-shell {
    width: min(calc(100% - 44px), 1328px);
  }

  .mobile-nav-cta {
    width: 110px;
    height: 44px;
    margin-left: auto;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--black);
    font-size: 14px;
    line-height: 1;
  }

  .mobile-nav-cta:hover,
  .mobile-nav-cta:focus-visible,
  .mobile-nav-cta[aria-current="page"] {
    background: #ffffff;
    color: var(--black);
  }

  .main-nav .nav-cta {
    display: none;
  }

  .main-nav .nav-cta:hover,
  .main-nav .nav-cta:focus-visible,
  .main-nav .nav-cta[aria-current="page"] {
    background: var(--nav-active-gold);
    color: var(--black);
  }
}

.site-header .main-nav .nav-cta[aria-current="page"],
.site-header .mobile-nav-cta[aria-current="page"] {
  background: var(--nav-active-gold);
  color: var(--black);
}

/* Services hub and service detail */
.services-page,
.service-detail-page {
  background: var(--black);
}

.services-container,
.service-detail-container,
.services-page .footer-shell,
.service-detail-page .footer-shell {
  width: min(calc(100% - 128px), 1304px);
  margin-inline: auto;
}

.services-hero {
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line);
}

.services-eyebrow {
  margin: 0 0 20px;
  color: var(--nav-active-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.services-hero h1,
.service-detail-heading h1,
.service-not-found h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.service-detail-heading h1 {
  white-space: pre-line;
}

.services-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: #9d9d9d;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
}

.services-overview {
  padding: 72px 0 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 36px;
}

.service-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(12, 12, 12, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.54));
  transform: translateY(-3px);
}

.service-card-body {
  flex: 1;
  width: 100%;
  min-height: inherit;
  padding: 36px 44px 34px;
  display: flex;
  flex-direction: column;
}

.service-card-index {
  margin: 0 0 20px;
  color: var(--nav-active-gold);
  font-size: 58px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.service-card h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.service-card-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.service-card-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 30px;
  color: var(--nav-active-gold);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.service-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 1px solid var(--nav-active-gold);
  outline-offset: 4px;
}

.services-state {
  min-height: 320px;
  padding: 70px;
  border: 1px solid #252525;
  display: grid;
  align-content: center;
  text-align: center;
}

.services-state h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
}

.services-state p {
  margin: 18px 0 0;
  color: #8d8d8d;
  line-height: 1.6;
}

.services-contact {
  margin-top: 82px;
}

.service-detail-hero {
  padding: 54px 0 88px;
  border-bottom: 1px solid var(--line);
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8d8d8d;
  font-size: 14px;
  transition: color 180ms ease;
}

.service-back:hover,
.service-back:focus-visible {
  color: var(--white);
}

.service-detail-heading {
  max-width: 980px;
  margin-top: 86px;
}

.service-detail-heading > p:not(.services-eyebrow) {
  max-width: 800px;
  margin: 32px 0 0;
  color: #a1a1a1;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.48;
}

.service-hero-cta {
  margin-top: 42px;
}

.service-detail-visual {
  margin-top: 70px;
}

.service-detail-visual img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.service-detail-copy {
  padding: 112px 0 120px;
}

.service-detail-sections {
  border-top: 1px solid var(--line);
}

.service-detail-block {
  padding: 108px 0 114px;
  border-bottom: 1px solid var(--line);
}

.service-detail-block.is-offset {
  background: var(--black);
}

.service-block-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(55px, 10vw, 165px);
}

.service-block-meta > span {
  color: var(--nav-active-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service-block-meta p {
  margin: 18px 0 0;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-block-copy h2 {
  max-width: 820px;
  margin: 0 0 36px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.service-block-copy .service-rich-text {
  max-width: 790px;
}

.service-copy-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 9vw, 150px);
}

.service-copy-grid h2,
.service-section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 45px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-rich-text p {
  margin: 0 0 24px;
  color: #a3a3a3;
  font-size: 18px;
  line-height: 1.75;
}

.service-rich-text p:last-child {
  margin-bottom: 0;
}

.service-projects {
  padding: 96px 0 110px;
  border-top: 1px solid var(--line);
}

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

.service-section-heading > a {
  color: #9d9d9d;
  font-size: 14px;
}

.service-section-heading > a:hover,
.service-section-heading > a:focus-visible {
  color: var(--white);
}

.service-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-project-card a {
  display: block;
}

.service-project-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black);
}

.service-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.service-project-card:hover img {
  transform: scale(1.025);
}

.service-project-name {
  display: block;
  padding-top: 18px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
}

.service-project-summary {
  display: block;
  margin-top: 13px;
  color: #888;
  font-size: 13px;
  line-height: 1.55;
}

.service-project-summary strong {
  margin-right: 8px;
  color: #c8c8c8;
  font-weight: 500;
}

.other-services {
  padding: 104px 0 112px;
  border-top: 1px solid var(--line);
}

.other-services h2 {
  margin: 0 0 45px;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.other-services-list {
  border-top: 1px solid #282828;
}

.other-services-list a {
  min-height: 92px;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #a2a2a2;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  transition: color 180ms ease, padding 180ms ease;
}

.other-services-list a span:last-child {
  color: var(--nav-active-gold);
  font-size: 20px;
}

.other-services-list a:hover,
.other-services-list a:focus-visible {
  padding-inline: 10px;
  color: var(--white);
}

.service-not-found {
  min-height: calc(100vh - 160px);
  padding: 110px 0;
  display: grid;
  align-items: center;
}

.service-not-found p:not(.services-eyebrow) {
  max-width: 620px;
  margin: 28px 0 40px;
  color: #999;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .services-container,
  .service-detail-container,
  .services-page .footer-shell,
  .service-detail-page .footer-shell {
    width: min(calc(100% - 48px), 1304px);
  }

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

  .service-card-body {
    padding: 36px 44px 34px;
  }
}

@media (max-width: 640px) {
  .services-container,
  .service-detail-container,
  .services-page .footer-shell,
  .service-detail-page .footer-shell {
    width: min(calc(100% - 44px), 1304px);
  }

  .services-hero {
    padding: 68px 0 58px;
  }

  .services-overview {
    padding-top: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: 300px;
  }

  .service-card-body {
    padding: 34px 30px 36px;
  }

  .service-card-index {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .services-contact {
    margin-top: 54px;
  }

  .service-detail-hero {
    padding: 34px 0 60px;
  }

  .service-detail-heading {
    margin-top: 64px;
  }

  .service-detail-visual {
    width: 100%;
    margin-top: 0;
  }

  .service-detail-visual img {
    max-height: 520px;
  }

  .service-detail-copy {
    padding: 76px 0 82px;
  }

  .service-detail-block {
    padding: 72px 0 78px;
  }

  .service-block-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-block-meta {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .service-block-meta p {
    margin: 0;
  }

  .service-block-copy h2 {
    margin-bottom: 28px;
  }

  .service-copy-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-rich-text p {
    font-size: 16px;
  }

  .service-projects {
    padding: 72px 0 78px;
  }

  .service-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .services-state {
    min-height: 280px;
    padding: 40px 24px;
  }

  .other-services {
    padding: 74px 0 82px;
  }

  .other-services-list a {
    min-height: 76px;
  }
}

/* Home: service overview cards and mobile accordion. */
.home-solutions {
  padding: 112px 0;
  background: var(--black);
}

.home-solutions .section-heading p {
  max-width: 820px;
  font-size: 16px;
}

.solutions-cards {
  display: flex;
  gap: 36px;
  margin-top: 64px;
  align-items: stretch;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  min-height: 300px;
  padding: 36px 44px 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(12, 12, 12, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.solution-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.solution-toggle:focus-visible {
  outline: 2px solid var(--nav-active-gold);
  outline-offset: 6px;
}

.solution-toggle:disabled { cursor: default; opacity: 1; }

.solution-number {
  margin-bottom: 20px;
  color: var(--nav-active-gold);
  font-size: 58px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.solution-label {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.solution-icon { display: none; }

.solution-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-panel[hidden] { display: none; }

.solution-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.solution-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 30px;
  color: var(--nav-active-gold);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.solution-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 767px) {
  .home-solutions { padding: 72px 0; }
  .solutions-cards { flex-direction: column; gap: 16px; margin-top: 40px; }
  .solution-card { flex: none; min-height: 0; padding: 34px 30px 36px; }
  .solution-toggle { position: relative; padding-right: 30px; }
  .solution-number { font-size: 48px; }
  .solution-icon {
    display: block;
    position: absolute;
    top: 12px;
    right: 0;
    color: var(--nav-active-gold);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
  }
  .is-ready .solution-card:not(.is-open) .solution-panel { display: none; }
  .is-ready .solution-card:not(.is-open) .solution-label { margin-bottom: 0; }
}

/* Four services stay readable in two columns before stacking on mobile. */
@media (min-width: 768px) {
  .solutions-cards.has-four-services,
  .services-grid.has-four-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero titles share the homepage typography across public pages. */
:root body[class] main h1 {
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--heading-h1-size);
  font-weight: 900;
  line-height: var(--heading-h1-line-height);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 18px 72px rgba(12, 12, 12, 0.72);
  overflow-wrap: anywhere;
}

:root body[class] main h1 > span {
  color: inherit;
}

:root body.web-service-page main .web-hero h1 > span {
  color: var(--nav-active-gold);
}

:root body[class] main h2 {
  overflow-wrap: anywhere;
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--heading-h2-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

:root body[class] main .service-card h2 {
  font-size: clamp(28px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.15;
}

:root body[class] main h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--heading-h3-size);
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
}

/* Text roles share a scale across the public pages, including service landings. */
:root body[class] main :is(p, li, dd),
:root body[class] .contact-method span span {
  font-size: var(--text-body-size);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

:root body[class] main :is(
  .hero-description, .portfolio-lead, .services-lead, .web-lead,
  .project-hero > p:not(.project-kicker), .project-empty > p:not(.project-kicker),
  .contact-page-hero > .contact-container > p,
  .service-detail-heading > p:not(.services-eyebrow),
  .contact-inner > p, .about-contact > div > p, .portfolio-contact > div > p
) {
  font-size: var(--text-lead-size);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

:root body[class] :is(
  .button, .web-button, .hero-cta, .hero-secondary, .nav-cta, .mobile-nav-cta
) {
  font-size: var(--text-action-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

:root body[class] :is(
  .solution-link, .service-card-cta, .portfolio-filter, .project-external-link,
  .project-back, .service-back, .web-text-link, .web-inline-cta,
  .service-section-heading > a, .web-jump a
) {
  font-size: var(--text-action-size);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

:root body[class] .main-nav a:not(.nav-cta) {
  font-size: var(--text-action-size);
  font-weight: 500;
  line-height: 1.4;
}

:root body[class] main :is(
  .work-category, .portfolio-category, .project-kicker, .section-kicker,
  .services-eyebrow, .web-eyebrow, .service-block-meta > span,
  .service-block-meta p, .web-types-heading span,
  .work-media-placeholder span, .portfolio-media-placeholder span,
  .project-media-placeholder span
),
:root body[class] .web-breadcrumb,
:root body[class] .footer-shell p {
  font-size: var(--text-meta-size);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

:root body[class] main :is(.section-kicker, .services-eyebrow, .web-eyebrow) {
  letter-spacing: 0.1em;
}

:root body[class] main :is(.card-number, .solution-number, .service-card-index, .process-step > span) {
  font-size: var(--text-number-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

:root body[class] .web-type-index,
:root body[class] .web-steps li::before,
:root body[class] .web-pricing-factors li::before {
  font-size: var(--text-meta-size);
  font-weight: 500;
  line-height: 1.5;
}

:root body[class] main h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

:root body[class] main strong {
  font-weight: 600;
}

:root body[class] .contact-method strong {
  font-size: 21px;
  line-height: 1.3;
}

:root body[class] main .hero-name {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

:root body[class] .hero-name span {
  font-size: var(--text-meta-size);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  :root {
    --heading-h1-size: clamp(32px, 9.4vw, 48px);
    --heading-h1-line-height: 1.06;
    --text-lead-size: 16px;
    --text-number-size: 48px;
  }

  :root body[class] .main-nav a:not(.nav-cta) {
    font-size: 18px;
  }
}
