:root {
  --paper: #eee;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #dedede;
  --soft: #f5f5f3;
  --thumb: #e9ecef;
  --accent: #cc0026;
  --page-width: 1440px;
  --grid-width: 1200px;
  --col: 78px;
  --gap: 24px;
  --margin: 120px;
  --baseline: 8px;
  --leading: 24px;
  --font-latin: "Helvetica Neue", Arial, Inter;
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-body: var(--font-latin), var(--font-jp), sans-serif;
  --header-height: 96px;
  --rail-width: 200px;
  --content-gutter: 96px;
  --content-width: min(var(--grid-width), calc(100% - var(--rail-width) - (var(--content-gutter) * 2)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  /* background:
    linear-gradient(rgba(228, 0, 43, 0.035) 1px, transparent 1px) calc(var(--rail-width) + var(--content-gutter)) 0 / var(--content-width) var(--leading) repeat-y,
    linear-gradient(90deg, rgba(228, 0, 43, 0.08) 1px, transparent 1px) calc(var(--rail-width) + var(--content-gutter)) 0 / calc(var(--col) + var(--gap)) 100% repeat-y,
    var(--paper); */
}
section:not(.work-modal__dialog),
footer{
  margin: 0 auto 0 var(--rail-width);
  border-top: 2px solid var(--muted);
  padding: 120px var(--content-gutter);
}
.section-grid,
.site-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  /* width: var(--content-width); */
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: var(--rail-width);
  height: 100vh;
  margin: 0;
  /* border-right: 1px solid var(--ink); */
  padding: 24px 26px;
  background: var(--paper);
  font-family: var(--font-sans);
  /* font-size: 14px; */
  /* line-height: 20px; */
    justify-content: space-between;
  border-right: 2px solid var(--muted);
  color: var(--ink);
}

.logo {
  display: block;
  font-size: 34px;
  font-weight: 800;
  /* line-height: 40px; */
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* margin-top: 210px; */
  font-size: 16px;
  font-weight: 500;
  /* line-height: 16px; */
}

.nav a {
  display: block;
  width: fit-content;
  margin: -10px -12px;
  padding: 10px 12px;
}

.menu-toggle {
  /* display: none; */
  opacity: 0;
}

@media (min-width: 1080px) {
  .site-header {
    /* border-color: var(--ink); */
    background: var(--ink);
    color: var(--paper);
    transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
  }

  .site-header:hover {
    /* border-color: var(--ink); */
    background: var(--paper);
    color: var(--ink);
  }

  .nav a {
    position: relative;
    width: fit-content;
  }

  .nav a::after {
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms ease;
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .site-footer {
    background: var(--ink);
    color: var(--paper);
    transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
  }

  .site-footer:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
  }

  .site-footer a {
    position: relative;
    width: fit-content;
  }

  .site-footer a::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms ease;
  }

  .site-footer a:hover::after,
  .site-footer a:focus-visible::after {
    transform: scaleX(1);
  }
}

main {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-orb {
  position: absolute;
  top: -80px;
  right: -30vw;
  /* z-index: -1; */
  width: 100%;
  height: 168vh;
  min-height: 1260px;
  /* opacity: 0.94; */
  cursor: grab;
  touch-action: none;
  /*
  Parallax disabled for scroll performance.
  transform: translate3d(var(--orb-parallax-x, 0px), var(--orb-parallax-y, 0px), 0);
  transition: transform 80ms linear;
  */
  user-select: none;
  /* will-change: transform; */
}

.hero-orb::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 52%);
  content: "";
  pointer-events: none;
}

.hero-orb.is-dragging {
  cursor: grabbing;
}

.hero-orb canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-orb.is-loaded canvas {
  opacity: 1;
}

.hero,
.about {
  position: relative;
}

.about {
  z-index: 2;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(8px);
}

.hero {
  z-index: 3;
  min-height: 574px;
  align-content: start;
  border-top: 0;
  /* border-bottom: 2px solid var(--muted); */
  padding-top: 168px;
  pointer-events: none;
  border-top: none !important;
}

.hero > * {
  pointer-events: auto;
}

.kicker {
  grid-column: 4 / 9;
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  /* line-height: var(--leading); */
}

.hero h2 {
  grid-column: 1 / 13;
  margin: 0;
  font-family: var(--font-sans);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  /* line-height: 0.9; */
  letter-spacing: 0;
}

.hero h1 {
  grid-column: 1 / 13;
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  /* line-height: 40px; */
    margin-bottom: 1em;
    margin-top: -0.8em;
    letter-spacing: 0.06em;
}

.hero-copy {
  grid-column: 1 / 13;
  margin: 0;
  font-size: 14px;
  /* line-height: 28px; */
}

.tag-list {
  grid-column: 1 / 13;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  min-height: 26px;
  padding: 5px 13px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  /* line-height: 16px; */
}

/* .about {
  padding: 104px 0 120px;
  border-bottom: 1px solid var(--line);
} */

.section-title {
  grid-column: 1 / 4;
}

.section-title h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  /* line-height: 64px; */
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.8);
}

.section-title p {
    margin: -8px 0 0;
  /* color: var(--muted); */
  font-size: 14px;
  /* line-height: 24px; */
}

.section-body {
  grid-column: 4 / 10;
}

.section-body p {
  margin: 0;
  font-size: 14px;
  /* line-height: 28px; */
}

.section-body .lead {
    margin-bottom: 1em;
    font-size: 24px;
  font-weight: 800;
  /* line-height: 36px; */
}

.works {
  /* padding: 112px 0 160px; */  
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(24px);
  z-index: 3;
  position: relative;
}

.works .section-title {
  grid-column: 1 / 13;
  margin-bottom: 72px;
}

.work-block {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
}

.work-block:not(:last-of-type) {
  margin-bottom: 72px;
}

.work-block h3 {
  grid-column: 1 / 4;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  /* line-height: 40px; */
}

.work-grid {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
}

.work-card {
  display: block;
  width: 100%;
  min-height: 368px;
  padding: 0;
  border: 2px solid var(--muted);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}

.work-card--short {
  min-height: 234px;
}

.work-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 282px;
  background: var(--thumb);
  color: #9a9a9a;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  /* line-height: 16px; */
  contain: paint;
}

.work-thumb img {
  display: block;
  width: calc(100% + 2px);
  max-width: none;
  margin-left: -1px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92);
  transform: translateZ(0) scale(1.004);
  transform-origin: center top;
  backface-visibility: hidden;
  transition: transform 240ms ease, filter 240ms ease;
}

.work-card:hover .work-thumb img,
.work-card:focus-visible .work-thumb img {
  transform: translateZ(0) scale(1.035);
  filter: saturate(1);
}

.work-card--short .work-thumb {
  height: 234px;
}

.work-card h4,
.work-title {
  display: block;
  margin: 0;
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 800;
  /* line-height: 24px; */
}

.work-card--short .work-title {
  display: none;
}

.work-block[data-work-category="lp"] .work-thumb {
  height: 460px;
}

.work-block[data-work-category="site"] .work-thumb {
  height: 360px;
}

.work-block[data-work-category="banner"] .work-card {
  min-height: 0;
}

.work-block[data-work-category="banner"] .work-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
}

/* .strength,
.workflow {
  padding: 72px 0 96px;
} */

.card-grid {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.info-card {
    border: 2px solid var(--muted);
    background: #222;
    padding: 24px;
}

.info-card span {
    display: block;
    /* margin-bottom: 8px; */
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 800;
    /* line-height: 20px; */
    color: var(--muted);
}

.strength .info-card:nth-child(3) span {
  color: var(--accent);
}

.info-card h3 {
    margin: -0.2em 0 1em;
    font-size: 20px;
  font-weight: 800;
  /* line-height: 28px; */
}

.info-card p {
  margin: 0;
  font-size: 14px;
  /* line-height: 24px; */
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  /* line-height: 20px; */
}

.workflow {
  padding-bottom: 160px;
}

.contact {
  /* width: var(--content-width); */
  /* padding: 120px 0; */
  background: var(--muted);
}

.contact .section-title {
  grid-column: 1 / 4;
}

.contact-copy {
  grid-column: 4 / 13;
}

.contact h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  /* line-height: 56px; */
}

.contact p {
  /* margin: 32px 0 0; */
  font-size: 14px;
  /* line-height: 28px; */
}

.contact-actions {
  grid-column: 4 / 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-top: 5em;
}

.contact-actions a {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 56px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  /* line-height: 24px; */
  transition: color 220ms ease;
}

.contact-actions a::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  color: var(--accent);
  outline: none;
}

.contact-actions a:hover::before,
.contact-actions a:focus-visible::before {
  transform: scaleX(1);
}

.contact-actions a[href^="tel:"] {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--paper);
  overflow: visible;
}

.contact-actions a[href^="tel:"]::before {
  display: none;
}

.contact-actions a[href^="mailto:"] {
  background: var(--accent);
}

.site-footer {
  min-height: 160px;
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 40px;
  font-family: var(--font-sans);
}

.site-footer p {
  grid-column: 1 / 5;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  /* line-height: 24px; */
}

.site-footer nav {
  grid-column: 7 / 13;
  display: flex;
  gap: 22px;
  justify-content: flex-start;
  font-size: 14px;
  /* line-height: 24px; */
}

.site-footer small {
  grid-column: 1 / 4;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  /* line-height: 20px; */
}

.site-footer:hover small {
  color: currentColor;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.work-modal.is-open {
  display: grid;
}

.work-modal__backdrop {
  display: none;
}

.work-modal__dialog {
  display: grid;
  grid-template-columns: 100px minmax(520px, 1.12fr) minmax(360px, 0.88fr) 98px;
  grid-template-rows: 90px minmax(0, 1fr);
  grid-template-areas:
    "prev media content close"
    "prev media content next";
  gap: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  color: var(--paper);
  background: transparent;
  overflow: hidden;
  transform: translateZ(0);
}

.work-modal__close {
  grid-area: close;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--muted);
  border-left: 2px solid var(--muted);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.work-modal__close::before,
.work-modal__close::after {
  grid-area: 1 / 1;
  display: block;
  width: 48px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: background 180ms ease;
}

.work-modal__close::before {
  transform: rotate(45deg);
}

.work-modal__close::after {
  transform: rotate(-45deg);
}

.work-modal__nav {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 160ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.work-modal__nav::before,
.work-modal__nav::after {
  grid-area: 1 / 1;
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: background 180ms ease;
}

.work-modal__nav--prev::before {
  transform: translateY(28px) rotate(-45deg);
  transform-origin: left center;
}

.work-modal__nav--prev::after {
  transform: translateY(28px) rotate(45deg);
  transform-origin: left center;
}

.work-modal__nav--next::before {
  transform: translateY(0) rotate(45deg);
  transform-origin: right center;
}

.work-modal__nav--next::after {
  transform: translateY(0) rotate(-45deg);
  transform-origin: right center;
}

.work-modal__close:hover,
.work-modal__close:focus-visible,
.work-modal__nav:hover,
.work-modal__nav:focus-visible {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  opacity: 1;
  outline: none;
}

.work-modal__nav:active {
  opacity: 0.56;
}

.work-modal__nav--prev {
  grid-area: prev;
  border-right: 2px solid var(--muted);
}

.work-modal__nav--next {
  grid-area: next;
  border-left: 2px solid var(--muted);
}

.work-modal__media {
  grid-area: media;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 24px;
  min-width: 0;
  height: calc(100vh - 52px);
    margin: 32px 32px 0 auto;
    max-width: 760px;

}

.work-modal.is-banner .work-modal__media {
  grid-template-columns: minmax(0, 1fr);
}

.work-modal.is-banner .modal-shot--narrow {
  display: none;
}

.work-modal.is-square .work-modal__media {
  align-self: center;
  height: auto;
  margin-top: 0;
}

.work-modal.is-square .modal-shot--scroll,
.work-modal.is-square .modal-scroll {
  height: auto;
}

.modal-shot {
  position: relative;
  margin: 0;
  min-width: 0;
  border-radius: 4px;
  background: #edf0f2;
  overflow: hidden;
}

.modal-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.modal-shot--narrow {
  height: 100%;
  overflow: hidden;
}

.modal-shot--narrow img {
  height: auto;
  cursor: pointer;
}

.modal-shot--scroll {
  height: 100%;
}

.modal-scroll {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  scrollbar-gutter: stable;
  -ms-overflow-style: none;
}

.modal-scroll::-webkit-scrollbar {
  display: none;
  width: 12px;
}

.modal-scroll.is-scrollable {
  scrollbar-color: rgba(17, 17, 17, 0.82) rgba(238, 238, 238, 0.72);
  scrollbar-width: thin;
  -ms-overflow-style: auto;
}

.modal-scroll.is-scrollable::-webkit-scrollbar {
  display: block;
}

.modal-scroll::-webkit-scrollbar-track {
  background: rgba(238, 238, 238, 0.72);
}

.modal-scroll::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 2px solid rgba(238, 238, 238, 0.72);
  border-radius: 999px;
  background-color: rgba(17, 17, 17, 0.82);
  box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.26);
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(17, 17, 17, 0.96);
}

.modal-scroll--preview {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-scroll--preview::-webkit-scrollbar {
  display: none;
}

.modal-scroll--preview img {
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-shot figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 14px;
  /* line-height: 20px; */
  pointer-events: none;
  opacity: 0;
}

.work-modal__content {
  grid-area: content;
  align-self: center;
  max-width: 580px;
  padding: 52px 40px;
}

.work-modal__content .modal-count {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  /* line-height: 16px; */
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.modal-tags li {
  min-height: 26px;
  padding: 4px 13px 3px;
  border-radius: 999px;
  background: #f2f4f5;
  color: #4a4a48;
  font-size: 12px;
  font-weight: 800;
  /* line-height: 18px; */
}

.work-modal__content h2 {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  /* line-height: 56px; */
  /* letter-spacing: 0; */
}

.work-modal__content p {
  margin: 0 0 22px;
  font-size: 16px;
  /* line-height: 28px; */
}

.work-modal__content .modal-affiliation {
  margin-top: -8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.wire-modal__dialog {
  grid-template-columns: 100px minmax(420px, 720px) minmax(320px, 1fr) 98px;
  grid-template-rows: 90px minmax(0, 1fr);
  grid-template-areas:
    ". media content close"
    ". media content .";
}

.wire-modal__media {
  grid-area: media;
  min-width: 0;
  height: calc(100vh - 68px);
  margin: 34px 20px;
}

.wire-modal__shot {
  height: 100%;
}

.modal-url {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
}

.modal-url a {
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}

body.modal-open {
  overflow: hidden;
}

.works {
border-top: 1px solid var(--accent) !important;
}

@media (max-width: 1743px) {
.contact-actions {
    grid-column: 4 / 13;
}
}


@media (max-width: 1679px) {
/* .hero h1,
.hero-copy,
.tag-list {
    grid-column: 1 / 6;
} */


  .work-block {
    display: block;
  }
.section-body,
.card-grid,
.contact-copy,
.contact-actions {
  grid-column: 5 / 13;
}

}

@media (max-width: 1279px) {
  /* .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } */

  .work-card {
    min-height: 0;
  }

  .work-thumb,
  .work-card--short .work-thumb,
  .work-block[data-work-category="lp"] .work-thumb,
  .work-block[data-work-category="site"] .work-thumb,
  .work-block[data-work-category="banner"] .work-thumb {
    height: auto;
    aspect-ratio: auto;
  }

  .work-thumb img {
    width: 100%;
    margin-left: 0;
    height: auto;
    object-fit: contain;
    transform: none;
  }
}

@media (max-width: 1079px) {
  :root {
    --rail-width: 52px;
    --content-gutter: 36px;
    --content-width: calc(100vw - var(--rail-width) - (var(--content-gutter) * 2));
  }

  .hero-orb {
    top: -180px;
    right: -500px;
    width: min(1080px, 165vw);
    height: 148vh;
    min-height: 1040px;
    opacity: 0.58;
  }

  .page {
    min-width: 0;
    /* background:
      linear-gradient(rgba(228, 0, 43, 0.035) 1px, transparent 1px) calc(var(--rail-width) + var(--content-gutter)) 0 / var(--content-width) var(--leading) repeat-y,
      var(--paper); */
    transition: background-position 120ms ease;
  }

  .page.is-menu-open {
    --rail-width: 128px;
    --content-width: calc(100vw - var(--rail-width) - (var(--content-gutter) * 2));
  }

  .section-grid,
  .site-footer {
    /* width: var(--content-width); */
    /* margin-left: calc(var(--rail-width) + var(--content-gutter)); */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    transition: width 120ms ease, margin-left 120ms ease;
  }

  .site-header {
    width: var(--rail-width);
    height: 100vh;
    margin: 0;
    padding: 18px 12px;
    border-color: var(--muted);
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    transition: width 120ms ease, padding 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  }

  .logo,
  .section-title,
  /* .section-body, */
  .works .section-title,
  .work-block,
  .card-grid,
  .contact-copy,
  .contact-actions,
  .site-footer p,
  .site-footer nav,
  .site-footer small {
    grid-column: 1 / -1;
  }

  .logo {
    font-size: 30px;
    /* line-height: 36px; */
  }

  .nav {
    display: grid;
    place-items: center;
    margin: auto 0;
    font-size: 12px;
    /* line-height: 16px; */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: margin 120ms ease;
  }

  .nav::before {
    content: "Menu";
  }

  .nav a {
    display: none;
  }


  .work-block h3 {
    margin-bottom: 24px;
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
  }

  .work-card {
    grid-column: auto;
    min-height: 0;
  }

  .work-thumb,
  .work-card--short .work-thumb,
  .work-block[data-work-category="lp"] .work-thumb,
  .work-block[data-work-category="site"] .work-thumb,
  .work-block[data-work-category="banner"] .work-thumb {
    height: auto;
    aspect-ratio: auto;
  }

  .work-thumb img {
    width: 100%;
    margin-left: 0;
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .contact-copy,
  .contact-actions {
    grid-column: 1 / 4;
  }

  .contact-actions a[href^="tel:"] {
    min-height: 56px;
    padding: 0 24px;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
  }

  .contact-actions a[href^="tel:"]::before {
    display: block;
  }

  .menu-toggle {
    display: block;
    opacity: 1;
    position: relative;
    /* left: 16px;
    bottom: 18px; */
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    transition: left 120ms ease, bottom 120ms ease;
  }

  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    position: absolute;
    left: 0;
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle::before {
    top: 3px;
  }

  .menu-toggle span {
    top: 9px;
  }

  .menu-toggle::after {
    top: 15px;
  }

  .page.is-menu-open .site-header {
    /* padding: 78px 30px 28px; */
    border-color: var(--paper);
    background: var(--paper);
    color: var(--ink);
  }

  .page.is-menu-open .logo {
    font-size: 34px;
    /* line-height: 40px; */
  }

  .page.is-menu-open .nav {
    display: flex;
    place-items: stretch;
    align-items: flex-start;
    gap: 20px;
    /* margin: 128px 0 0; */
    writing-mode: horizontal-tb;
    transform: none;
  }

  .page.is-menu-open .nav::before {
    content: none;
  }

  .page.is-menu-open .nav a {
    display: block;
  }

  .page.is-menu-transitioning .nav a {
    pointer-events: none;
  }

  .page.is-menu-open .menu-toggle {
    /* left: 30px;
    bottom: 30px; */
    color: currentColor;
  }

  .page.is-menu-open .menu-toggle::before {
    top: 9px;
    transform: rotate(45deg);
  }

  .page.is-menu-open .menu-toggle span {
    opacity: 0;
  }

  .page.is-menu-open .menu-toggle::after {
    top: 9px;
    transform: rotate(-45deg);
  }

  /* .hero {
    min-height: 504px;
    padding: 144px 0 80px;
  } */

  .hero h2 {
    grid-column: 1 / -1;
    font-size: clamp(44px, 8vw, 72px);
    /* line-height: 1; */
  }

  .hero h1,
  .hero-copy,
  .tag-list,
  .kicker,
  .about,
  .section-body {
    grid-column: 1 / 4;
  }

  .contact {
    padding: 80px 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .work-modal__dialog {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.86fr);
    grid-template-rows: minmax(0, 1fr) 72px;
    grid-template-areas:
      "media media content"
      "prev close next";
    gap: 0;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
  }

  .work-modal__media {
    grid-template-columns: 84px 1fr;
    height: auto;
    min-height: 0;
    margin: 24px 12px;
  }

  .work-modal__content {
    max-width: none;
    max-height: calc(100dvh - 72px);
    align-self: center;
    overflow-y: auto;
    padding: 48px 24px 48px 20px;
  }

  .work-modal__content h2 {
    font-size: 34px;
    /* line-height: 42px; */
  }

  .work-modal__close {
    border-top:  2px solid var(--muted);
    /* border-right: 2px solid var(--muted); */
    border-bottom: 0;
    border-left:  0;
  }

  .work-modal__close::before,
  .work-modal__close::after {
    width: 40px;
  }

  .work-modal__nav {
    border-top: 2px solid var(--muted);
  }

  .work-modal__nav::before,
  .work-modal__nav::after {
    width: 24px;
  }

  .work-modal__nav--prev {
    border-right: 2px solid var(--muted);
  }

  .work-modal__nav--next {
    border-left: 2px solid var(--muted);
  }

.work-modal__nav--prev::after {
    transform: translateY(0) rotate(45deg);
 }

 .work-modal__nav--prev::before {
    transform: translateY(0) rotate(-45deg);
}

  .wire-modal__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto 72px;
    grid-template-areas:
      "media"
      "content"
      "close";
  }

  .wire-modal__media {
    height: auto;
    min-height: 0;
    margin: 48px 12px 28px;
  }
}

@media (max-width: 720px) {
  .hero-orb {
    top: -80px;
    right: -560px;
    width: 940px;
    height: 1100px;
    min-height: 0;
    opacity: 0.24;
    pointer-events: none;
  }
      .work-modal__media {
        grid-template-columns: 1fr;
     }
  .modal-shot--narrow{
    display: none;
  }
}
