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

:root {
  --background: #101113;
  --surface: #17191c;
  --surface-light: #202327;
  --white: #f0f0ed;
  --silver: #b9bec3;
  --muted: #777e85;
  --line: rgba(210, 216, 222, 0.15);
  --font-main: 'Manrope', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
}

.site-header {
  height: 88px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand span {
  color: var(--muted);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 42px;
}

.main-nav a,
.search-toggle,
.eyebrow,
.hero-index,
.explore-link,
.image-caption span,
.filter,
.site-footer,
.contact-section > a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.main-nav a {
  color: var(--silver);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.search-toggle {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.search-toggle span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
}

.search-toggle span::after {
  content: '';
  width: 6px;
  height: 1px;
  background: var(--silver);
  position: absolute;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
}

.hero {
  min-height: 690px;
  padding: 145px 12% 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(190, 198, 205, 0.06);
  right: -180px;
  top: 50px;
  box-shadow: 0 0 100px rgba(180, 190, 200, 0.035);
}

.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(190, 198, 205, 0.05);
  right: -90px;
  top: 140px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(58px, 8.7vw, 120px);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.95;
}

.hero h1 span,
.about-section h2 span {
  color: var(--silver);
  font-weight: 300;
}

.hero-description {
  max-width: 360px;
  margin-top: 32px;
  color: #92979c;
  font-size: 14px;
  line-height: 1.9;
}

.explore-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  margin-top: 45px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--silver);
}

.explore-link span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.explore-link:hover span {
  transform: translate(4px, -4px);
}

.hero-index {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  position: absolute;
  bottom: 35px;
  left: 7%;
  right: 7%;
}

.work-section {
  padding: 110px 7%;
  border-top: 1px solid var(--line);
}

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

.section-heading h2 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.07em;
  font-weight: 500;
}

.section-note {
  color: var(--muted);
  font-size: 12px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 35px;
}

.filter {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter:hover,
.filter.active {
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px 25px;
}

.gallery-item {
  min-width: 0;
}

.gallery-item:nth-child(2) {
  margin-top: 100px;
}

.image-placeholder {
  aspect-ratio: 1.35;
  background:
    linear-gradient(145deg, #292e32, #17191c 60%, #24282b);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background 0.5s ease;
}

.image-placeholder span {
  font-family: var(--font-mono);
  color: rgba(230, 235, 240, 0.35);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.gallery-item:hover .image-placeholder {
  background: linear-gradient(145deg, #353b40, #1b1e21 65%, #30353a);
}

.image-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
  gap: 15px;
}

.image-caption h3 {
  font-size: 14px;
  font-weight: 500;
}

.image-caption span {
  color: var(--muted);
  font-size: 9px;
}

.gallery-item.hidden {
  display: none;
}

.about-section {
  padding: 140px 12%;
  background: var(--surface);
}

.about-section h2,
.contact-section h2 {
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.09em;
  font-weight: 500;
}

.about-section > p:last-child {
  max-width: 460px;
  margin-top: 35px;
  color: #999fa4;
  font-size: 14px;
  line-height: 2;
}

.contact-section {
  padding: 140px 12%;
}

.contact-section > a {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--silver);
}

.site-footer {
  padding: 30px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

@media (max-width: 700px) {
  .site-header {
    height: 72px;
    padding: 0 5%;
  }

  .brand {
    font-size: 13px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 8px;
  }

  .hero {
    min-height: 620px;
    padding: 120px 7% 70px;
  }

  .hero h1 {
    font-size: clamp(53px, 12vw, 78px);
  }

  .hero::before {
    right: -420px;
  }

  .hero::after {
    right: -350px;
  }

  .work-section {
    padding: 80px 6%;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-item:nth-child(2) {
    margin-top: 0;
  }

  .about-section,
  .contact-section {
    padding: 100px 7%;
  }

  .image-caption {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    padding: 25px 6%;
    font-size: 8px;
  }
}

/* INTERACTIVE SEARCH PANEL */

.search-panel {
  position: fixed;
  top: 105px;
  right: 7%;
  width: min(420px, 86vw);
  padding: 24px;
  background: rgba(23, 25, 28, 0.97);
  border: 1px solid rgba(210, 216, 222, 0.2);
  backdrop-filter: blur(20px);
  z-index: 100;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
  animation: searchAppear 0.25s ease;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--white);
  outline: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-count {
  display: block;
  margin-top: 15px;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

@keyframes searchAppear {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CINEMATIC HERO */

.hero {
  min-height: 780px;
  height: calc(100vh - 88px);
  padding: 0 10%;
  justify-content: center;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(9, 11, 13, 0.88) 0%,
      rgba(9, 11, 13, 0.58) 48%,
      rgba(9, 11, 13, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 11, 13, 0.65),
      transparent 45%
    );
}

.hero::before,
.hero::after {
  display: none;
}

.hero h1 {
  font-size: clamp(75px, 10vw, 145px);
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
}

.hero-description {
  color: rgba(245, 245, 245, 0.78);
}

.hero-index {
  left: 10%;
  right: 10%;
}

@media (max-width: 700px) {
  .hero {
    min-height: 680px;
    height: calc(100svh - 72px);
    padding: 0 7%;
  }

  .hero-image {
  object-fit: cover;
  object-position: 10% center;
}
  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(9, 11, 13, 0.78),
        rgba(9, 11, 13, 0.25)
      ),
      linear-gradient(
        0deg,
        rgba(9, 11, 13, 0.7),
        transparent
      );
  }

  .hero-index {
    left: 7%;
    right: 7%;
  }
}

/* ART OF MOTION — PORTFOLIO GALLERY */


/* ART OF MOTION — REFINED PORTFOLIO */


/* ART OF MOTION — MASONRY PORTFOLIO */

.gallery-category {
  margin-top: 75px;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(210, 216, 222, 0.15);
}

.category-heading h3 {
  margin: 8px 0 0;
  color: #f0f0ed;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -2px;
}

.category-heading h3 span {
  color: #b9bec3;
}

.category-heading > span {
  color: #777e85;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding-bottom: 6px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 22px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 28px;
  break-inside: avoid;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.7s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: brightness(0.85);
}

.gallery-caption {
  padding: 13px 0 0;
  color: #aeb4ba;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
}

@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 550px) {
  .gallery-grid {
    column-count: 1;
  }

  .category-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ART OF MOTION — FULLSCREEN PHOTO VIEWER */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 90px;
  background: rgba(8, 9, 11, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  margin: 18px 0 0;
  color: #aeb4ba;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
}

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  color: #777e85;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(210, 216, 222, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #f0f0ed;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(210, 216, 222, 0.5);
}

.lightbox-close {
  top: 28px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 25px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 65px 18px;
  }

  .lightbox-image {
    max-height: calc(100vh - 180px);
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
  }
}

/* ART OF MOTION — ABOUT SECTION */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
  padding: 140px 10%;
  border-top: 1px solid rgba(210, 216, 222, 0.12);
}

.about-image {
  width: 100%;
  overflow: hidden;
  background: #17191c;
}

.about-image img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8);
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.025);
}

.about-content {
  max-width: 560px;
}

.about-content h2 {
  margin: 24px 0 30px;
  color: #f0f0ed;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -4px;
}

.about-content h2 span {
  color: #b9bec3;
}

.about-intro {
  max-width: 490px;
  color: #f0f0ed;
  font-size: 18px;
  line-height: 1.8;
}

.about-description {
  max-width: 470px;
  margin-top: 20px;
  color: #92989e;
  font-size: 14px;
  line-height: 1.9;
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(210, 216, 222, 0.15);
  color: #777e85;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.7px;
}

.about-signature span:first-child {
  color: #b9bec3;
}

@media (max-width: 800px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 90px 7%;
  }

  .about-image img {
    height: 480px;
  }

  .about-content h2 {
    letter-spacing: -2px;
  }
}

@media (max-width: 550px) {
  .about-image img {
    height: 360px;
  }
}

/* ART OF MOTION — CONTACT SECTION */

.contact-section {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10% 45px;
  border-top: 1px solid rgba(210, 216, 222, 0.12);
  background:
    radial-gradient(
      ellipse at 85% 45%,
      rgba(185, 190, 195, 0.07),
      transparent 55%
    ),
    #101113;
}

.contact-content {
  max-width: 850px;
}

.contact-content h2 {
  margin: 25px 0;
  color: #f0f0ed;
  font-size: clamp(65px, 9vw, 115px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -5px;
}

.contact-content h2 span {
  color: #aeb4ba;
}

.contact-description {
  max-width: 440px;
  color: #92989e;
  font-size: 15px;
  line-height: 1.9;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  margin-top: 38px;
  padding: 17px 22px;
  border: 1px solid rgba(210, 216, 222, 0.3);
  color: #f0f0ed;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #b9bec3;
}

.contact-link span {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.contact-link:hover span {
  transform: translate(3px, -3px);
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 110px;
  padding-top: 22px;
  border-top: 1px solid rgba(210, 216, 222, 0.15);
  color: #777e85;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
}

@media (max-width: 700px) {
  .contact-section {
    min-height: 560px;
    padding: 90px 7% 30px;
  }

  .contact-content h2 {
    font-size: clamp(55px, 12vw, 80px);
    letter-spacing: -3px;
  }

  .contact-footer {
    flex-direction: column;
    margin-top: 80px;
  }
}

/* ART OF MOTION — REFINED HEADER */

.brand {
  display: inline-block;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 8px;
  color: #777e85;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2px;
}

.main-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #b9bec3;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #f0f0ed;
}

.main-nav a:hover::after {
  width: 100%;
}

.search-toggle {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.search-toggle:hover {
  opacity: 0.7;
  transform: scale(1.08);
}

/* ART OF MOTION — EXPANDING SEARCH */

.search-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(210, 216, 222, 0.35);
  border-radius: 50px;
  overflow: hidden;
  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease;
}

.search-control.expanded {
  width: 290px;
  background: #17191c;
  border-color: rgba(210, 216, 222, 0.65);
}

.search-input {
  position: absolute;
  left: 20px;
  width: calc(100% - 75px);
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #f0f0ed;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.search-control.expanded .search-input {
  opacity: 1;
  transition-delay: 0.15s;
}

.search-input::placeholder {
  color: #777e85;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-control .search-toggle {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.search-control.expanded .search-toggle {
  border-radius: 50%;
}

@media (max-width: 700px) {
  .search-control.expanded {
    width: min(250px, 65vw);
  }

  .search-input {
    left: 14px;
    font-size: 9px;
  }
}
/* SEARCH — HIDE NON-MATCHING PHOTOS */

.gallery-item[hidden] {
  display: none !important;
}
.search-control .search-toggle span {
  transform: translate(4px, 2px);
}