@charset "UTF-8";
@import "normalize.css";
body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-bg: #FFF;
  --color-text-primary: rgba(0, 0, 0, 0.8956);
  --color-text-secondary: rgba(0, 0, 0, 0.6063);
  --color-text-tertiary: rgba(0, 0, 0, 0.4458);
  --color-accent: #0070C0;
  --color-line: rgba(0, 0, 0, 0.2);
  --color-line-lighter: rgba(0, 0, 0, 0.12);
  --color-line-lightest: rgba(0, 0, 0, 0.08);
  --color-synopsis-bg: rgba(246, 246, 246, 0.5);
  --color-header-bg: rgba(255, 255, 255, 0.85);
  --spacing-section: 120px;
  --spacing-section-sm: 100px;
  --spacing-header-offset: 94px;
}

body.dark {
  --color-bg: #161514;
  --color-text-primary: #FFF;
  --color-text-secondary: rgba(255, 255, 255, 0.786);
  --color-text-tertiary: rgba(255, 255, 255, 0.5442);
  --color-accent: #3391D0;
  --color-line: rgba(255, 255, 255, 0.16);
  --color-line-lighter: rgba(255, 255, 255, 0.1);
  --color-line-lightest: rgba(255, 255, 255, 0.08);
  --color-synopsis-bg: rgba(255, 255, 255, 0.05);
  --color-header-bg: rgba(22, 21, 20, 0.85);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  color: var(--color-text-primary);
}

p,
ul,
ol {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
      transform: translate3d(4px, 0, 0);
    }
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.text-accent {
  color: var(--color-accent);
  line-height: 1;
  font-weight: 600;
}

body {
  background: var(--color-bg);
  font-family: "DM Sans", sans-serif;
  position: relative;
  font-size: 88%;
  line-height: 1;
  font-variant-ligatures: normal;
}

a,
a:visited {
  color: inherit;
}

.container {
  width: 85%;
  max-width: 1280px;
  margin: 0 auto;
}
.container.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 2000;
  margin: 0 auto;
}

.header {
  position: relative;
  height: auto;
  padding-top: 30px;
  padding-bottom: 24px;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  width: 85%;
  max-width: 1280px;
  border-bottom: 1px solid var(--color-line);
  margin: 0 auto;
  font-family: "DM Sans", sans-serif;
}

.hero {
  height: 550px;
  margin-top: var(--spacing-header-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero .text-box {
  text-align: center;
  font-size: 2.2em;
  width: 800px;
  line-height: 1.4;
  z-index: 3;
  color: var(--color-text-primary);
}
.hero .text-box .heavy {
  font-size: 1.4em;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 300;
}
.hero .text-box p {
  margin-bottom: 0px;
  font-weight: 400;
}
.hero .text-box p:first-child {
  margin-top: 0;
}
.hero .text-box p.no-italic {
  font-style: normal !important;
}

.header-bar {
  background: var(--color-header-bg);
  backdrop-filter: blur(4px);
}

span.black {
  color: #000;
}

.name {
  display: flex;
  flex-direction: row;
  margin-top: -5px;
  align-items: center;
}
.name a,
.name a:hover,
.name a:visited {
  text-decoration: none;
  color: var(--color-text-primary);
  display: block;
}
.name .naveed-ahmed {
  line-height: 22px;
  padding-right: 11px;
  font-size: 1.5em;
  font-family: "DM Sans", sans-serif;
}
.name .naveed-ahmed a:hover {
  color: var(--color-text-primary);
}
.name .naveed-ahmed .naveed {
  display: inline-block;
  font-weight: 700;
}
.name .naveed-ahmed .ahmed {
  display: inline-block;
  padding-left: 20px;
  font-weight: 400;
}
.name .page-title {
  font-size: 2.25em;
  font-style: normal;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  color: var(--color-text-secondary);
  border-left: 1px solid var(--color-line);
  padding-left: 12px;
  line-height: 1.2;
}
.name .page-title a:hover {
  color: var(--color-text-primary);
}
.name .page-title-small {
  display: none;
  font-weight: 700;
  padding-left: 12px;
  line-height: 1.2;
}

.hero-content {
  margin: 30px auto 0;
  padding-bottom: 20px;
  margin-top: 0;
  width: 1000px;
  max-width: 100%;
}
.hero-content .hero-container {
  height: 200px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}
.hero-content .hero-name {
  line-height: 0.9;
  color: var(--color-text-secondary);
  margin-left: 0;
}
.hero-content .naveed {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.hero-content .ahmed {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  padding-left: 50px;
}
.hero-content .hero-profile {
  font-size: clamp(1.3rem, 3vw, 2.25rem);
  padding-left: 16px;
}
.hero-content .hero-intro {
  margin-top: 50px;
  margin-bottom: 80px;
  padding: 30px 10px 0;
  border-top: 1px solid var(--color-line);
}
.hero-content .hero-intro p {
  font-size: 21px;
  line-height: 1.6;
}
.hero-content .hero-intro a {
  text-decoration: none;
  border-bottom: 1px dashed var(--color-text-primary);
}
.hero-content .hero-intro a:hover {
  border-bottom-color: var(--color-accent);
  border-bottom-style: solid;
  color: var(--color-accent);
}
.hero-content h2 {
  text-align: center;
  padding: 0px 0px 30px;
  font-size: clamp(1.8em, 2.5vw, 2em);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 20px;
  padding: 0 10px;
  max-width: 100%;
}
.card-grid .card {
  margin-bottom: 0;
}
.card-grid .card h2 {
  font-size: 1.4em;
}

.hamburger {
  position: absolute;
  right: 0;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  cursor: pointer;
  line-height: 1;
  display: none;
  top: 10px;
}
.hamburger svg {
  fill: var(--color-text-secondary);
  zoom: 2;
}

nav {
  margin-left: auto;
}

.top-nav {
  line-height: 1;
  display: flex;
  margin-top: 14px;
  font-family: "DM Sans", sans-serif;
}
.top-nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  gap: 10px;
}
.top-nav li {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 1.2em;
}
.top-nav li a {
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 0px 5px 28px 5px;
  border-bottom: 3px solid transparent;
  position: relative;
  z-index: 1;
}
.top-nav li a:hover, .top-nav li a.active-nav {
  text-decoration: none;
  border-color: var(--color-text-primary);
  color: #000;
}
.top-nav li a.active-nav {
  border-color: var(--color-accent);
}
.top-nav li.resume {
  border-right: 1px solid var(--color-line);
  padding-right: 15px;
  margin-right: 5px;
}
.top-nav .close-menu {
  color: rgba(255, 255, 255, 0.786);
  font-variant: small-caps;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 20px;
  padding-top: 20px;
  cursor: pointer;
  display: none;
  font-size: 0.5em;
}
.top-nav .home-link {
  display: none;
}
.top-nav.small-menu {
  background-color: #111;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  margin-top: 0;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  z-index: 4051;
}
.top-nav.small-menu ul {
  flex-direction: column;
  width: 100%;
  height: 100dvh;
}
.top-nav.small-menu li {
  font-size: 2em;
  display: block;
}
.top-nav.small-menu li a {
  padding: 5px;
  display: block;
  color: rgba(255, 255, 255, 0.786);
  padding: 20px;
}
.top-nav.small-menu li a:hover, .top-nav.small-menu li a.active-nav {
  padding: 20px;
  border-width: 0;
  border-bottom-width: 0px !important;
  color: #FFF;
}
.top-nav.small-menu li.resume {
  border-right: 0;
}

.work-gallery {
  padding: 0 10px;
  margin-top: var(--spacing-section);
  z-index: -10;
  display: flex;
  flex-direction: column;
}
.work-gallery h2.section-heading {
  margin-top: 30px;
  display: block;
  padding-bottom: 10px;
  font-size: 2em;
}

.card-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 40px;
  margin-bottom: 40px;
}
.card-grid-3col .card {
  margin-bottom: 0;
}

.divider {
  border-top: 1px solid var(--color-line);
  height: 1px;
  width: 100%;
  padding-bottom: 20px;
}

.card-link {
  text-decoration: none;
}

.photos .card-link:nth-of-type(3n) > .card {
  margin-right: 30px;
}
.photos .card-link:nth-child(even) > .card {
  margin-right: 0;
}

.accordion {
  margin-top: 30px;
}
.accordion-item {
  border-bottom: 1px solid var(--color-line-lighter);
}
.accordion-item:first-child {
  border-top: 1px solid var(--color-line-lighter);
}
.accordion-item.active {
  border-bottom: 1px solid var(--color-line-lighter) !important;
}
.accordion-header {
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.accordion-header h4 {
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 0 !important;
}
.accordion-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: -4px;
}
@media (prefers-reduced-motion: no-preference) {
  .accordion-icon {
    transition: transform 200ms;
  }
}
.accordion-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.accordion-icon.open {
  transform: rotate(90deg);
}
.accordion-content {
  padding: 10px 0 20px 32px;
}

.card {
  height: auto;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}
.card.hack--hidden-spacer {
  visibility: hidden;
  height: 10px;
  background-color: #000;
}
.card.wide-box {
  grid-column: span 2;
}
.card.wide-box img {
  aspect-ratio: 16/9;
}
.card.wide-box h3 {
  font-size: 1.3em;
}
.card.wide-box p {
  font-size: 1.2em;
}
.card .item-title {
  display: flex;
  flex-direction: row;
  margin-top: 12px;
  margin-bottom: 4px;
}
.card .status {
  height: 20px;
  border-radius: 50px;
  margin-left: 5px;
  text-align: center;
  line-height: 1;
  margin-top: -4px;
  padding: 5px 5px 2px;
  background: #FFF;
  border: 1px solid var(--color-line);
}
.card .status img {
  height: 16px;
  width: 16px;
}
.card .status img:hover {
  box-shadow: none !important;
}
.card h3 {
  font-weight: 600;
  font-size: 1.3em;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}
.card p {
  line-height: 1.4;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: var(--color-text-secondary);
}
.card a, .card a:visited {
  text-decoration: none;
}
.card a:hover {
  outline: none;
  text-decoration: underline;
}
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
  background-color: #EDEBE9;
}
.card img.thumb {
  box-shadow: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
}
.card .card-locked :hover {
  cursor: default;
}
.card:hover img.thumb {
  box-shadow: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
}
.card:hover a {
  text-decoration: underline;
}
.card:hover a.card-locked {
  text-decoration: none;
  cursor: default;
}
.card:hover .status {
  border-color: rgb(164, 38, 44);
  background: rgb(250, 187, 195);
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover .status {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
  }
}
.card:hover .status > svg {
  fill: rgb(164, 38, 44);
}

.photos .card {
  width: 615px;
}
@media (prefers-reduced-motion: no-preference) {
  .photos .card {
    transition: all 50ms ease-in-out;
  }
}
.photos .card img {
  width: 615px;
  height: 480px;
}
.photos .card:nth-child(even) {
  outline: 1px solid green;
  margin-right: 0;
}

.photo-stats {
  margin-top: 110px;
  padding: 15px 18px;
  background: var(--color-synopsis-bg);
  display: flex;
  flex-direction: row;
  gap: 50px;
  border-radius: 2.5px;
}
.photo-stats .section {
  display: flex;
  margin-bottom: 0;
  flex-direction: row;
}
.photo-stats .section .title {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  font-family: "DM Sans", sans-serif;
}
.photo-stats .section .info-part {
  flex-direction: column;
}
.photo-stats .section .info {
  font-size: 22px;
  color: var(--color-text-secondary);
}
.photo-stats .section .logo {
  background-color: rgba(255, 255, 255, 0.4);
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 2.5px;
}
.photo-stats .section .unsplash > svg {
  fill: #000;
}
.photo-stats .section .small-caps {
  font-variant: small-caps;
}
.photo-stats .section.note {
  color: var(--color-text-secondary);
  margin-left: auto;
  margin-right: 0;
  margin-top: auto;
  text-align: right;
}
.photo-stats .section.note p {
  padding: 0;
  margin: 0;
}
.photo-stats .ornament {
  opacity: 0.5;
  font-size: 21px;
}

.photo-grid {
  min-height: 200px;
  height: auto;
  margin-top: 15px;
  margin-bottom: 100px;
  z-index: 998;
}
.photo-grid .photo-grid-item {
  margin-bottom: 5px;
  width: 24.5%;
  z-index: 999;
  overflow: hidden;
  position: relative;
  font-size: 100%;
  border-radius: 2.5px;
}
.photo-grid .photo-grid-item a {
  display: block;
}
.photo-grid .photo-grid-item .img-info {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  bottom: 0;
  color: #FFF;
  z-index: 1000;
  font-size: 1.125em;
  padding: 8px;
  line-height: 1;
  display: none;
  text-anchor: middle;
  box-sizing: border-box;
  background: rgb(0, 0, 0);
  background: linear-gradient(360deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.5032387955) 45%, rgba(0, 212, 255, 0) 90%);
}
.photo-grid .photo-grid-item .img-info .hack--push-bottom {
  position: absolute;
  bottom: 10px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  padding: 5px;
  margin-right: 8px;
  width: 93%;
}
.photo-grid .photo-grid-item .img-info .overlay-text {
  display: none;
}
.photo-grid .photo-grid-item .img-info .location {
  width: 100%;
  font-size: 0.75em;
  text-transform: uppercase;
  display: block;
}
.photo-grid .photo-grid-item img {
  max-width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-grid .photo-grid-item img {
    transition: all 600ms ease-out;
  }
}
.photo-grid .photo-grid-item:hover .img-info {
  display: block;
  visibility: visible;
}
.photo-grid .photo-grid-item:hover img {
  transform: scale(1.05);
  filter: none;
}

.project-detail {
  margin-top: var(--spacing-section-sm);
  padding-top: 20px;
  min-height: 500px;
}
.project-detail h2 {
  text-align: center;
  color: #000;
  font-size: 3.25em;
  margin: 40px;
  color: var(--color-text-primary);
}
.project-detail h3 {
  text-align: center;
  margin: 0;
  margin-bottom: 50px;
  font-size: 1.313em;
  color: var(--color-text-secondary);
}
.project-detail .item {
  text-align: center;
}
.project-detail .item figure {
  padding-bottom: 50px;
  margin: 0;
}
.project-detail .item img {
  max-width: 90%;
}
.project-detail .item img.width50 {
  max-width: 60%;
}
.project-detail .item figcaption {
  color: var(--color-text-secondary);
  margin-top: 20px;
}

.portfolio-item {
  margin: 100px auto 0;
  padding-top: 20px;
  padding-bottom: 50px;
  width: 800px;
  min-height: 500px;
  height: auto;
}
.portfolio-item h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(2.5em, 4vw, 3.25em);
  margin: 28px 0 8px;
  line-height: 1.2;
}
.portfolio-item h2 {
  margin: 0;
  margin-bottom: 32px;
  font-size: 1.45em;
  font-weight: normal;
  line-height: 1.4;
}
.portfolio-item h3 {
  margin-top: 50px;
  margin-bottom: 0px;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  padding-left: 10px;
  line-height: 1.3;
  font-weight: 600;
}
.portfolio-item h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  background: var(--color-accent);
  height: 28px;
  margin-right: 12px;
  margin-left: -28px;
  border-radius: 10px;
}
.portfolio-item h4 {
  font-size: 1.3em;
  margin-top: 40px;
  margin-bottom: -8px;
  line-height: 1.4;
  font-weight: 600;
}
.portfolio-item p {
  line-height: 1.6;
  font-size: 1.3em;
}
.portfolio-item p.bolt {
  padding-bottom: 0;
}
.portfolio-item p.bolt::before {
  content: "❧ ";
  color: var(--color-text-primary);
  font-size: 1.7em;
}
.portfolio-item a {
  text-decoration: none;
  border-bottom: 1px dashed var(--color-text-primary);
}
.portfolio-item a:hover {
  border-bottom-color: var(--color-accent);
  border-bottom-style: solid;
  color: var(--color-accent);
}
.portfolio-item figure {
  padding: 0;
  margin: 0 auto;
  font-size: 1em;
  margin-bottom: 30px;
  border-radius: 5px;
}
.portfolio-item video {
  border-radius: 5px;
  max-width: 100%;
  border: 1px solid var(--color-line-lighter);
  margin-top: 30px;
}
.portfolio-item .hack--spacer {
  height: 30px;
}
.portfolio-item figcaption {
  border-bottom: 1px solid var(--color-line-lighter);
  padding: 14px 0;
  color: var(--color-text-primary);
  font-size: 1em;
  display: inline-block;
  line-height: 1.4;
  margin-top: 5px;
  text-align: center;
  width: 100%;
  font-weight: 400;
}
.portfolio-item figure img {
  width: 100%;
  display: block;
  max-width: 100%;
  border-radius: 5px;
  border: 1px solid var(--color-line-lighter);
}
.portfolio-item figure img.small {
  width: 60%;
  margin: 0 auto;
}
.portfolio-item figure.media-frame img {
  box-sizing: border-box;
  border-radius: 5px;
}
.portfolio-item blockquote {
  padding: 0;
  margin: 40px 0;
  border-left: 3px solid var(--color-line);
  padding-left: 16px;
  font-style: italic;
}
.portfolio-item .figcaption {
  border-bottom: 1px solid var(--color-line-lighter);
  padding: 14px 0;
  color: var(--color-text-primary);
  font-size: 1em;
  display: inline-block;
  line-height: 1.4;
  margin-top: 5px;
  text-align: center;
  width: 100%;
  font-weight: 400;
}
.portfolio-item ul,
.portfolio-item ol {
  list-style: square;
  line-height: 1.8;
  font-size: 1.3em;
  margin-bottom: 50px;
}
.portfolio-item ol {
  list-style: decimal-leading-zero;
}
.portfolio-item .synopsis {
  min-height: 50px;
  height: auto;
  padding: 20px;
  padding-left: 20px;
  padding-bottom: 0;
  border-radius: 5px;
  margin: 30px 0;
  background: var(--color-synopsis-bg);
  border: 1px solid var(--color-line-lighter);
  box-sizing: border-box;
}
.portfolio-item .synopsis.resume-box {
  background: rgba(246, 246, 246, 0.35) url(../img/material_doc_icon.png) no-repeat 20px center;
  padding: 20px;
  padding-top: 0px;
  padding-left: 60px;
  background-size: 28px 28px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}
.portfolio-item .synopsis.resume-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-right: 30px;
  font-size: 1.1em;
}
.portfolio-item .synopsis.resume-box p {
  margin: 0;
  font-size: 1.1em;
}
.portfolio-item .synopsis h3 {
  border-bottom: 1px solid var(--color-line-lighter);
  margin-bottom: 8px;
  padding-top: 0;
  margin-top: 0;
  font-size: 1.3em;
  padding-left: 5px;
}
.portfolio-item .synopsis h3::before {
  content: "";
  display: none;
  width: 0;
  background: none;
  height: 0;
  margin-right: 0px;
  margin-left: -6px;
  border-radius: 10px;
}
.portfolio-item .synopsis p {
  margin: 0;
  font-size: 1.25em;
}
.portfolio-item .synopsis ul {
  list-style: square;
  font-size: 1.2em;
  margin-bottom: 30px;
  padding-left: 24px;
}
.portfolio-item .synopsis ul li {
  padding-left: 4px;
}
.portfolio-item .synopsis.more-projects-neue {
  padding: 30px 40px 10px 40px;
  background: rgba(236, 228, 222, 0.2);
  border: 1px solid var(--color-line-lighter);
  font-size: 1.1em;
}
.portfolio-item .synopsis.more-projects-neue ul {
  line-height: 2.4;
}
.portfolio-item .synopsis.more-projects-neue h3 {
  padding-bottom: 24px;
}
.portfolio-item iframe {
  max-width: 100%;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 5px;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profile-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.profile-section .thumbnail {
  width: 70px;
  height: 70px;
  background: #FFF;
  border-radius: 5px;
  border: 1px solid var(--color-line-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-section .thumbnail img {
  width: 70px;
  border-radius: 5px;
}
.profile-section .details {
  line-height: 1.1;
}
.profile-section .details .main {
  margin-bottom: 5px;
}
.profile-section .details .subtle {
  color: var(--color-text-secondary);
  font-size: 1.2em;
}
.profile-section p {
  padding: 0;
  margin: 0;
  display: block;
}

.text-strong {
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}

.text-muted {
  color: var(--color-text-tertiary);
}

.footer {
  color: var(--color-text-secondary);
  height: auto;
  padding: 20px 0 50px;
  text-align: center;
  border-top: 1px solid var(--color-line);
}
.footer .fleuron {
  font-size: 1.875em;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.footer.footer-index {
  margin-top: 50px;
}
.footer p {
  font-size: 1.1em;
}
.footer .copyright {
  display: inline-block;
}

body.dark .name a {
  color: var(--color-text-secondary);
}
body.dark .name .naveed-ahmed a:hover {
  color: var(--color-text-secondary);
}
body.dark .name .page-title a:hover {
  color: var(--color-text-secondary);
}
body.dark .name .page-title-small {
  border-left: 1px solid #FFF;
}
body.dark .top-nav li a {
  color: var(--color-text-secondary);
}
body.dark .top-nav li a:hover {
  border-color: var(--color-text-secondary);
  color: #FFF;
}
body.dark .top-nav li a.active-nav {
  color: #FFF;
}
body.dark .photo-stats .section .title {
  color: var(--color-text-tertiary);
}
body.dark .photo-stats .section .logo {
  background-color: rgba(0, 0, 0, 0.4);
}
body.dark .photo-stats .section .unsplash > svg {
  fill: #FFF;
}
body.dark .photo-stats .section.note {
  color: var(--color-text-tertiary);
}
body.dark .card .thumb {
  background: #000;
}

.article-data h2 {
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 0;
  margin-top: 50px;
  padding-bottom: 20px;
  font-size: 1.5em;
}

.article-snippet {
  border-bottom: 1px solid var(--color-line-lighter);
  padding-bottom: 24px;
  padding-top: 27px;
  padding-left: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.article-snippet:last-child {
  border-bottom: 0;
}
.article-snippet .article-preview {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  border-radius: 2.5px;
  border: 1px solid var(--color-line-lighter);
}
.article-snippet .article-preview img {
  width: 80px;
  border-radius: 2.5px;
}
.article-snippet .article-preview a {
  text-decoration: none;
  border: 0;
  display: block;
}
.article-snippet .article-writeup {
  padding-top: 0px;
}
.article-snippet .article-writeup .topics {
  color: var(--color-text-secondary);
  font-size: 1.2em;
  line-height: 1.8;
}
.article-snippet .article-writeup .topics ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85em;
  display: block;
  margin-top: 10px;
}
.article-snippet .article-writeup .topics ul li {
  margin-right: 4px;
  margin-bottom: 8px;
  display: inline-block;
  background: var(--color-line-lightest);
  color: var(--color-text-primary);
  padding: 0 15px;
  border-radius: 20px;
}
.article-snippet .article-writeup .topics ul li.design-talk {
  background: #E6E0F0;
  color: #7252AA;
}
.article-snippet .article-writeup h3 {
  margin: 0 0 5px;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.3;
  padding-left: 0;
}
.article-snippet .article-writeup h3 a {
  text-decoration: none;
  border: 0;
}
.article-snippet .article-writeup h3 a:after {
  content: " " url(../img/open_in_new.svg);
}
.article-snippet .article-writeup h3::before {
  display: none;
}
.article-snippet .article-writeup p {
  margin-top: 0px;
  line-height: 1.4;
}
.article-snippet .article-writeup p a {
  text-decoration: inherit;
}
.article-snippet .article-writeup .read-more {
  font-size: 1.1em;
}
.article-snippet.book {
  background-color: #FFF;
  padding-right: 20px;
  align-items: flex-start;
  border-bottom: 0;
  background: rgba(246, 246, 246, 0.35);
  border: 1px solid var(--color-line-lighter);
  box-sizing: border-box;
  border-radius: 5px;
  margin-top: 30px;
}
.article-snippet.book .article-preview {
  width: 150px;
  height: 150px;
  border: 0;
}
.article-snippet.book .article-preview img {
  width: 150px;
  border-radius: 2.5px;
}
.article-snippet.book .article-writeup h3 {
  font-weight: 600;
}
.article-snippet.book .article-writeup h3 a:after {
  content: " ";
}
.article-snippet.book .link {
  margin-bottom: 0;
}

body.compensate-for-scrollbar {
  overflow: hidden;
}

.fancybox-active {
  height: auto;
}

.fancybox-is-hidden {
  left: -9999px;
  margin: 0;
  position: absolute !important;
  top: -9999px;
  visibility: hidden;
}

.fancybox-container {
  -webkit-backface-visibility: hidden;
  height: 100%;
  left: 0;
  outline: none;
  position: fixed;
  -webkit-tap-highlight-color: transparent;
  top: 0;
  touch-action: manipulation;
  transform: translateZ(0);
  width: 100%;
  z-index: 99992;
}

.fancybox-container * {
  box-sizing: border-box;
}

.fancybox-bg,
.fancybox-inner,
.fancybox-outer,
.fancybox-stage {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.fancybox-outer {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

.fancybox-bg {
  background: #010101;
  opacity: 0;
  transition-duration: inherit;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.47, 0, 0.74, 0.71);
}

.fancybox-is-open .fancybox-bg {
  opacity: 0.99;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fancybox-caption,
.fancybox-infobar,
.fancybox-navigation .fancybox-button,
.fancybox-toolbar {
  direction: ltr;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease, visibility 0s ease 0.25s;
  visibility: hidden;
  z-index: 99997;
}

.fancybox-show-caption .fancybox-caption,
.fancybox-show-infobar .fancybox-infobar,
.fancybox-show-nav .fancybox-navigation .fancybox-button,
.fancybox-show-toolbar .fancybox-toolbar {
  opacity: 1;
  transition: opacity 0.25s ease 0s, visibility 0s ease 0s;
  visibility: visible;
}

.fancybox-infobar {
  color: #ccc;
  font-size: 13px;
  -webkit-font-smoothing: subpixel-antialiased;
  height: 44px;
  left: 0;
  line-height: 44px;
  min-width: 44px;
  mix-blend-mode: difference;
  padding: 0 10px;
  pointer-events: none;
  top: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.fancybox-toolbar {
  right: 0;
  top: 0;
}

.fancybox-stage {
  direction: ltr;
  overflow: visible;
  transform: translateZ(0);
  z-index: 99994;
}

.fancybox-is-open .fancybox-stage {
  overflow: hidden;
}

.fancybox-slide {
  -webkit-backface-visibility: hidden;
  display: none;
  height: 100%;
  left: 0;
  outline: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 44px;
  position: absolute;
  text-align: center;
  top: 0;
  transition-property: transform, opacity;
  white-space: normal;
  width: 100%;
  z-index: 99994;
}

.fancybox-slide:before {
  content: "";
  display: inline-block;
  font-size: 0;
  height: 100%;
  vertical-align: middle;
  width: 0;
}

.fancybox-is-sliding .fancybox-slide,
.fancybox-slide--current,
.fancybox-slide--next,
.fancybox-slide--previous {
  display: block;
}

.fancybox-slide--image {
  overflow: hidden;
  padding: 44px 0;
}

.fancybox-slide--image:before {
  display: none;
}

.fancybox-slide--html {
  padding: 6px;
}

.fancybox-content {
  background: #fff;
  display: inline-block;
  margin: 0;
  max-width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 44px;
  position: relative;
  text-align: left;
  vertical-align: middle;
}

.fancybox-slide--image .fancybox-content {
  animation-timing-function: cubic-bezier(0.5, 0, 0.14, 1);
  -webkit-backface-visibility: hidden;
  background: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
  max-width: none;
  overflow: visible;
  padding: 0;
  position: absolute;
  top: 0;
  transform-origin: top left;
  transition-property: transform, opacity;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 99995;
}

.fancybox-can-zoomOut .fancybox-content {
  cursor: zoom-out;
}

.fancybox-can-zoomIn .fancybox-content {
  cursor: zoom-in;
}

.fancybox-can-pan .fancybox-content,
.fancybox-can-swipe .fancybox-content {
  cursor: grab;
}

.fancybox-is-grabbing .fancybox-content {
  cursor: grabbing;
}

.fancybox-container [data-selectable=true] {
  cursor: text;
}

.fancybox-image,
.fancybox-spaceball {
  background: transparent;
  border: 0;
  height: 100%;
  left: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 0;
  position: absolute;
  top: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 100%;
}

.fancybox-spaceball {
  z-index: 1;
}

.fancybox-slide--iframe .fancybox-content,
.fancybox-slide--map .fancybox-content,
.fancybox-slide--pdf .fancybox-content,
.fancybox-slide--video .fancybox-content {
  height: 100%;
  overflow: visible;
  padding: 0;
  width: 100%;
}

.fancybox-slide--video .fancybox-content {
  background: #000;
}

.fancybox-slide--map .fancybox-content {
  background: #e5e3df;
}

.fancybox-slide--iframe .fancybox-content {
  background: #fff;
}

.fancybox-iframe,
.fancybox-video {
  background: transparent;
  border: 0;
  display: block;
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.fancybox-iframe {
  left: 0;
  position: absolute;
  top: 0;
}

.fancybox-error {
  background: #fff;
  cursor: default;
  max-width: 400px;
  padding: 40px;
  width: 100%;
}

.fancybox-error p {
  color: #444;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  padding: 0;
}

.fancybox-button {
  background: rgba(30, 30, 30, 0.6);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  height: 44px;
  margin: 0;
  padding: 10px;
  position: relative;
  transition: color 0.2s;
  vertical-align: top;
  visibility: inherit;
  width: 44px;
}

.fancybox-button,
.fancybox-button:link,
.fancybox-button:visited {
  color: #ccc;
}

.fancybox-button:hover {
  color: #fff;
}

.fancybox-button:focus {
  outline: none;
}

.fancybox-button.fancybox-focus {
  outline: 1px dotted;
}

.fancybox-button[disabled],
.fancybox-button[disabled]:hover {
  color: #888;
  cursor: default;
  outline: none;
}

.fancybox-button div {
  height: 100%;
}

.fancybox-button svg {
  display: block;
  height: 100%;
  overflow: visible;
  position: relative;
  width: 100%;
}

.fancybox-button svg path {
  fill: #FFF;
  stroke-width: 0;
}

.fancybox-button--fsenter svg:nth-child(2),
.fancybox-button--fsexit svg:first-child,
.fancybox-button--pause svg:first-child,
.fancybox-button--play svg:nth-child(2) {
  display: none;
}

.fancybox-progress {
  background: #ff5268;
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: 0;
  transition-property: transform;
  transition-timing-function: linear;
  z-index: 99998;
}

.fancybox-close-small {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #ccc;
  cursor: pointer;
  opacity: 0.8;
  padding: 8px;
  position: absolute;
  right: -12px;
  top: -44px;
  z-index: 401;
}

.fancybox-close-small:hover {
  color: #fff;
  opacity: 1;
}

.fancybox-slide--html .fancybox-close-small {
  color: currentColor;
  padding: 10px;
  right: 0;
  top: 0;
}

.fancybox-slide--image.fancybox-is-scaling .fancybox-content {
  overflow: hidden;
}

.fancybox-is-scaling .fancybox-close-small,
.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {
  display: none;
}

.fancybox-navigation .fancybox-button {
  background-clip: content-box;
  height: 100px;
  opacity: 0;
  position: absolute;
  top: calc(50% - 50px);
  width: 70px;
}

.fancybox-navigation .fancybox-button div {
  padding: 7px;
}

.fancybox-navigation .fancybox-button--arrow_left {
  left: 0;
  left: env(safe-area-inset-left);
  padding: 31px 26px 31px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
  padding: 31px 6px 31px 26px;
  right: 0;
  right: env(safe-area-inset-right);
}

.fancybox-caption {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 65%, rgba(0, 0, 0, 0.075) 75.5%, rgba(0, 0, 0, 0.037) 82.85%, rgba(0, 0, 0, 0.019) 88%, transparent);
  bottom: 0;
  color: #eee;
  font-size: 14px;
  font-weight: 400;
  left: 0;
  line-height: 1.5;
  padding: 75px 44px 25px;
  pointer-events: none;
  right: 0;
  text-align: center;
  z-index: 99996;
}

@supports (padding: max(0px)) {
  .fancybox-caption {
    padding: 75px max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
  }
}
.fancybox-caption--separate {
  margin-top: -50px;
}

.fancybox-caption__body {
  max-height: 50vh;
  overflow: auto;
  pointer-events: all;
  font-size: 14px;
  background: #FFF;
  display: inline-block;
  color: #000;
  padding: 0 20px;
  text-transform: uppercase;
  border-radius: 3px;
}

.fancybox-caption a,
.fancybox-caption a:link,
.fancybox-caption a:visited {
  color: #ccc;
  text-decoration: none;
}

.fancybox-caption a:hover {
  color: #fff;
  text-decoration: underline;
}

.fancybox-loading {
  animation: a 1s linear infinite;
  background: transparent;
  border: 4px solid #888;
  border-bottom-color: #fff;
  border-radius: 50%;
  height: 50px;
  left: 50%;
  margin: -25px 0 0 -25px;
  opacity: 0.7;
  padding: 0;
  position: absolute;
  top: 50%;
  width: 50px;
  z-index: 99999;
}

@keyframes a {
  to {
    transform: rotate(1turn);
  }
}
.fancybox-animated {
  transition-timing-function: cubic-bezier(0, 0, 0.25, 1);
}

.fancybox-fx-slide.fancybox-slide--previous {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--next {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--current {
  opacity: 1;
  transform: translateZ(0);
}

.fancybox-fx-fade.fancybox-slide--next,
.fancybox-fx-fade.fancybox-slide--previous {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.fancybox-fx-fade.fancybox-slide--current {
  opacity: 1;
}

.fancybox-fx-zoom-in-out.fancybox-slide--previous {
  opacity: 0;
  transform: scale3d(1.5, 1.5, 1.5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--next {
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--current {
  opacity: 1;
  transform: scaleX(1);
}

.fancybox-fx-rotate.fancybox-slide--previous {
  opacity: 0;
  transform: rotate(-1turn);
}

.fancybox-fx-rotate.fancybox-slide--next {
  opacity: 0;
  transform: rotate(1turn);
}

.fancybox-fx-rotate.fancybox-slide--current {
  opacity: 1;
  transform: rotate(0deg);
}

.fancybox-fx-circular.fancybox-slide--previous {
  opacity: 0;
  transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--next {
  opacity: 0;
  transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--current {
  opacity: 1;
  transform: scaleX(1) translateZ(0);
}

.fancybox-fx-tube.fancybox-slide--previous {
  transform: translate3d(-100%, 0, 0) scale(0.1) skew(-10deg);
}

.fancybox-fx-tube.fancybox-slide--next {
  transform: translate3d(100%, 0, 0) scale(0.1) skew(10deg);
}

.fancybox-fx-tube.fancybox-slide--current {
  transform: translateZ(0) scale(1);
}

@media (max-height: 576px) {
  .fancybox-slide {
    padding-left: 6px;
    padding-right: 6px;
  }
  .fancybox-slide--image {
    padding: 6px 0;
  }
  .fancybox-close-small {
    right: -6px;
  }
  .fancybox-slide--image .fancybox-close-small {
    background: #4e4e4e;
    color: #f2f4f6;
    height: 36px;
    opacity: 1;
    padding: 6px;
    right: 0;
    top: 0;
    width: 36px;
  }
  .fancybox-caption {
    padding-left: 12px;
    padding-right: 12px;
  }
  @supports (padding: max(0px)) {
    .fancybox-caption {
      padding-left: max(12px, env(safe-area-inset-left));
      padding-right: max(12px, env(safe-area-inset-right));
    }
  }
}
.fancybox-share {
  background: #f4f4f4;
  border-radius: 3px;
  max-width: 90%;
  padding: 30px;
  text-align: center;
}

.fancybox-share h1 {
  color: #222;
  font-size: 35px;
  font-weight: 700;
  margin: 0 0 20px;
}

.fancybox-share p {
  margin: 0;
  padding: 0;
}

.fancybox-share__button {
  border: 0;
  border-radius: 3px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 5px 10px;
  min-width: 130px;
  padding: 0 15px;
  text-decoration: none;
  transition: all 0.2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.fancybox-share__button:link,
.fancybox-share__button:visited {
  color: #fff;
}

.fancybox-share__button:hover {
  text-decoration: none;
}

.fancybox-share__button--fb {
  background: #3b5998;
}

.fancybox-share__button--fb:hover {
  background: #344e86;
}

.fancybox-share__button--pt {
  background: #bd081d;
}

.fancybox-share__button--pt:hover {
  background: #aa0719;
}

.fancybox-share__button--tw {
  background: #1da1f2;
}

.fancybox-share__button--tw:hover {
  background: #0d95e8;
}

.fancybox-share__button svg {
  height: 25px;
  margin-right: 7px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 25px;
}

.fancybox-share__button svg path {
  fill: #fff;
}

.fancybox-share__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d7d7d7;
  border-radius: 0;
  color: #5d5b5b;
  font-size: 14px;
  margin: 10px 0 0;
  outline: none;
  padding: 10px 15px;
  width: 100%;
}

.fancybox-thumbs {
  background: #ddd;
  bottom: 0;
  display: none;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  padding: 2px 2px 4px;
  position: absolute;
  right: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 0;
  width: 212px;
  z-index: 99995;
}

.fancybox-thumbs-x {
  overflow-x: auto;
  overflow-y: hidden;
}

.fancybox-show-thumbs .fancybox-thumbs {
  display: block;
}

.fancybox-show-thumbs .fancybox-inner {
  right: 212px;
}

.fancybox-thumbs__list {
  font-size: 0;
  height: 100%;
  list-style: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  position: absolute;
  position: relative;
  white-space: nowrap;
  width: 100%;
}

.fancybox-thumbs-x .fancybox-thumbs__list {
  overflow: hidden;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar {
  width: 7px;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
}

.fancybox-thumbs__list a {
  backface-visibility: hidden;
  background-color: rgba(0, 0, 0, 0.1);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  float: left;
  height: 75px;
  margin: 2px;
  max-height: calc(100% - 8px);
  max-width: calc(50% - 4px);
  outline: none;
  overflow: hidden;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  width: 100px;
}

.fancybox-thumbs__list a:before {
  border: 6px solid #ff5268;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 99991;
}

.fancybox-thumbs__list a:focus:before {
  opacity: 0.5;
}

.fancybox-thumbs__list a.fancybox-thumbs-active:before {
  opacity: 1;
}

@media (max-width: 576px) {
  .fancybox-thumbs {
    width: 110px;
  }
  .fancybox-show-thumbs .fancybox-inner {
    right: 110px;
  }
  .fancybox-thumbs__list a {
    max-width: calc(100% - 10px);
  }
}
@media (max-width: 1024px) {
  .container {
    width: 95%;
    max-width: 95%;
  }
  .hero {
    height: 450px;
    margin-top: 78px;
  }
  .hero .glass {
    height: 450px;
  }
  .hero .text-box {
    font-size: 1.55em;
    width: 85%;
    max-width: 85%;
  }
  .header {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 95%;
    max-width: 95%;
  }
  .name {
    margin-top: 3px;
  }
  .top-nav li a {
    padding: 0px 5px 28px 5px;
  }
  .photo-stats {
    margin-top: 90px;
    padding: 10px;
    gap: 30px;
  }
  .photo-stats .section .logo {
    margin-right: 10px;
  }
  .photo-stats .section.note {
    width: 250px;
  }
  .photo-grid {
    margin-top: 15px;
  }
  .photo-grid .photo-grid-item {
    width: 32.4%;
  }
  .card-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 40px;
  }
  .card-grid {
    padding: 0;
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 40px;
  }
  .card.wide-box img {
    aspect-ratio: 16/10;
  }
  .card .work-gallery {
    margin-top: 100px;
  }
  .card .footer {
    padding: 10px 0 50px;
  }
}
@media (max-width: 801px) {
  .name {
    margin-top: 3px;
  }
  .name .page-title,
  .name .page-title-small {
    font-size: 2.25em;
    font-style: normal;
    color: var(--color-text-secondary);
    margin-top: 4px;
  }
  .name .page-title a:hover,
  .name .page-title-small a:hover {
    color: #000;
  }
  .name .page-title-small {
    display: block;
  }
  .name .responsive-title {
    display: none;
  }
  .portfolio-item {
    margin-top: 70px;
    width: 97%;
    min-height: 500px;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .portfolio-item h3::before {
    margin-right: 6px;
    margin-left: -22px;
  }
  .portfolio-item p {
    line-height: 1.5;
    font-size: 1.27em;
  }
  .portfolio-item .synopsis.more-projects-neue {
    padding: 30px 30px 10px 30px;
  }
  .hero-content {
    width: 97%;
    align-items: center;
    padding-top: 10px;
  }
  .hero-content .hero-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding-bottom: 20px;
  }
  .hero-content .hero-name {
    margin-left: -16px;
  }
  .hero-content .hero-profile {
    font-weight: 300;
    padding-left: 0px;
    margin-top: 20px;
  }
  .hero-content .hero-intro {
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 20px 10px 0;
  }
  .hero-content .hero-intro p {
    font-weight: 400;
    line-height: 1.4;
  }
  .hero-content h2 {
    padding-top: 0;
    padding-bottom: 10px;
  }
  .photo-stats {
    margin-top: 90px;
    padding: 10px;
    gap: 30px;
  }
  .photo-stats .section {
    flex-basis: 100%;
  }
  .photo-stats .section .logo {
    margin-right: 10px;
  }
  .photo-stats .section .info {
    font-size: 20px;
  }
  .card-grid {
    padding: 0;
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 40px;
  }
  .header {
    padding-bottom: 12px;
  }
  .footer {
    padding: 10px 0 30px;
  }
  .work-gallery {
    padding: 0;
  }
  .work-gallery h2.section-heading {
    margin-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 20px;
    font-size: 1.8em;
  }
  .divider {
    margin-top: -20px;
    border-width: 3px;
  }
  .profile-section {
    align-items: flex-start;
    gap: 12px;
  }
  .profile-section .thumbnail {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .profile-section .thumbnail img {
    width: 48px !important;
    height: 48px !important;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 0;
  }
  .profile-section .thumbnail img[src*="asterisk.svg"] {
    width: 20px !important;
    height: 20px !important;
  }
  .profile-section .details {
    padding-top: 4px;
  }
}
@media (max-width: 601px) {
  .header {
    width: 95%;
    max-width: 95%;
  }
  .top-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .name {
    display: flex;
    flex-direction: row;
    margin-top: 0px;
  }
  .name .page-title,
  .name .page-title-small {
    font-size: 2.25em;
    font-style: normal;
    color: var(--color-text-secondary);
    margin-top: 4px;
  }
  .name .page-title a:hover,
  .name .page-title-small a:hover {
    color: #000;
  }
  .photo-stats {
    flex-direction: column;
  }
  .photo-stats .section {
    margin-bottom: 10px;
    margin-right: 0 !important;
  }
  .photo-stats .section .logo {
    margin-right: 10px;
  }
  .photo-stats .section .title {
    font-size: 16px;
  }
  .photo-stats .section .info {
    font-size: 20px;
  }
  .photo-stats .section.note {
    text-align: left;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 0;
    width: auto !important;
  }
  .photo-grid .photo-grid-item {
    width: 49% !important;
  }
  .photo-grid .photo-grid-item .img-info {
    font-size: 0.9em;
  }
  .card-grid-3col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card {
    padding-bottom: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #d2d0ce;
  }
  .card:last-child {
    border-bottom-width: 0px;
  }
  .card.hack--no-border {
    border-bottom-width: 0px;
  }
  .card.hack--hidden-spacer {
    display: none;
  }
  .card.wide-box {
    grid-column: span 1;
  }
  .card.wide-box img {
    aspect-ratio: 16/10;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card-grid .card {
    width: 100%;
  }
  .card-grid .card h2 {
    padding-bottom: 5px;
  }
  .article-snippet {
    padding-left: 0;
  }
  .article-snippet.book {
    padding: 15px 12px;
  }
  .article-snippet .article-preview {
    width: 80px;
    height: 80px;
    margin-right: 10px;
  }
  .article-snippet .article-preview img {
    width: 80px;
    border-radius: 2px;
  }
  .article-snippet .article-writeup h3 {
    margin: 5px 0 5px;
  }
  .article-snippet .article-writeup p {
    line-height: 1.3;
  }
  .footer {
    padding: 10px 0 20px;
  }
}