@font-face {
  font-family: 'Mona Sans';
  src: url('/assets/fonts/67bc6274c5b4108b123aa4d5_MonaSans-VariableFont_wdth_wght.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: Brier;
  src: url('/assets/fonts/67b6113a220f85ad6497495a_Brier-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root { --paper: #f4f4ed; --ink: #282c20; --black: #111112; --lime: #d2ff00; --gutter: clamp(20px, 3.2vw, 64px); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--black); color: var(--paper); font-family: 'Mona Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 24px; height: 24px; }
h1, h2, h3, h4, p, figure { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 7px; }
::selection { background: var(--lime); color: var(--ink); }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 14px 24px; z-index: 100; transform: translateY(-180%); background: var(--lime); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.serif { font-family: Brier, Georgia, serif; font-weight: 700; }
.eyebrow { font-size: clamp(10px, .85vw, 13px); font-weight: 650; line-height: 1.5; text-transform: uppercase; letter-spacing: .045em; }

.work-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: var(--ink); }
.work-brand { margin-right: auto; }
.work-brand img { width: clamp(140px, 11.5vw, 210px); }
.header-switch { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 60px; padding: 0 24px; border-radius: 12px; background: var(--lime); font-size: 14px; font-weight: 750; text-transform: uppercase; }
.header-switch:hover { background: var(--ink); color: var(--paper); }
.scroll-link { width: fit-content; display: flex; align-items: center; gap: 30px; padding-block: 10px; }
.scroll-link span { font-size: 25px; }
.scroll-link:hover span { transform: translateY(5px); }
.selected-work { padding: clamp(70px, 8vw, 150px) var(--gutter) 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading h2 { font-size: clamp(34px, 5.2vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -.04em; }
.section-heading p { width: 31%; max-width: 360px; color: #bcbcb4; font-size: clamp(14px, 1.2vw, 20px); line-height: 1.4; }
.project-number { flex: 0 0 auto; color: var(--lime); font-size: clamp(12px, 1.3vw, 21px); font-weight: 600; }
.web-project-grid { margin-top: clamp(40px, 5vw, 80px); scroll-margin-top: 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 75px 3.2vw; align-items: start; }
.web-project { min-width: 0; }
.web-project:nth-child(even) { margin-top: 90px; }
.web-project a { display: block; }
.web-project-preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #242820; }
.web-project-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.web-project-visit { position: absolute; bottom: 22px; right: 22px; padding: 15px 22px; background: var(--lime); color: var(--ink); border-radius: 40px; font-size: 12px; font-weight: 700; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.web-project a:hover .web-project-preview img, .web-project a:focus-visible .web-project-preview img { transform: scale(1.04); }
.web-project a:hover .web-project-visit, .web-project a:focus-visible .web-project-visit { opacity: 1; transform: translateY(0); }
.web-project a:focus-visible { outline: 2px solid var(--lime); outline-offset: 10px; }
.web-project-meta { display: flex; align-items: baseline; gap: 18px; padding-top: 22px; }
.web-project-meta h3 { font-size: clamp(27px, 3.5vw, 64px); letter-spacing: -.05em; line-height: 1; font-weight: 750; }
.web-project-arrow { margin-left: auto; color: var(--lime); font-size: 36px; }
.web-project p { margin-top: 14px; font-size: clamp(12px, 1vw, 17px); line-height: 1.5; color: #bcbcb4; }
@media (hover: none) { .web-project-visit { opacity: 1; transform: none; padding: 10px 14px; font-size: 10px; bottom: 12px; right: 12px; } }

.work-contact { padding: clamp(100px, 13vw, 240px) var(--gutter) clamp(70px, 8vw, 140px); }
.contact-top { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid #f4f4ed40; }
.work-contact h2 { margin: 55px 0 42px; font-size: 12.2vw; font-weight: 800; line-height: .88; letter-spacing: -.055em; }
.work-contact h2 .serif { color: var(--lime); font-size: .98em; letter-spacing: -.045em; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.contact-bottom > p { font-size: clamp(15px, 1.5vw, 23px); line-height: 1.5; color: #c8c8c0; }
.contact-link { display: flex; align-items: center; gap: clamp(45px, 6vw, 100px); padding: 24px 28px; border-radius: 10px; background: var(--lime); color: var(--ink); font-size: clamp(23px, 2.2vw, 36px); font-weight: 750; letter-spacing: -.03em; transition: background .2s, transform .2s; }
.contact-link small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.contact-link svg { width: 38px; height: 38px; }
.contact-link:hover { background: var(--paper); transform: translateY(-4px); }
.work-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 40px; margin-inline: var(--gutter); padding: 36px 0; border-top: 1px solid #f4f4ed40; }
.footer-brand { display: block; width: clamp(160px, 19vw, 300px); background: var(--paper); mask: url('/assets/branding/mirzoev-shehron-stacked.svg') center / contain no-repeat; -webkit-mask: url('/assets/branding/mirzoev-shehron-stacked.svg') center / contain no-repeat; }
.footer-brand img { opacity: 0; width: 100%; }
.work-footer p, .work-footer nav { font-size: 13px; line-height: 1.6; }
.work-footer nav { display: flex; flex-direction: column; gap: 6px; }
.work-footer nav a:hover { color: var(--lime); }


@media (max-width: 991px) {
  .work-footer { grid-template-columns: 1fr 1fr; }
  .work-footer nav { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .work-header { padding: 14px 16px; gap: 8px; }
  .work-brand img { width: 138px; }
  .header-switch { min-height: 46px; gap: 10px; padding: 0 13px; font-size: 10px; border-radius: 8px; }
  .header-switch svg { width: 17px; height: 17px; }
  .scroll-link { font-size: 10px; gap: 20px; }
  .selected-work { padding-top: 56px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(32px, 8.7vw, 62px); }
  .section-heading p { width: 100%; margin-top: 22px; font-size: 14px; }
  .web-project-grid { grid-template-columns: 1fr; gap: 42px; }
  .web-project:nth-child(even) { margin-top: 0; }
  .web-project-meta { gap: 12px; padding-top: 18px; }
  .web-project-meta h3 { font-size: clamp(25px, 8vw, 40px); }
  .web-project-arrow { font-size: 29px; }
  .work-contact { padding-top: 90px; padding-bottom: 60px; }
  .contact-top { font-size: 9px; }
  .work-contact h2 { font-size: 11.8vw; margin: 36px 0 30px; }
  .contact-bottom { align-items: stretch; flex-direction: column; gap: 26px; }
  .contact-bottom > p { font-size: 15px; }
  .contact-link { justify-content: space-between; padding: 22px 24px; font-size: 27px; }
  .work-footer { gap: 28px 20px; padding: 30px 0; }
  .footer-brand { width: min(100%, 180px); }
  .work-footer p { font-size: 11px; justify-self: end; }
  .work-footer nav { font-size: 11px; gap: 16px; }
}
@media (max-width: 359px) {
  .work-brand img { width: 115px; }
  .header-switch { padding: 0 10px; gap: 6px; }
  .header-switch svg { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
