@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #171717;
  --paper: #f3f0e8;
  --acid: #e8ff45;
  --red: #ff553e;
  --muted: #8a887f;
  --line: rgba(23,23,23,.18);
  --mono: "DM Mono", monospace;
  --display: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
}

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

.site-shell {
  max-width: 1600px;
  margin: auto;
  overflow: hidden;
}

.section-pad {
  padding-left: clamp(22px, 6vw, 96px);
  padding-right: clamp(22px, 6vw, 96px);
}

/* LOADING SCREEN */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 6vw, 96px);
  background: #171717;
  color: #f3f0e8;
  opacity: 1;
  visibility: visible;
  transition: opacity .65s ease, visibility .65s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: 100%;
  max-width: 1100px;
}

.preloader-top,
.preloader-bottom,
.preloader-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
}

.preloader-top {
  color: #aaa69b;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff35;
}

.preloader-title {
  margin: clamp(55px, 10vh, 110px) 0;
  font-family: var(--display);
  font-size: clamp(48px, 10vw, 130px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.085em;
}

.preloader-title span {
  color: transparent;
  -webkit-text-stroke: 1.5px #f3f0e8;
}

.preloader-acid { color: #e8ff45 !important; }

.preloader-bottom {
  margin-bottom: 12px;
  color: #f3f0e8;
}

#loadingPercent {
  color: #e8ff45;
  font-size: 16px;
}

.preloader-bar {
  width: 100%;
  height: 4px;
  background: #ffffff30;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: #e8ff45;
  transition: width .25s ease;
}

.preloader-footer {
  margin-top: 12px;
  color: #8a887f;
  font-size: 9px;
}

/* HEADER */

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.08em;
}

.wordmark span {
  color: #e44d37;
  font-size: 10px;
  vertical-align: top;
  margin-left: 3px;
}

.desktop-nav {
  display: flex;
  gap: clamp(20px, 4vw, 58px);
  margin-left: 8%;
}

.desktop-nav a,
.availability,
.micro-label,
.eyebrow,
.side-index,
.side-note,
.hero-footer,
.ticker,
.visual-code,
.visual-caption,
.project-meta p,
.project-number,
.work-footnote,
.detail-label,
.footer,
.text-link,
.contact-button {
  font-family: var(--mono);
}

.desktop-nav a {
  font-size: 10px;
  letter-spacing: .08em;
}

.desktop-nav i {
  color: #a09c8f;
  font-style: normal;
  margin-left: 5px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.availability {
  font-size: 9px;
  letter-spacing: .05em;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #6f9b51;
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 0 3px #6f9b5122;
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
}

.menu-toggle { display: none; border-radius: 5px; }

/* HERO */

.hero { padding-top: clamp(44px, 7vw, 100px); }

.eyebrow {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 9px;
  letter-spacing: .12em;
  color: #6d6a61;
}

.eyebrow-line {
  width: 48px;
  height: 1px;
  background: #aaa69b;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 5vw;
  align-items: center;
  padding: 48px 0 60px;
}

.micro-label {
  font-size: 9px;
  letter-spacing: .13em;
  color: #77746a;
  margin: 0 0 22px;
}

h1, h2 {
  font-weight: 700;
  letter-spacing: -.085em;
  line-height: .86;
  margin: 0;
}

h1 { font-size: clamp(58px, 9.6vw, 145px); }
.acid { color: #c7db24; }

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.intro {
  max-width: 440px;
  margin: 32px 0 27px;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
  color: #57554e;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* EXPLORE WORK IMAGE BUTTON */

.image-action {
  display: inline-flex;
  width: 176px;
  max-width: 100%;
  transition: transform .2s ease;
}

.image-action:hover { transform: translateY(-4px) rotate(-1deg); }

.image-action img {
  width: 100%;
  height: auto;
  display: block;
}

.text-link {
  font-size: 9px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}

.text-link span { font-size: 15px; margin-left: 12px; }

/* HERO SIDE ART */

.hero-side {
  max-width: 350px;
  justify-self: end;
  width: 100%;
}

.side-index {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #77746a;
  padding-bottom: 10px;
}

.side-index strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-art {
  min-height: 330px;
  background: var(--acid);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  transform: rotate(2deg);
}

.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid #17171755;
  width: 140%;
  height: 1px;
  transform: rotate(-35deg);
}

.hero-art:after { transform: rotate(35deg); }

.art-circle {
  width: 178px;
  height: 178px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 1;
  background: var(--acid);
  text-align: center;
  font-weight: 700;
  font-size: 26px;
  line-height: .9;
  letter-spacing: -.07em;
}

.art-stamp {
  position: absolute;
  right: 20px;
  top: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  text-align: center;
  font: 8px var(--mono);
  transform: rotate(12deg);
}

.art-cross {
  position: absolute;
  font-size: 28px;
  font-weight: 400;
  z-index: 2;
}

.cross-one { left: 22px; top: 18px; }
.cross-two { right: 30px; bottom: 65px; }

.art-bottom {
  position: absolute;
  bottom: 15px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font: 8px var(--mono);
  z-index: 2;
}

.side-note {
  text-align: right;
  color: #77746a;
  font-size: 8px;
  line-height: 1.7;
  margin-top: 18px;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  font-size: 8px;
  letter-spacing: .1em;
  color: #77746a;
}

.scroll-mark { font-size: 17px; color: var(--ink); }

/* GRADIENT TICKER BAR */

.ticker {
  background-image: url("assets/ui/Gradient_Bar.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 17px 0;
  font-size: 11px;
  letter-spacing: .12em;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  min-width: max-content;
  flex-shrink: 0;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* WORK SECTION */

.work {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}

h2 { font-size: clamp(48px, 7vw, 92px); }

.section-aside {
  color: #77746a;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 5px;
}

/* SELECTED WORKS CAROUSEL */

.project-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.carousel-count {
  font: 10px var(--mono);
  letter-spacing: .1em;
  color: #77746a;
}

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.carousel-arrow:hover {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.06);
}

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible,
.carousel-thumb:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.project-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
  gap: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.project-track::-webkit-scrollbar { display: none; }

.project-track .project-card {
  display: block;
  flex: 0 0 100% !important;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
}

.project-track .project-wide { grid-column: auto; }

.project-track .project-visual,
.project-track .project-wide .project-visual {
  min-height: 430px;
  width: 100%;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #aaa69b;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.carousel-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--ink);
}

/* PROJECT IMAGES */

.project-visual {
  min-height: 330px;
  display: block;
  position: relative;
  overflow: hidden;
}

.visual-yellow { background: #e8ff45; }
.visual-red { background: #ff553e; }
.visual-cream { background: #d9d4c8; }

.visual-code,
.visual-caption {
  position: absolute;
  z-index: 2;
  font-size: 8px;
  letter-spacing: .1em;
}

.visual-code { top: 18px; left: 18px; }
.visual-caption { bottom: 17px; right: 18px; }

/* ORIGINAL PROJECT MOCKUPS */

.mock-phone {
  position: absolute;
  width: 205px;
  height: 365px;
  background: #f4f0e7;
  border: 7px solid #171717;
  border-radius: 27px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-45%) rotate(-7deg);
  padding: 17px 13px;
  box-shadow: 18px 20px 0 #17171722;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  font: 7px var(--mono);
}

.phone-title {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .95;
  margin-top: 42px;
}

.phone-title span,
.dashboard-card strong span,
.web-big span { color: #e44d37; }

.phone-chip {
  margin-top: 15px;
  display: inline-block;
  background: #e8ff45;
  padding: 7px;
  font: 7px var(--mono);
}

.phone-block {
  height: 100px;
  margin-top: 15px;
  background: linear-gradient(135deg,#d4d0c2 50%,#a5a092 50%);
}

.phone-nav {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.dashboard-card {
  position: absolute;
  background: #f3f0e8;
  width: min(78%, 340px);
  padding: 25px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) rotate(4deg);
  box-shadow: 12px 14px 0 #17171722;
}

.dash-label { font: 8px var(--mono); letter-spacing: .1em; }

.dashboard-card strong {
  display: block;
  font-size: 30px;
  letter-spacing: -.07em;
  margin-top: 28px;
}

.dash-bars {
  height: 75px;
  display: flex;
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid #aaa;
  margin: 14px 0;
}

.dash-bars i {
  display: block;
  flex: 1;
  background: #e8ff45;
  height: 35%;
}

.dash-bars i:nth-child(2) { height: 60%; }
.dash-bars i:nth-child(3) { height: 45%; }
.dash-bars i:nth-child(4) { height: 85%; }
.dash-bars i:nth-child(5) { height: 55%; }
.dash-bars i:nth-child(6) { height: 75%; }
.dash-bars i:nth-child(7) { height: 95%; }

.dash-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-stat b { font-size: 19px; }
.dash-stat small { font: 7px var(--mono); }

.web-window {
  position: absolute;
  width: min(78%, 370px);
  background: #f3f0e8;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-48%) rotate(-3deg);
  padding: 18px 23px 25px;
  box-shadow: 12px 14px 0 #17171722;
}

.window-dots { font-size: 8px; letter-spacing: 4px; }

.web-big {
  font-size: clamp(38px,5vw,66px);
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: .8;
  margin: 36px 0 18px;
}

.web-small { font: 8px var(--mono); }

.web-button {
  display: inline-block;
  margin-top: 24px;
  background: #171717;
  color: white;
  padding: 10px 13px;
  font: 8px var(--mono);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
}

.project-meta h3 {
  font-size: 14px;
  letter-spacing: -.03em;
  margin: 0 0 5px;
}

.project-meta p {
  color: #77746a;
  font-size: 8px;
  margin: 0;
}

.project-number { font-size: 9px; }
.work-footnote { font-size: 8px; color: #77746a; margin-top: 35px; }

/* PORTFOLIO WORK IMAGES */

.project-visual.project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #e7e3d9;
}

.project-visual.project-image .work-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  transition: transform .3s ease;
}

.project-visual.project-image:hover .work-image {
  transform: scale(1.02);
}

/* CAROUSEL THUMBNAILS */

.carousel-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 5px 2px;
}

.carousel-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 36px;
  padding: 2px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  opacity: .5;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}

.carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumb:hover {
  opacity: .85;
  transform: translateY(-3px);
}

.carousel-thumb.active {
  opacity: 1;
  border: 2px solid var(--ink);
}

/* MORE WORK SECTION */

.more-work-section {
  padding: 90px clamp(22px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

.more-work-inner {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.more-work-section .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.more-work-section h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin-top: 12px;
}

.more-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.more-work-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}

.more-work-item img,
.more-work-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.more-work-item:hover img,
.more-work-item:hover video {
  transform: scale(1.05);
}

.more-work-number {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 2;
  padding: 4px 7px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
}

.more-work-video { background: var(--ink); }

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  padding-left: 3px;
  z-index: 2;
  pointer-events: none;
}

/* LIGHTBOX OVERLAY */

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: rgba(23, 23, 23, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.work-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: 100%;
  max-width: 1000px;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img,
.lightbox-content video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  border: none;
  background: transparent;
  color: white;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { color: var(--acid); }

/* ABOUT SECTION */

.about {
  background: #e7e3d9;
  padding-top: 100px;
  padding-bottom: 110px;
}

.about .section-heading { align-items: start; }

.about-sticker {
  width: 75px;
  height: 75px;
  flex: 0 0 75px;
  transform: rotate(9deg);
}

.about-sticker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ABOUT SECTION WITH PORTRAIT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) 1.3fr 1fr;
  gap: clamp(28px, 5vw, 75px);
  align-items: start;
  margin-top: 55px;
}

/* ABOUT PORTRAIT */

.about-photo {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.about-lead {
  font-size: clamp(21px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -.055em;
  margin: 0;
  max-width: 700px;
}

.about-details { border-top: 1px solid var(--line); }

.about-details div {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.detail-label {
  font-size: 8px;
  color: #77746a;
  letter-spacing: .1em;
}

.about-details p {
  font-size: 13px;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* CONTACT */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding-top: 105px;
  padding-bottom: 80px;
}

.contact .micro-label { color: #aaa69b; }

.contact h2 { font-size: clamp(60px, 10vw, 140px); }

.contact .outline-text { -webkit-text-stroke-color: var(--paper); }

.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 55px;
}

.contact-bottom p {
  color: #aaa69b;
  font-size: 13px;
  line-height: 1.6;
}

/* GET IN TOUCH IMAGE BUTTON */

.contact-button.image-contact {
  display: inline-block;
  width: 260px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  line-height: 0;
  transition: transform .2s ease;
}

.contact-button.image-contact:hover { transform: translateY(-3px); }

.contact-button.image-contact img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  outline: none;
  box-shadow: none;
}

/* FOOTER */

.footer {
  background: var(--ink);
  color: #aaa69b;
  border-top: 1px solid #ffffff25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(22px, 6vw, 96px);
  font-size: 8px;
  letter-spacing: .06em;
}

.footer .wordmark {
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
}

/* MOBILE MENU */

.mobile-menu { display: none; }

/* DARK MODE */

body.dark-mode {
  --paper: #171717;
  --ink: #f3f0e8;
  --line: rgba(243,240,232,.2);
  --muted: #aaa69b;
}

body.dark-mode .intro,
body.dark-mode .section-aside,
body.dark-mode .side-note,
body.dark-mode .eyebrow,
body.dark-mode .micro-label,
body.dark-mode .hero-footer,
body.dark-mode .project-meta p,
body.dark-mode .work-footnote {
  color: #aaa69b;
}

body.dark-mode .outline-text { -webkit-text-stroke-color: var(--ink); }
body.dark-mode .about { background: #242424; }

body.dark-mode .visual-yellow,
body.dark-mode .visual-red,
body.dark-mode .visual-cream { color: #171717; }

body.dark-mode .ticker {
  background-color: #0e0e0e;
  background-image: url("assets/ui/Gradient_Bar.png");
}

body.dark-mode .contact,
body.dark-mode .footer { background: #0e0e0e; }

/* LET'S CONNECT STICKER */

.connect-link {
  display: inline-block;
  position: relative;
  z-index: 3;
  margin-left: -12px;
  margin-top: 10px;
  line-height: 0;
}

.connect-link img {
  display: block;
  width: 140px;
  height: auto;
}

/* TICKER STAR IMAGE */

.ticker-star {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 8px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 1000px) {
  .more-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar { height: 65px; }

  .desktop-nav,
  .availability { display: none; }

  .menu-toggle { display: block; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 38px;
  }

  .hero-side {
    justify-self: start;
    max-width: 420px;
    width: 88%;
    margin-left: 6%;
  }

  .hero-art { min-height: 290px; }
  .hero-footer { margin-top: 8px; }

  .work {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .section-aside { margin: 0; }

  .project-track .project-visual,
  .project-track .project-wide .project-visual {
    min-height: 280px;
  }

  .about {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }

  .about-photo {
    width: 68%;
    max-width: 220px;
  }

  .about-sticker {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .contact {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .contact-bottom {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    margin-top: 35px;
  }

  .contact-button.image-contact { width: min(528px, 100%); }

  .footer {
    flex-wrap: wrap;
    gap: 17px;
  }

  .footer span:nth-child(2) { display: none; }

  .mobile-menu {
    position: fixed;
    z-index: 20;
    inset: 65px 0 auto;
    background: var(--ink);
    color: var(--paper);
    padding: 25px 22px;
    display: none;
    flex-direction: column;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    padding: 18px 0;
    border-bottom: 1px solid #ffffff30;
    font-size: 24px;
    font-weight: 700;
  }

  .mobile-menu span {
    float: right;
    font: 10px var(--mono);
    color: var(--acid);
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .project-visual.project-image {
    min-height: 280px;
    padding: 15px;
  }

  .project-visual.project-image .work-image { max-height: 350px; }

  .more-work-section { padding: 65px 22px; }

  .more-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .more-work-section .section-heading {
    align-items: start;
  }

  .more-work-section .section-aside { display: none; }

  .work-lightbox { padding: 18px; }

  .lightbox-close {
    top: 15px;
    right: 18px;
  }
}

/* SMALL TABLETS */

@media (min-width: 761px) and (max-width: 1000px) {
  .more-work-section { padding-top: 75px; padding-bottom: 75px; }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ABOUT SECTION — CLEAN TWO-COLUMN LAYOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 70px;
  align-items: start;
}

.about-main {
  min-width: 0;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

/* PHOTO */

.about-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #dedbd2;
  aspect-ratio: auto;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* DETAILS */

.about-details {
  display: grid;
  gap: 22px;
}

.about-details > div {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.about-details p {
  margin: 9px 0 0;
  line-height: 1.65;
}

/* MOBILE */

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-sidebar {
    width: 100%;
    max-width: 480px;
  }

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

/* LANDSCAPE MEDIA TILES IN MORE WORK */

.more-work-media-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.more-work-media-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  cursor: pointer;
  text-align: left;
}

.more-work-media-item img,
.more-work-media-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.more-work-media-item:hover img,
.more-work-media-item:hover video {
  transform: scale(1.04);
}

.more-work-media-item .more-work-number {
  font-size: 8px;
}

@media (max-width: 760px) {
  .more-work-media-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.more-work-description {
  max-width: 760px;
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary, #666);
}
