.dialog-open {
  overflow: hidden;
}
dialog {
  color: #efece1;
  background: #172020;
  border: 1px solid #ffffff33;
  padding: 28px;
  max-height: 90svh;
  max-width: 1100px;
  width: calc(100% - 48px);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #08100fe0;
  backdrop-filter: blur(10px);
}
dialog button:hover,
dialog a:hover {
  color: #c6e6b0;
}
.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-top .micro {
  color: #b0bdb2;
}
.dialog-top h2 {
  font:
    400 clamp(24px, 3vw, 42px) / 1.1 "Space Grotesk",
    sans-serif;
  margin: 9px 0;
}
.dialog-top p {
  font-size: 12px;
  color: #b0bdb2;
  margin: 8px 0;
}
.close {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  line-height: 1;
  border: 1px solid #ffffff30;
  border-radius: 50%;
}
.media-stage {
  aspect-ratio: 16/9;
  background: #060909;
}
.media-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.media-stage.is-photo {
  aspect-ratio: auto;
  height: min(60svh, 650px);
}
.media-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-options,
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.video-options:not(:empty) {
  margin-bottom: 18px;
}
.video-options button {
  padding: 0 15px;
  border: 1px solid #ffffff33;
  border-radius: 25px;
  font-size: 11px;
}
.video-options button[aria-pressed="true"] {
  background: #d3e4bd;
  color: #182221;
}
.photo-controls button {
  font-size: 22px;
  padding: 0 20px;
}
.viewer-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.description {
  border-top: 1px solid #ffffff30;
  padding-top: 24px;
}
.cs-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.cs-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #bac7bd;
}
.cs-text {
  font-size: 13px;
  line-height: 1.8;
  color: #bac7bd;
  margin: 0;
}
.catalog-controls {
  display: flex;
  gap: 20px;
}
.catalog-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  flex: 1;
}
.catalog-controls label:first-child {
  flex: 2;
}
input,
select {
  width: 100%;
  border: 1px solid #ffffff40;
  background: #25312c;
  color: #f2f0e7;
  padding: 13px;
  border-radius: 0;
}
.catalog-list {
  margin-top: 16px;
}
.catalog-row {
  width: 100%;
  display: grid;
  grid-template-columns: 24px 75px 1fr 180px 20px;
  gap: 18px;
  align-items: center;
  text-align: left;
  border-top: 1px solid #ffffff25;
  padding: 15px 0;
}
.catalog-row img {
  aspect-ratio: 16/10;
  object-fit: cover;
}
.catalog-row strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.catalog-row span span {
  font-size: 11px;
  color: #b0bdb2;
  display: block;
  margin-top: 5px;
}
.row-role {
  font-size: 11px;
  color: #b0bdb2;
}
:root {
  --ink: #1b1c1c;
  --paper: #ffffff;
  --muted: #747570;
  --accent: #284fea;
  --line: #d6d7cf;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
  min-height: 44px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a:hover,
.text-link:hover {
  color: var(--accent);
}
img {
  display: block;
  width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.small,
.micro {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.045em;
  font-weight: 500;
}
.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--paper);
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
.header,
main {
  max-width: 1800px;
  margin: auto;
  padding: 0 40px;
}
.header {
  height: 96px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.wordmark {
  font-size: 19px;
  letter-spacing: -0.8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.header-role {
  font-size: 10px;
  color: var(--muted);
  margin-left: 15px;
}
.header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
}
.header nav a {
  padding: 15px 0;
}
.header nav a[aria-current] {
  border-bottom: 2px solid var(--accent);
}
.section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  min-height: 65px;
}
.section-rule h2 {
  font-size: 11px;
  font-weight: 500;
  margin: 0;
}
.section-rule > .small {
  color: var(--muted);
}
.screening-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 8.5fr) minmax(0, 1.65fr);
  gap: 18px;
  align-items: start;
}
.lead-project {
  min-width: 0;
}
.feature {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: #e7e7df;
  isolation: isolate;
}
.feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#0003, transparent 20%, transparent 80%, #0003);
  pointer-events: none;
}
.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.feature:hover .feature-image {
  transform: scale(1.012);
}
.feature-badge {
  position: absolute;
  right: 20px;
  top: 18px;
  background: #ffffffee;
  padding: 7px 10px;
  z-index: 1;
  font-size: 8px;
  text-transform: uppercase;
  color: var(--ink);
}
.watch-pill {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 14px 21px;
  border-radius: 30px;
  z-index: 1;
}
.watch-pill svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.project-caption {
  padding: 25px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
}
.project-client {
  margin: 0 0 10px;
  color: var(--muted);
}
.project-title {
  font-size: clamp(29px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -1.9px;
  line-height: 1.07;
  margin: 0;
}
.project-credit {
  text-align: right;
  padding-top: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.project-role {
  font-size: 10px;
  color: #65685f;
}
.text-link {
  font-size: 11px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #bbbeb1;
}
.project-summary {
  grid-column: 1/-1;
  max-width: 540px;
  margin: 1px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #65685f;
}
.flank {
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
  min-width: 0;
}
.flank-image-wrap {
  display: block;
  overflow: hidden;
  background: #e2e4db;
}
.flank img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s,
    filter 0.5s;
  filter: saturate(0.8);
}
.flank:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}
.flank-previous {
  padding-top: 145px;
}
.flank-previous .flank-image-wrap {
  aspect-ratio: 1/1.75;
  background: #e0e5d3;
}
.flank-previous img {
  opacity: 0.8;
}
.flank-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 13px;
  font-size: 11px;
  line-height: 1.4;
}
.flank-label .small {
  font-size: 8px;
  color: var(--muted);
}
.previous-client {
  font-size: 10px;
}
.next-column {
  padding-top: 61px;
  min-width: 0;
}
.sequence-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.flank-next .flank-image-wrap {
  aspect-ratio: 1/1.24;
}
.flank-next .flank-label {
  padding-top: 15px;
}
.selection-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 30px;
}
.selection-position {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.arrow-controls {
  display: flex;
  gap: 3px;
}
.arrow-controls button {
  width: 36px;
  height: 44px;
  padding: 10px;
}
.arrow-controls button:hover {
  color: var(--accent);
}
.arrow-controls svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.browse-work {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 19px;
  padding: 17px 14px;
  width: 100%;
  text-align: left;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  min-height: 65px;
}
.browse-work:hover {
  background: #193bca;
}
.contact-sheet-icon {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 3px;
  flex-shrink: 0;
}
.contact-sheet-icon i {
  border: 1px solid currentColor;
}
.client-strip {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 26px 0 30px;
  display: grid;
  grid-template-columns: 1fr 9.9fr;
  gap: 18px;
  align-items: center;
}
.client-label {
  font-size: 8px;
  color: var(--muted);
}
.clients {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.clients button {
  font-size: clamp(16px, 1.6vw, 25px);
  letter-spacing: -0.7px;
  font-weight: 500;
  padding: 0;
  white-space: nowrap;
}
.clients button:hover {
  color: var(--accent);
}
.about {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding: 65px 0;
  align-items: start;
}
.about-heading > .small {
  color: var(--muted);
  font-size: 9px;
}
.about h2 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 17px 0 0;
}
.about-copy {
  padding-top: 28px;
  max-width: 380px;
}
.about-copy p {
  font-size: 13px;
  line-height: 1.8;
  color: #66695f;
  margin: 0 0 17px;
}
.about-copy a {
  display: inline-block;
  padding: 12px 0;
}
.tools-card {
  background: #e9ebdf;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 230px;
  color: var(--ink);
}
.tools-card .small {
  font-size: 9px;
  color: #65685f;
}
.tools-title {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.tools-description {
  font-size: 11px;
  line-height: 1.7;
  color: #66695f;
}
.tools-link {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 4px;
}
.tools-card:hover {
  background: #e0e4d2;
  color: var(--ink);
}
.footer {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 24px 0 80px;
  font-size: 10px;
}
.footer > span {
  margin-right: auto;
  color: var(--muted);
}
.review-bar {
  position: static;
  z-index: 80;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffffed;
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  padding: 0 25px;
  font-size: 9px;
  min-height: 40px;
}
.review-bar > span {
  margin-right: auto;
  color: var(--muted);
}
.review-bar button,
.review-bar a {
  font-size: 9px;
  min-height: 40px;
}
.review-bar a {
  display: flex;
  align-items: center;
}
.motion-paused * {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}
/* A visual contact sheet: images lead, with credits kept close to the work. */
dialog {
  font-family: inherit;
}
.dialog-top h2 {
  font-family: inherit;
}
.catalog {
  width: calc(100% - 64px);
  max-width: 1360px;
  background: var(--paper);
  color: var(--ink);
  padding: 32px 36px;
  border: 0;
  max-height: 93svh;
}
.catalog .dialog-top {
  align-items: center;
  margin-bottom: 24px;
}
.catalog .dialog-top .micro {
  color: var(--muted);
  font-size: 9px;
}
.catalog .dialog-top h2 {
  font-size: 65px;
  letter-spacing: -3px;
  margin: 8px 0 0;
}
.catalog .close {
  border-color: var(--line);
  font-size: 26px;
}
.catalog button:hover {
  color: var(--accent);
}
.catalog-controls {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  gap: 32px;
}
.catalog-controls label {
  font-size: 9px;
  color: var(--muted);
}
.catalog input,
.catalog select {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  border-radius: 0;
}
.search-status {
  font-size: 9px;
  color: var(--muted);
  margin: 16px 0;
}
.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 20px;
  margin-top: 20px;
}
.catalog-card {
  display: block;
  min-width: 0;
  text-align: left;
  padding: 0;
}
.catalog-art {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e4e7de;
}
.catalog-art img {
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s;
}
.catalog-card:hover img {
  transform: scale(1.025);
}
.catalog-kind {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 8px;
  font-size: 8px;
}
.catalog-caption {
  display: block;
  padding: 14px 0 0;
  border-top: 3px solid transparent;
}
.catalog-card:hover .catalog-caption {
  border-color: var(--accent);
}
.catalog-caption strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.45px;
  font-weight: 500;
  line-height: 1.2;
}
.catalog-title {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.5;
}
.catalog-role {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.catalog-list:empty {
  min-height: 130px;
}
.viewer-links a:hover {
  color: #c6e6b0;
}
.viewer .micro {
  color: #b0bdb2;
}
@media (min-width: 1700px) {
  .flank-previous {
    padding-top: 200px;
  }
  .next-column {
    padding-top: 100px;
  }
}
@media (max-width: 1100px) {
  .header,
  main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-role {
    margin-left: 0;
    font-size: 9px;
  }
  .header nav {
    gap: 20px;
  }
  .screening-stage {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 8fr) minmax(0, 1.9fr);
    gap: 12px;
  }
  .flank-previous {
    padding-top: 110px;
  }
  .flank-previous .flank-image-wrap {
    aspect-ratio: 1/2.6;
  }
  .previous-client {
    font-size: 8px;
  }
  .next-column {
    padding-top: 32px;
  }
  .sequence-label {
    font-size: 7px;
  }
  .project-title {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .project-caption {
    gap: 14px;
  }
  .project-role {
    font-size: 9px;
  }
  .browse-work {
    font-size: 10px;
    padding: 13px 10px;
  }
  .arrow-controls button {
    width: 28px;
    padding: 7px;
  }
  .selection-controls {
    margin-top: 18px;
  }
  .clients {
    gap: 15px;
  }
  .clients button {
    font-size: 17px;
  }
  .about {
    gap: 30px;
  }
  .about h2 {
    font-size: 30px;
  }
  .tools-title {
    font-size: 26px;
  }
  .catalog-list {
    gap: 28px 16px;
  }
}
@media (max-width: 700px) {
  .header,
  main {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header {
    height: 80px;
    gap: 12px;
  }
  .wordmark {
    font-size: 16px;
  }
  .header-role {
    display: none;
  }
  .header nav {
    font-size: 10px;
    gap: 18px;
  }
  .header nav a[href="#about"],
  .header nav a[href="/tools/"] {
    display: none;
  }
  .section-rule {
    min-height: 54px;
  }
  .section-rule h2 {
    font-size: 10px;
  }
  .section-rule .small {
    font-size: 9px;
  }
  .screening-stage {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 12px 10px;
  }
  .flank-previous {
    display: none;
  }
  .lead-project {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .feature {
    aspect-ratio: 16/9;
  }
  .feature-image {
    object-fit: cover;
  }
  .feature-badge {
    right: 10px;
    top: 10px;
    font-size: 7px;
    padding: 5px 7px;
  }
  .watch-pill {
    left: 12px;
    bottom: 12px;
    font-size: 10px;
    padding: 11px 15px;
    gap: 8px;
  }
  .watch-pill svg {
    width: 10px;
    height: 10px;
  }
  .project-caption {
    padding-top: 19px;
    display: block;
    padding-right: 75px;
    min-height: 216px;
  }
  .project-client {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .project-title {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .project-credit {
    text-align: left;
    align-items: flex-start;
    gap: 0;
    padding-top: 12px;
  }
  .project-role {
    font-size: 9px;
  }
  .project-details {
    font-size: 10px;
    min-height: 35px;
  }
  .project-summary {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 5px;
  }
  .next-column {
    grid-column: 1/-1;
    grid-row: 2;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    align-items: center;
  }
  .sequence-label {
    display: none;
  }
  .flank-next {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .flank-next .flank-image-wrap {
    width: 100px;
    aspect-ratio: 16/10;
    flex-shrink: 0;
  }
  .flank-next .flank-label {
    padding: 0;
    font-size: 12px;
  }
  .flank-next .small {
    font-size: 8px;
  }
  .selection-controls {
    grid-column: 1;
    grid-row: 2;
    margin: 10px 0 0;
    justify-content: flex-start;
    gap: 16px;
  }
  .selection-position {
    font-size: 10px;
  }
  .arrow-controls button {
    width: 36px;
  }
  .browse-work {
    grid-column: 2;
    grid-row: 2;
    margin: 10px 0 0;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 10px;
  }
  .client-strip {
    margin-top: 32px;
    display: block;
    padding: 22px 0 28px;
  }
  .client-label {
    display: block;
    margin-bottom: 12px;
    font-size: 8px;
  }
  .clients {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 16px;
    align-items: center;
  }
  .clients button {
    text-align: left;
    font-size: 16px;
    letter-spacing: -0.5px;
  }
  .clients button[data-client="The Farmer's Dog"] {
    font-size: 13px;
    white-space: normal;
  }
  .about {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding: 35px 0;
  }
  .about-heading {
    grid-column: 1;
  }
  .about h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .about-copy {
    grid-column: 1/-1;
    grid-row: 2;
    padding-top: 0;
  }
  .about-copy p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .about-copy a {
    font-size: 11px;
  }
  .tools-card {
    grid-column: 2;
    grid-row: 1;
    min-height: 200px;
    padding: 18px;
    gap: 13px;
  }
  .tools-card .small {
    font-size: 8px;
  }
  .tools-title {
    font-size: 22px;
    letter-spacing: -0.7px;
  }
  .tools-description {
    font-size: 10px;
  }
  .tools-link {
    font-size: 10px;
  }
  .footer {
    padding-top: 22px;
    gap: 20px;
    font-size: 10px;
  }
  .review-bar {
    padding: 0 12px;
    gap: 16px;
  }
  .review-bar > span {
    font-size: 7px;
  }
  .review-bar a,
  .review-bar button {
    font-size: 8px;
  }
  dialog {
    padding: 18px;
    width: calc(100% - 20px);
    max-height: 94svh;
  }
  .dialog-top h2 {
    font-size: 26px;
  }
  .cs-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cs-text {
    font-size: 12px;
  }
  .video-options {
    gap: 6px;
    flex-wrap: wrap;
  }
  .video-options button {
    font-size: 10px;
    padding: 0 12px;
  }
  .viewer-links {
    font-size: 10px;
  }
  .media-stage.is-photo {
    height: 50svh;
  }
  .catalog {
    width: calc(100% - 16px);
    padding: 20px 16px;
  }
  .catalog .dialog-top h2 {
    font-size: 49px;
    letter-spacing: -2px;
  }
  .catalog .dialog-top .micro {
    font-size: 8px;
  }
  .catalog-controls {
    gap: 20px;
  }
  .catalog-controls label {
    font-size: 8px;
  }
  .catalog input,
  .catalog select {
    font-size: 11px;
  }
  .catalog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }
  .catalog-caption strong {
    font-size: 14px;
  }
  .catalog-title {
    font-size: 10px;
  }
  .catalog-role {
    font-size: 8px;
  }
  .catalog-kind {
    font-size: 7px;
    left: 8px;
    bottom: 8px;
    padding: 4px 6px;
  }
  .search-status {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 700px) {
  .about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about > * {
    min-width: 0;
  }
}
@media (max-width: 360px) {
  .about h2 {
    font-size: 25px;
  }
  .tools-title {
    font-size: 20px;
  }
  .tools-card {
    padding: 14px;
  }
  .tools-description {
    font-size: 9px;
  }
}
/* Shared contact and navigation, including safe-area support on phones. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header nav button {
  font-size: 12px;
  padding: 15px 0;
}
.footer button {
  font-size: 10px;
  padding: 0;
  min-height: 24px;
}
.thumb-nav,
.dialog-bottom {
  display: none;
}
.bio-portrait {
  width: 150px;
  aspect-ratio: 4/5;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
}
.bio-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.contact-open {
  cursor: pointer;
}
.contact-open:hover {
  color: var(--accent);
}
.contact-dialog {
  width: calc(100% - 40px);
  max-width: 780px;
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border: 0;
}
.contact-dialog .dialog-top h2 {
  font-size: 46px;
  letter-spacing: -1.8px;
  margin-top: 10px;
}
.contact-dialog .dialog-top p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.contact-dialog .close {
  border-color: var(--line);
}
.contact-dialog button:hover {
  color: var(--accent);
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-top: 9px;
  padding: 14px;
  font-size: 16px;
  min-height: 50px;
}
.contact-form textarea {
  font: inherit;
  font-size: 16px;
  resize: vertical;
  min-height: 160px;
  max-height: 400px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.form-status {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}
.form-status.error {
  color: #943f32;
}
.form-status.success {
  color: #356144;
}
.send-message {
  padding: 15px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  min-width: 140px;
  min-height: 50px;
  flex-shrink: 0;
}
.contact-dialog .send-message:hover {
  color: #fff;
  background: #193bca;
}
.send-message:disabled {
  opacity: 0.65;
  cursor: wait;
}
/* Portrait and a horizontal photo roll preserve the original pictures' proportions. */
.about-intro {
  border-top: 1px solid var(--line);
  padding: 55px 0 65px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.about-intro-copy {
  grid-column: 1/6;
  align-self: center;
  max-width: 520px;
}
.about-intro-copy > .small {
  font-size: 9px;
  color: var(--muted);
}
.about-intro h1 {
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.05;
  letter-spacing: -3.5px;
  font-weight: 500;
  margin: 23px 0 35px;
}
.about-intro p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 19px;
  color: #5b5e56;
}
.bio-contact {
  margin-top: 10px;
  padding: 14px 22px;
  background: var(--accent);
  color: white;
  min-height: 50px;
  font-size: 12px;
}
.bio-contact:hover {
  background: #193bca;
  color: #fff;
}
.about-cover {
  grid-column: 8/13;
  position: relative;
  padding: 0;
  max-width: 500px;
  justify-self: end;
  overflow: hidden;
  width: 100%;
  background: #e9ebdf;
}
.about-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s;
}
.about-cover:hover img {
  transform: scale(1.015);
}
.cover-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--paper);
  padding: 7px 10px;
  font-size: 8px;
}
.photo-section {
  border-top: 1px solid var(--line);
  padding: 30px 0 60px;
}
.photo-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.photo-section h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0;
}
.photo-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.photo-filters button {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 17px;
  min-height: 44px;
}
.photo-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.photo-roll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #b0b4a5 transparent;
  padding: 5px 0 16px;
}
.personal-thumb {
  flex: 0 0 auto;
  width: clamp(180px, calc(310px * var(--photo-ratio)), 470px);
  padding: 0;
  scroll-snap-align: start;
  text-align: left;
}
.personal-thumb img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  background: #e8e9e1;
}
.personal-thumb > span {
  display: block;
  font-size: 9px;
  padding: 13px 0;
  color: var(--muted);
}
.personal-thumb:hover > span {
  color: var(--accent);
}
.roll-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}
.roll-status {
  color: var(--muted);
  font-size: 9px;
}
.roll-controls > div {
  display: flex;
  gap: 8px;
}
.roll-controls button {
  font-size: 20px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.roll-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}
.personal-viewer {
  width: calc(100% - 40px);
  height: 92svh;
  max-width: 1200px;
  max-height: 92svh;
  padding: 20px;
  background: #171d1b;
  overflow: hidden;
}
.personal-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.personal-image {
  width: 100%;
  height: 0;
  flex: 1;
  min-height: 0;
  object-fit: contain;
}
.personal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-shrink: 0;
  min-height: 50px;
}
.personal-controls button {
  min-width: 48px;
  font-size: 22px;
}
.personal-controls .personal-close {
  font-size: 12px;
  border: 1px solid #ffffff40;
  padding: 0 18px;
  margin-left: 18px;
}
.personal-position {
  font-size: 10px;
}
@media (max-width: 1000px) {
  .about-intro {
    gap: 20px;
  }
  .about-intro-copy {
    grid-column: 1/7;
  }
  .about-cover {
    grid-column: 8/13;
  }
  .about-intro h1 {
    font-size: 54px;
    letter-spacing: -2.5px;
  }
  .about-intro p {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .header {
    height: 68px;
  }
  .header nav {
    display: none;
  }
  .header-role {
    display: block;
    font-size: 8px;
    line-height: 1.4;
    max-width: 120px;
    margin-left: auto;
    text-align: right;
  }
  .section-rule {
    min-height: 49px;
  }
  .project-caption {
    padding-top: 16px;
  }
  .project-title {
    font-size: 29px;
  }
  .project-summary {
    margin-top: 2px;
  }
  .project-credit {
    padding-top: 8px;
  }
  .project-details {
    min-height: 44px;
  }
  .next-column {
    gap: 0 14px;
  }
  .arrow-controls button {
    min-width: 44px;
    min-height: 48px;
    padding: 12px;
  }
  .selection-controls {
    gap: 10px;
  }
  .browse-work {
    min-height: 48px;
  }
  .clients button {
    min-height: 48px;
  }
  .thumb-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 85;
    border-top: 1px solid var(--line);
    background: #fffffff5;
    backdrop-filter: blur(14px);
    padding: 7px max(12px, env(safe-area-inset-right, 0px))
      calc(7px + env(safe-area-inset-bottom, 0px))
      max(12px, env(safe-area-inset-left, 0px));
    gap: 5px;
  }
  .thumb-nav > a,
  .thumb-nav > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 54px;
    min-width: 0;
    border-radius: 7px;
    font-size: 10px;
    padding: 6px;
    color: #686b61;
  }
  .thumb-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
  }
  .thumb-nav [aria-current="page"] {
    color: var(--accent);
    background: #e8edfc;
  }
  .thumb-nav .contact-open {
    color: var(--ink);
  }
  .keyboard-open .thumb-nav {
    display: none;
  }
  .review-bar {
    justify-content: space-between;
    gap: 10px;
    padding: 0 18px;
  }
  .review-bar > a {
    display: none;
  }
  .review-bar > span {
    font-size: 7px;
  }
  .review-bar button {
    min-height: 48px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-heading {
    grid-column: 1;
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 22px;
  }
  .bio-portrait {
    width: 96px;
    aspect-ratio: 4/5;
    margin: 0;
  }
  .about h2 {
    font-size: 31px;
    margin: 0;
  }
  .about-copy {
    grid-column: 1;
    grid-row: auto;
  }
  .about-copy p {
    font-size: 14px;
    line-height: 1.8;
  }
  .about .tools-card {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 22px;
  }
  .about .tools-title {
    grid-column: 1;
    font-size: 24px;
  }
  .about .tools-description {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    font-size: 11px;
  }
  .about .tools-link {
    grid-column: 2;
  }
  .bio-actions {
    gap: 25px;
  }
  .bio-actions > * {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .footer {
    padding-bottom: 25px;
  }
  .footer button,
  .footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer > span {
    align-self: center;
  }
  .dialog-bottom {
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: -18px;
    background: inherit;
    margin: 20px -18px -18px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ffffff30;
    z-index: 5;
  }
  .dialog-bottom button {
    min-height: 48px;
    width: 100%;
    font-size: 12px;
    border: 1px solid #ffffff40;
  }
  .catalog .dialog-bottom {
    bottom: -20px;
    margin: 20px -16px -20px;
    border-color: var(--line);
    padding-left: 16px;
    padding-right: 16px;
  }
  .catalog .dialog-bottom button {
    border-color: var(--line);
  }
  .contact-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    max-height: calc(var(--visual-height, 100dvh) - 12px);
    padding: 23px 20px 20px;
    border-radius: 18px 18px 0 0;
  }
  .contact-dialog .dialog-top h2 {
    font-size: 35px;
    letter-spacing: -1.2px;
  }
  .contact-dialog .dialog-top p {
    font-size: 11px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form label {
    margin-bottom: 17px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 13px;
  }
  .contact-form textarea {
    min-height: 135px;
  }
  .contact-submit-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }
  .send-message {
    width: 100%;
    min-height: 52px;
  }
  .form-status:empty {
    display: none;
  }
  .contact-dialog .dialog-bottom {
    margin: 20px -20px -20px;
    bottom: -20px;
    border-color: var(--line);
  }
  .contact-dialog .dialog-bottom button {
    border-color: var(--line);
  }
  .form-status {
    font-size: 12px;
  }
  .catalog,
  .viewer {
    max-height: calc(var(--visual-height, 100dvh) - 16px);
  }
  .about-intro {
    display: flex;
    flex-direction: column;
    padding: 30px 0 38px;
    gap: 28px;
  }
  .about-intro-copy {
    display: contents;
  }
  .about-intro-copy > .small {
    order: 0;
  }
  .about-intro h1 {
    order: 1;
    font-size: 52px;
    letter-spacing: -2.5px;
    margin: -9px 0 0;
  }
  .about-cover {
    order: 2;
    max-width: 100%;
    width: 100%;
    align-self: center;
  }
  .about-cover img {
    aspect-ratio: 4/4.4;
    object-position: center 43%;
  }
  .about-intro p {
    order: 3;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
  }
  .about-intro .bio-contact {
    order: 4;
    align-self: flex-start;
    margin: 0;
    min-height: 50px;
  }
  .photo-section {
    padding: 26px 0 30px;
  }
  .photo-section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .photo-section h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .photo-filters {
    gap: 7px;
  }
  .photo-filters button {
    font-size: 10px;
    padding: 0 14px;
    min-height: 44px;
  }
  .photo-roll {
    gap: 12px;
    scroll-padding-left: 0;
  }
  .personal-thumb {
    width: clamp(185px, calc(280px * var(--photo-ratio)), 330px);
  }
  .personal-thumb img {
    height: 280px;
  }
  .personal-thumb span {
    font-size: 9px;
  }
  .roll-status {
    font-size: 8px;
    max-width: 200px;
  }
  .roll-controls {
    margin-top: 12px;
  }
  .roll-controls button {
    min-width: 48px;
    min-height: 48px;
  }
  .personal-viewer {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    border: 0;
  }
  .personal-controls {
    gap: 12px;
  }
  .personal-controls button {
    min-height: 52px;
    min-width: 48px;
  }
  .personal-controls .personal-close {
    margin-left: auto;
  }
  .personal-position {
    font-size: 10px;
  }
}

@media (max-width: 700px) {
  /* Keep focused controls readable without iOS input zoom. */
  .contact-dialog input, .contact-dialog textarea,
  .catalog input, .catalog select { font-size: 16px; }
  .footer { flex-wrap: wrap; gap: 6px 18px; }
  .footer > a, .footer > button { min-height: 44px; display: inline-flex; align-items: center; }
}
