:root {
  --bg: #f2f1ed;
  --paper: #f8f7f3;
  --ink: #11110f;
  --muted: #6d6b64;
  --line: #d2d0c8;
  --accent: #11110f;
  --max: 1600px;
}


/* ========================================
   GLOBAL
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--ink);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

body.lightbox-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
}

button {
  font: inherit;
}

::selection {
  background: #111;
  color: #fff;
}


/* ========================================
   HEADER
======================================== */

.site-header {
  position: fixed;

  z-index: 100;

  top: 0;
  left: 0;
  right: 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  height: 66px;

  padding: 0 28px;

  background: rgba(242, 241, 237, 0.94);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.header-center {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  justify-content: flex-end;

  gap: 24px;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 1px;

  background: var(--ink);

  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  padding: 8px 0;

  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;
}


/* ========================================
   MAIN
======================================== */

main {
  padding-top: 66px;
}

.page-shell {
  width: 100%;
  max-width: var(--max);

  margin: 0 auto;

  padding: 0 28px;
}


/* ========================================
   HOMEPAGE HERO
======================================== */

.hero {
  min-height: calc(82vh - 66px);

  display: flex;
  flex-direction: column;

  gap: 40px;

  padding: 26px 0 40px;
}

.hero-top {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;

  gap: 24px;

  align-items: start;
}

.hero-title {
  margin: 0;

  max-width: 1200px;

  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.06em;

  font-weight: 500;
}

.hero-title .light {
  font-weight: 300;
}

.hero-meta {
  display: flex;
  justify-content: flex-end;

  text-align: right;

  color: var(--muted);

  font-size: 12px;
}

.hero-image {
  position: relative;

  flex: 1;

  min-height: 260px;
  max-height: 480px;

  overflow: hidden;

  background: #dedcd4;
}

.hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center bottom;

  transition: transform 0.7s ease;
}

.hero-image:hover img {
  transform: scale(1.015);
}


/* ========================================
   IMAGE PLACEHOLDERS
======================================== */

.image-slot {
  position: relative;

  background:
    linear-gradient(
      135deg,
      #dbd9d1 25%,
      #e9e7e0 25%,
      #e9e7e0 50%,
      #dbd9d1 50%,
      #dbd9d1 75%,
      #e9e7e0 75%
    );

  background-size: 24px 24px;

  overflow: hidden;
}

.image-slot::after {
  content: attr(data-label);

  position: absolute;

  z-index: 5;

  left: 12px;
  bottom: 12px;

  width: max-content;
  max-width: calc(100% - 24px);

  padding: 6px 8px;

  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #555;

  background: rgba(248, 247, 243, 0.85);
}

.image-slot.has-image::after {
  display: none;
}


/*
   Once a photo has actually loaded, swap
   the diagonal placeholder pattern for a
   solid neutral color. This prevents the
   stripes from showing through any source
   image that has unintended transparency
   baked into it.
*/

.image-slot.has-image {
  background: var(--paper);
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
  padding: 80px 0;

  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 120px 1fr auto;

  gap: 24px;

  align-items: baseline;

  margin-bottom: 42px;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--muted);
}

.section-title {
  margin: 0;

  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.045em;

  font-weight: 500;
}

.section-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  border-bottom: 1px solid var(--ink);

  padding-bottom: 4px;
}


/* ========================================
   HOMEPAGE PROJECT LIST
======================================== */

.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;

  grid-template-columns:
    64px
    minmax(0, 1.3fr)
    0.7fr
    60px;

  align-items: center;

  gap: 20px;

  min-height: 92px;

  border-bottom: 1px solid var(--line);

  transition:
    background 0.2s ease,
    padding 0.2s ease;
}

.project-row:hover {
  background: var(--paper);

  padding: 0 12px;
}

.project-number,
.project-year,
.project-arrow {
  font-size: 11px;
  color: var(--muted);
}

.project-name {
  font-size: clamp(22px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.project-year {
  text-align: right;
}

.project-arrow {
  text-align: right;
  font-size: 22px;
}


/* ========================================
   PROJECTS PAGE
   CLEAN TWO-COLUMN GRID
======================================== */

section.grid {
  display: grid !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  column-gap: 24px !important;
  row-gap: 60px !important;

  width: 100% !important;

  align-items: start !important;
}

section.grid > .card {
  grid-column: auto !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
}

section.grid > .card:nth-child(1n),
section.grid > .card:nth-child(2n),
section.grid > .card:nth-child(3n),
section.grid > .card:nth-child(4n),
section.grid > .card:nth-child(5n),
section.grid > .card:nth-child(6n),
section.grid > .card:nth-child(7n) {
  grid-column: auto !important;
  width: 100% !important;
}

section.grid .card-image {
  position: relative;

  width: 100% !important;

  aspect-ratio: 4 / 3;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  overflow: hidden;
}

section.grid .card-image img {
  width: 100% !important;
  height: 100% !important;

  object-fit: cover;
  object-position: center;
}

section.grid .card-copy {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 16px;

  width: 100%;

  margin-top: 12px;
}

section.grid .card-title {
  font-size: 19px;
  letter-spacing: -0.02em;
}

section.grid .card-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--muted);

  text-align: right;
}


/* ========================================
   PAGE INTRO
======================================== */

.page-intro {
  padding: 50px 0 84px;
}

.page-intro h1 {
  margin: 0;

  font-size: clamp(40px, 7vw, 100px);
  line-height: 0.86;
  letter-spacing: -0.06em;

  font-weight: 500;
}

.page-intro .intro-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 60px;

  margin-top: 40px;

  border-top: 1px solid var(--line);

  padding-top: 20px;
}

.page-intro p {
  max-width: 640px;

  margin: 0;

  color: #3e3d38;

  font-size: 16px;
}


/* ========================================
   INDIVIDUAL PROJECT
======================================== */

.project-hero {
  padding: 34px 0 20px;
}

.project-index {
  margin-bottom: 16px;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--muted);
}

.project-title {
  margin: 0;

  max-width: 1450px;

  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;

  font-weight: 500;
}

.project-info {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;

  padding: 34px 0 26px;

  border-bottom: 1px solid var(--line);
}

.info-item {
  font-size: 12px;
}

.info-label {
  display: block;

  margin-bottom: 6px;

  color: var(--muted);

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ========================================
   PROJECT MAIN IMAGE
   FIXED FRAME â€” SAME SIZE/SHAPE
   ON EVERY PROJECT PAGE
======================================== */

.project-main-image {
  width: 100%;
  max-width: 1250px;

  aspect-ratio: 16 / 9;

  margin: 24px auto 0;

  overflow: hidden;

  background: transparent;
}

.project-main-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/*
   Optional contrast/saturation boost for
   specific cover renders that look washed
   out or low-contrast in the source file.
   Add class="photo-boost" to that project's
   hero <img> tag to apply.
*/

.project-main-image img.photo-boost {
  filter:
    contrast(1.18)
    saturate(1.25)
    brightness(0.97);
}


/* ========================================
   PROJECT BODY
======================================== */

.project-body {
  display: grid;

  grid-template-columns:
    1fr 2fr;

  gap: 70px;

  padding: 60px 0;
}

.project-body h2 {
  margin: 0;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-body p {
  margin: 0;

  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}


/* ========================================
   PROJECT GALLERY
   COMPACT 4-COLUMN LAYOUT
   NO CROPPING
======================================== */

.project-gallery {
  position: relative;

  width: 100%;
  max-width: 100%;

  margin: 0 auto;

  padding: 10px 0 70px;

  opacity: 0;

  transition: opacity 0.25s ease;
}

.project-gallery.laid-out {
  opacity: 1;
}


/*
   Each tile is positioned and sized by
   js/main.js (justified gallery layout),
   which computes exact pixel widths so
   every row â€” including the last â€” fills
   the container with no leftover gap.
*/

.project-gallery .wide,
.project-gallery .half {
  position: absolute;

  top: 0;
  left: 0;

  overflow: hidden;

  background: transparent;

  cursor: zoom-in;
}


.project-gallery img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  background: transparent;

  cursor: zoom-in;
}


/*
   Remove checkerboard placeholder background.
*/

.project-gallery .image-slot {
  background: transparent;
}

.project-gallery .image-slot::after {
  display: none;
}


/* ========================================
   OTHER WORK
======================================== */

.other-item {
  display: grid;

  grid-template-columns:
    140px
    minmax(0, 1fr);

  gap: 58px;

  padding: 70px 0;

  border-top: 1px solid var(--line);

  align-items: start;
}

.other-copy {
  min-width: 0;
}

.other-copy h2 {
  margin: 0 0 18px;

  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;

  font-weight: 500;
}

.other-copy p {
  max-width: 860px;

  margin: 0 0 32px;

  color: #3f3e39;

  font-size: 16px;
  line-height: 1.5;
}


/* ========================================
   OTHER WORK FIXED GALLERY FRAME
======================================== */

.other-work-gallery-frame {
  width: 100%;

  height: 58vh;

  min-height: 430px;
  max-height: 700px;

  overflow: hidden;

  padding: 10px;

  background: #111;
}


/* ========================================
   OTHER WORK IMAGE GRID
======================================== */

.other-work-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  grid-template-rows:
    repeat(3, minmax(0, 1fr));

  grid-auto-flow: dense;

  gap: 10px;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.other-work-grid-item {
  position: relative;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 7px;

  overflow: hidden;

  background: #222;

  cursor: zoom-in;
}

.other-work-grid-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.other-work-grid-item:hover img {
  transform: scale(1.025);
  filter: brightness(0.78);
}


/* Gallery variation */

.other-work-grid-item:nth-child(1) {
  grid-row: span 2;
}

.other-work-grid-item:nth-child(4) {
  grid-column: span 2;
}

.other-work-grid-item:nth-child(7) {
  grid-row: span 2;
}

.other-work-grid-item:nth-child(10) {
  grid-column: span 2;
}


/* ========================================
   FULLSCREEN LIGHTBOX
======================================== */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  background: rgba(0, 0, 0, 0.97);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


/* ========================================
   LIGHTBOX BACKGROUND
======================================== */

.lightbox-backdrop-grid {
  position: absolute;

  inset: 0;

  z-index: 0;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 15px;

  padding: 80px 35px 35px;

  overflow: hidden;

  opacity: 0.16;

  pointer-events: none;
}

.lightbox-backdrop-grid img {
  width: 100%;
  height: 220px;

  object-fit: cover;

  border-radius: 7px;

  filter: brightness(0.45);
}

.lightbox::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background: rgba(0, 0, 0, 0.38);

  pointer-events: none;
}


/* ========================================
   LIGHTBOX MAIN IMAGE
======================================== */

.lightbox-content {
  position: relative;

  z-index: 3;

  width: 86vw;
  height: 88vh;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.lightbox-content img {
  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  box-shadow:
    0 25px 100px rgba(0, 0, 0, 0.7);
}


/* ========================================
   LIGHTBOX TITLE
======================================== */

.lightbox-gallery-name {
  position: absolute;

  z-index: 20;

  top: 24px;
  left: 30px;

  color: white;

  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ========================================
   LIGHTBOX COUNTER
======================================== */

.lightbox-counter {
  position: absolute;

  z-index: 20;

  bottom: 20px;
  left: 50%;

  transform: translateX(-50%);

  color: rgba(255, 255, 255, 0.75);

  font-size: 10px;
  letter-spacing: 0.14em;
}


/* ========================================
   LIGHTBOX CLOSE
======================================== */

.lightbox-close {
  position: absolute;

  z-index: 20;

  top: 14px;
  right: 20px;

  border: 0;

  background: transparent;

  color: white;

  font-size: 42px;
  line-height: 1;

  cursor: pointer;

  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}


/* ========================================
   LIGHTBOX NAVIGATION
======================================== */

.lightbox-nav {
  position: absolute;

  z-index: 20;

  top: 50%;

  transform: translateY(-50%);

  width: 52px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background: rgba(0, 0, 0, 0.32);

  color: white;

  font-size: 30px;

  cursor: pointer;

  opacity: 0.72;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}


/* ========================================
   ABOUT
======================================== */

.about-layout {
  display: grid;

  grid-template-columns:
    0.75fr
    1.25fr;

  gap: 8vw;

  padding: 58px 0 100px;
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 25px;
}

.about-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.6;

  color: var(--muted);
}

.about-profile-photo {
  position: relative;

  width: 100%;
  max-width: 430px;

  height: 560px;

  overflow: hidden;
}

.about-profile-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.about-text {
  margin-top: 62px;
}

.about-text p {
  margin: 0 0 1.1em;

  font-size: clamp(15px, 1.3vw, 18px);

  line-height: 1.6;

  letter-spacing: -0.01em;

  color: #3e3d38;
}


/* ========================================
   RESUME
======================================== */

.resume-section {
  padding: 48px 0;

  border-top: 1px solid var(--line);
}

.resume-grid {
  display: grid;

  grid-template-columns:
    180px 1fr;

  gap: 48px;
}

.resume-block {
  margin-bottom: 34px;

  padding-bottom: 34px;

  border-bottom: 1px solid var(--line);
}

.resume-block:last-child {
  border: 0;
}

.resume-block h3 {
  margin: 0 0 18px;

  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.resume-block p,
.resume-block li {
  margin: 0 0 7px;

  font-size: 14px;
}

.resume-block ul {
  padding-left: 18px;
}

.role {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 20px;

  margin-bottom: 22px;
}

.role strong {
  font-size: 16px;
}

.role .date {
  font-size: 12px;

  color: var(--muted);

  text-align: right;
}


/* ========================================
   CONTACT
======================================== */

.contact-page {
  min-height: calc(100vh - 66px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 40px 0 28px;
}

.contact-page h1 {
  margin: 0;

  font-size: clamp(64px, 11vw, 175px);
  line-height: 0.84;
  letter-spacing: -0.075em;

  font-weight: 500;
}

.contact-links {
  margin-top: 80px;

  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;

  grid-template-columns:
    150px 1fr auto;

  gap: 20px;

  padding: 22px 0;

  border-bottom: 1px solid var(--line);

  font-size: clamp(16px, 2vw, 27px);
}

.contact-row span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  color: var(--muted);
}

.contact-row .arrow {
  font-size: 22px;
}


/* ========================================
   FOOTER
======================================== */

.footer {
  padding: 14px 0 16px;

  border-top: 1px solid var(--line);

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-inner {
  display: grid;

  grid-template-columns:
    200px
    1fr
    auto;

  align-items: center;

  gap: 24px;
}

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

.footer-right {
  text-align: right;
}


/* ========================================
   FOOTER LOGO
======================================== */

.footer-brand {
  display: flex;
  align-items: center;

  width: 190px;
  height: auto;

  overflow: visible;
}

.footer-logo {
  display: block;

  width: 190px !important;

  max-width: none !important;

  height: auto !important;

  max-height: none !important;

  object-fit: contain !important;
}


/* ========================================
   REVEAL
======================================== */

.reveal {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

  .site-header {
    grid-template-columns:
      1fr auto;

    padding: 0 18px;
  }

  .header-center {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;

    position: absolute;

    top: 66px;
    left: 0;
    right: 0;

    padding: 22px 18px;

    flex-direction: column;

    gap: 18px;

    background: var(--bg);

    border-bottom:
      1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .page-shell {
    padding: 0 18px;
  }


  /* HOME */

  .hero-top {
    grid-template-columns:
      1fr;
  }

  .hero-meta {
    justify-content:
      flex-start;

    text-align: left;
  }

  .hero-title {
    font-size: 18vw;
  }


  /* SECTIONS */

  .section {
    padding: 55px 0;
  }

  .section-head {
    grid-template-columns:
      1fr auto;
  }

  .section-head .kicker {
    grid-column:
      1 / -1;
  }


  /* HOME PROJECT LIST */

  .project-row {
    grid-template-columns:
      42px 1fr 38px;
  }

  .project-year {
    display: none;
  }


  /* PROJECTS PAGE */

  section.grid {
    grid-template-columns:
      1fr !important;

    row-gap:
      40px !important;
  }


  /* PAGE INTRO */

  .page-intro {
    padding:
      35px 0 55px;
  }

  .page-intro .intro-bottom {
    grid-template-columns:
      1fr;

    gap: 18px;
  }


  /* PROJECT */

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

  .project-body {
    grid-template-columns:
      1fr;

    gap: 20px;

    padding:
      50px 0;
  }

  .project-main-image {
    max-width: 850px;
  }


  /* PROJECT GALLERY */

  .project-gallery {
    padding-bottom: 50px;
  }


  /* OTHER WORK */

  .other-item {
    grid-template-columns:
      1fr;

    gap: 24px;

    padding:
      55px 0;
  }

  .other-work-gallery-frame {
    height: 65vw;
    min-height: 400px;
  }

  .other-work-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }


  /* LIGHTBOX */

  .lightbox-backdrop-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }


  /* ABOUT */

  .about-layout {
    grid-template-columns:
      1fr;

    gap: 40px;
  }

  .about-profile-photo {
    max-width: 100%;
    height: 600px;
  }


  /* RESUME */

  .resume-grid {
    grid-template-columns:
      1fr;

    gap: 20px;
  }


  /* CONTACT */

  .contact-row {
    grid-template-columns:
      100px
      1fr
      auto;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 560px) {

  .hero {
    min-height: auto;
  }

  .hero-image {
    flex: none;

    height: 42vh;
  }


  .section-head {
    display: block;
  }

  .section-title {
    margin:
      10px 0 18px;
  }


  /* PROJECT LIST */

  .project-row {
    grid-template-columns:
      34px
      1fr
      28px;

    min-height: 74px;
  }

  .project-name {
    font-size: 21px;
  }


  /* PROJECT CARDS */

  section.grid {
    grid-template-columns:
      1fr !important;

    gap:
      32px !important;
  }

  section.grid .card-copy {
    grid-template-columns:
      1fr;

    gap: 4px;
  }

  section.grid .card-sub {
    text-align: left;
  }


  /* INDIVIDUAL PROJECT */

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

  .project-title {
    font-size: 15vw;
  }

  .project-main-image {
    max-width: 100%;
  }


  /* PROJECT GALLERY */

  .project-gallery {
    padding:
      10px 0 40px;
  }


  /* OTHER WORK */

  .other-item {
    grid-template-columns:
      1fr;

    gap: 18px;

    padding:
      45px 0;
  }

  .other-work-gallery-frame {
    height: 90vw;

    min-height: 360px;

    padding: 6px;
  }

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

    grid-template-rows:
      repeat(
        4,
        minmax(0, 1fr)
      );

    gap: 6px;
  }

  .other-work-grid-item:nth-child(1),
  .other-work-grid-item:nth-child(4),
  .other-work-grid-item:nth-child(7),
  .other-work-grid-item:nth-child(10) {
    grid-column: auto;
    grid-row: auto;
  }


  /* LIGHTBOX */

  .lightbox-content {
    width: 94vw;
    height: 78vh;
  }

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

    gap: 8px;

    padding:
      60px
      10px
      20px;
  }

  .lightbox-backdrop-grid img {
    height: 150px;
  }

  .lightbox-gallery-name {
    top: 20px;
    left: 14px;

    max-width: 65%;
  }

  .lightbox-close {
    top: 8px;
    right: 9px;

    font-size: 36px;
  }

  .lightbox-nav {
    width: 38px;
    height: 58px;

    font-size: 24px;
  }


  /* ABOUT */

  .about-layout {
    grid-template-columns:
      1fr;

    padding:
      30px 0 70px;
  }

  .about-text {
    margin-top: 30px;
  }

  .about-profile-photo {
    width: 100%;
    max-width: 100%;

    height: 120vw;
    max-height: 600px;
  }


  /* RESUME */

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

  .role .date {
    text-align: left;
  }


  /* CONTACT */

  .contact-row {
    grid-template-columns:
      1fr auto;
  }

  .contact-row span:first-child {
    grid-column:
      1 / -1;
  }


  /* FOOTER */

  .footer {
    padding:
      12px 0 14px;
  }

  .footer-inner {
    grid-template-columns:
      1fr;

    gap: 8px;
  }

  .footer-center,
  .footer-right {
    text-align: left;
  }

  .footer-brand {
    width: 160px;
    height: auto;
  }

  .footer-logo {
    width: 160px !important;
  }

}