/* src/components/Navigation.css */
.nav-container {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
}

.nav-inner {
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  align-items:  center;
  width: 100%;
  padding: 2rem 4rem;
}

.nav-links a {
  position: relative;
  opacity: .7;
  margin-right: 2rem;
  transition: opacity .3s;
  font-size: 1.3rem;
  font-weight: 400;
}

.nav-links a:hover, .nav-links a.active {
  opacity: 1;
}

.nav-socials {
  display: flex;
  align-items:  center;
  gap: 2rem;
}

.nav-socials a {
  opacity: .7;
  display: flex;
  justify-content: center;
  align-items:  center;
  transition: opacity .3s;
}

.nav-socials a:hover {
  opacity: 1;
}

/* src/components/Footer.css */
.footer-container {
  color: #ccc;
  text-align: center;
  width: 100%;
  padding: 10rem 0;
  background-color: #1f1f1f !important;
}

.footer-content {
  letter-spacing: .05em;
  font-size: .9rem;
}

/* src/components/Layout.css */
.layout-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  width: 100%;
  padding-top: 100px;
  padding-bottom: min(33vh, 400px);
}

.back-to-top-fixed {
  position: fixed;
  display: flex;
  z-index: 99;
  cursor: pointer;
  z-index: 99;
  cursor: pointer;
  flex-direction: column;
  align-items:  center;
  gap: 15px;
  bottom: 3rem;
  right: 3rem;
}

.btt-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 30px;
}

.arrow-icon {
  position: absolute;
  object-fit: contain;
  width: 160%;
  height: auto;
  transition: opacity .3s ease-out, transform .3s ease-out;
  bottom: -1.2rem;
  right: -.3rem;
}

.line-state {
  opacity: 1;
  transform: scaleX(1);
}

.arrow-state {
  opacity: 0;
  transform: scale(.8);
}

.back-to-top-fixed:hover .line-state {
  opacity: 0;
}

.back-to-top-fixed:hover .arrow-state {
  opacity: 1;
  transform: scale(1);
}

.btt-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .05em;
  font-size: 1rem;
  font-weight: 7 0;
  transform: rotate(180deg);
}

/* src/pages/Work.css */
.work-container {
  display: flex;
  background-color: var(--bg-work);
  flex-direction: column;
  align-items:  center;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 4rem;
}

.main-title {
  letter-spacing: .08em;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  font-weight: 600;
}

.roles-bar {
  color: var(--accent-tag);
  letter-spacing: .08em;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.short-bio {
  color: var(--text-white);
  opacity: .8;
  max-width: 700px;
  margin: 0 auto 6rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.short-bio p {
  margin-bottom: 1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 10px;
  gap: 40px;
  width: 75%;
  margin-bottom: 4rem;
}

.grid-item-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background-color: #2a2a2a;
}

.grid-item-image {
  object-fit: contain;
  display: block;
  transform-origin: center;
  width: 100%;
  height: auto;
  transition: transform .2s cubic-bezier(.23,.82,.32,1), opacity .2s cubic-bezier(.23,.82,.32,1);
}

.grid-item-overlay {
  position: absolute;
  background-color: var(--hover-overlay);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: opacity .2s cubic-bezier(.23,.82,.32,1);
  top: 0;
  left: 0;
}

.grid-item-link:hover .grid-item-image {
  transform: scale(1.05);
}

.grid-item-link:hover .grid-item-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-title {
    font-size: 2.5rem;
  }

  .work-container, .work-container {
    padding: 0 1.5rem;
  }
}

.gallery-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.gallery {
  display: block;
  position: relative;
  width: 50%;
  max-width: 1680px;
  margin: 0 auto;
}

@media (max-width: 1279px) {
  .gallery {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .gallery {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
  }
}

.gallery-item {
  display: block;
  position: relative;
  cursor: pointer;
}

.card {
  position: relative;
  cursor: pointer;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  height: auto;
}

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

.overlay {
  position: absolute;
  backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  pointer-events: none;
  background: #145b3ab3;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  inset: 0;
}

.overlay-title {
  color: #fff;
  font-size: 1.4rem;
}

.overlay-date {
  color: #fff;
  font-size: .8rem;
}

.overlay-type {
  opacity: .7;
  color: #fff;
  font-size: .8rem;
}

.section-header-container {
  cursor: default;
  display: flex;
  align-items:  center;
  gap: 1.5rem;
  width: 50%;
  max-width: 1680px;
  margin: 3.5rem auto 2.5rem;
}

@media (max-width: 1279px) {
  .section-header-container {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
  }
}

.section-header-clip {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 11.5rem;
}

.section-header-inner {
  display: flex;
  flex-direction: column;
  transition: transform 1s cubic-bezier(.25,.8,.25,1);
}

.section-header-row {
  display: flex;
  flex: 0 0 11.5rem;
  align-items:  center;
  gap: 1.5rem;
  height: 11.5rem;
}

.section-header-text {
  color: #f0f3ef;
  letter-spacing: .05em;
  opacity: .9;
  white-space: nowrap;
  font-family: karma;
  font-size: 3rem;
  font-weight: 350;
  line-height: .9;
  transform: translateY(-2.5rem);
}

.section-header-line {
  opacity: 1;
  background-color: #f0f3ef;
  flex-grow: 1;
  height: 2px;
  transform: translateY(3.5rem);
}

.section-header-container:hover .section-header-inner {
  transform: translateY(-11.5rem);
}

.work-section {
  margin-bottom: 10rem;
}

/* src/pages/About.css */
.about-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-header {
  text-align: left;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .about-header .main-title {
    text-align: left;
  }
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items:  start;
  gap: 60px;
}

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

.about-image img {
  filter: grayscale(100%);
  display: block;
  width: 100%;
  height: auto;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
}

.about-text p {
  color: #e0e0e0;
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-text p:last-child {
  opacity: .8;
  margin-top: 2rem;
  font-size: .8rem;
}

@media (max-width: 1279px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .about-container {
    padding: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-text {
    line-height: 1.7;
  }

  .about-text p {
    max-width: 100%;
  }
}

@media (min-width: 1440px) {
  .about-container {
    max-width: 1200px;
  }
}

@media (min-width: 1920px) {
  .about-container {
    max-width: 1350px;
  }
}

/* src/pages/ProjectDetail.css */
.detail-page {
  color: inherit;
  background-color: #0000;
  width: 100%;
  min-height: 100vh;
  padding-top: 120px;
}

body {
  background-color: var(--theme-bg, #111);
  color: var(--theme-text, #fff);
  transition: background-color .5s, color .5s;
}

.footer-container {
  color: #ccc !important;
  background-color: #202020 !important;
}

.detail-container {
  display: flex;
  position: relative;
  box-sizing: border-box;
  gap: 3rem;
  max-width: 1600px;
  margin: 0 auto;
  transform: none !important;
}

.detail-container {
  max-width: 1800px;
}

.detail-content {
  position: relative;
  flex: 0 0 75%;
  width: 75%;
  padding-top: 40vh;
  padding-bottom: 5vh;
  overflow: visible !important;
  transform: none !important;
}

.detail-section {
  display: flex;
  flex-wrap: wrap;
  align-items:  flex-start;
  gap: 0;
  margin-bottom: 28rem;
}

.detail-section.section-0 {
  margin-top: -22rem;
}

.detail-content .detail-section:first-of-type[style*="flex-direction: column"] .section-images-stack, .detail-content .detail-section:first-of-type[style*="flex-direction: column"] .section-images-strip {
  margin-top: -10rem;
}

.text-block {
  position: relative;
  z-index: 2;
  flex: 0 0 640px;
  max-width: 640px;
  margin: 0;
}

.text-header-group {
  margin-bottom: 2rem;
}

.section-title {
  color: inherit;
  text-transform: none;
  margin: 0;
  font-family: Karma, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.25;
}

.section-id {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  opacity: 1;
  vertical-align: baseline;
  margin-right: .5rem;
}

.section-tagline {
  font-size: inherit;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  opacity: 1;
}

.separator {
  opacity: .4;
  margin: 0 .5rem;
}

.text-spacer-small {
  height: 1.5rem;
}

.section-images-stack, .section-images-strip {
  position: relative;
  z-index: 10;
  flex: auto;
  min-width: 0;
}

.section-images-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 10rem;
}

.stack-image-wrapper {
  position: relative;
  width: 100%;
}

.stack-image-wrapper img, .section-images-strip img {
  display: block;
  will-change: transform;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-images-stack {
    gap: 2rem;
    margin-bottom: 6rem;
  }
}

.text-header-row {
  display: flex;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--theme-text);
  opacity: .6;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: .5rem;
  font-family: Helvetica, sans-serif;
  font-size: .85rem;
}

.text-id {
  font-family: Karma, serif;
}

.text-spacer-blank {
  width: 100%;
  height: 3rem;
}

.text-body .detail-text-p {
  color: var(--theme-text);
  opacity: .9;
  margin-bottom: 1.5rem;
  font-family: Karma, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-image-absolute {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

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

@media (max-width: 768px) {
  .hero-image-absolute {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
    top: auto;
    right: auto;
  }
}

.scroll-image {
  width: 100%;
  margin-bottom: 8rem;
  overflow: visible !important;
}

.scroll-image img {
  display: block;
  object-fit: cover;
  will-change: transform;
  border-radius: 6px;
  width: 100%;
}

.detail-text-p {
  display: block;
  color: var(--theme-text, #fff);
  opacity: .9;
  will-change: opacity, filter;
  overflow: visible;
  text-overflow: unset;
  margin-bottom: 1.5rem;
  margin-left: 0;
  padding-top: 0;
  padding-left: 0;
  font-family: Karma, serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.45em;
  transform: translateZ(0);
}

.detail-text-p:last-child {
  margin-bottom: 120px;
}

.detail-meta {
  position: relative;
  flex: 0 0 20%;
  width: 20%;
  height: auto;
  margin-left: auto;
}

.meta-sticky {
  position: sticky;
  margin-top: -3rem;
  padding-bottom: 4rem;
  top: 140px;
}

.meta-hero-label {
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: Karma, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.meta-type-header {
  color: var(--theme-text);
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  margin-bottom: 2rem;
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.meta-title {
  color: inherit;
  margin-bottom: 2rem;
  font-family: Karma, serif;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.meta-summary {
  opacity: .9;
  margin-bottom: 2rem;
  padding-left: 0;
  font-family: Karma, serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.meta-summary p {
  margin-bottom: 1rem;
}

.meta-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: Karma, serif;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.meta-item .label {
  text-transform: capitalize;
  color: var(--theme-text);
  opacity: .6;
  font-family: Helvetica, sans-serif;
  font-size: .75rem;
}

.meta-item .value {
  color: inherit;
  font-family: Karma, serif;
  font-size: 1rem;
  font-weight: 500;
}

.related-works {
  background-color: #0000;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 4rem 10rem;
}

.related-works h3 {
  color: inherit;
  margin-bottom: 4rem;
  font-family: Karma, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.related-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  display: block;
}

.related-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: #ffffff0d;
  border-radius: 4px;
  width: 100%;
}

.related-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .2s cubic-bezier(.23,.82,.32,1);
}

.related-overlay {
  position: absolute;
  backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  pointer-events: none;
  background: #ffffffbf;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: opacity .2s cubic-bezier(.23,.82,.32,1);
  inset: 0;
}

.related-overlay-title {
  color: #111;
  opacity: 0;
  transition: transform .25s cubic-bezier(.25,.8,.25,1), opacity .25s cubic-bezier(.25,.8,.25,1);
  font-family: Karma, serif;
  font-size: 1.4rem;
  font-weight: 600;
  transform: translateY(10px);
}

.related-overlay-type {
  color: #333;
  opacity: .8;
  margin-top: .25rem;
  transition: transform .25s cubic-bezier(.25,.8,.25,1) 40ms, opacity .25s cubic-bezier(.25,.8,.25,1) 40ms;
  font-family: Helvetica, sans-serif;
  font-size: .8rem;
  transform: translateY(10px);
}

.related-item:hover .related-thumb img {
  transform: scale(1.05);
}

.related-item:hover .related-overlay {
  opacity: 1;
}

.related-item:hover .related-overlay-title, .related-item:hover .related-overlay-type {
  opacity: 1;
  transform: translateY(0);
}

.related-item:hover .related-overlay-title {
  opacity: 1;
}

.related-item:hover .related-overlay-type {
  opacity: .7;
}

@media (max-width: 1200px) {
  .detail-container {
    flex-direction: column-reverse;
    padding: 0 2rem;
  }

  .detail-content {
    flex: auto;
    width: 100%;
  }

  .detail-meta {
    border-bottom: 1px solid #ffffff1a;
    flex: auto;
    width: 100%;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
  }

  .meta-sticky {
    position: static;
    padding-bottom: 0;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-page {
    padding-top: 100px;
  }

  .block-row {
    text-align: left;
    flex-direction: column !important;
  }

  .section-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .align-left, .align-right, .align-center, .align-grid-1-3 {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
  }
}

/* src/pages/Contact.css */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items:  center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 4rem;
}

.contact-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper:after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-color: #000;
  width: 0%;
  height: 1px;
  transition: width .2s ease-out;
  bottom: 0;
  left: 0;
}

.input-wrapper:focus-within:after {
  width: 100%;
}

.form-input {
  outline: none;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  width: 100%;
  padding: 1rem;
  font-family: inherit;
  font-size: .9rem;
}

.form-input:focus {
  background-color: #eaeaea;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  color: #fff;
  cursor: pointer;
  background: none;
  border: 1px solid #fff;
  align-self:  flex-start;
  padding: .8rem 2rem;
  transition: all .3s;
  font-family: inherit;
}

.submit-btn:hover {
  color: var(--color-bg);
  background: #fff;
}

.overlay {
  position: fixed;
  display: flex;
  backdrop-filter: blur(6px);
  pointer-events: auto;
  background: #00000059;
  justify-content: center;
  align-items:  center;
  inset: 0;
  z-index: 999999 !important;
}

.ov-box {
  backdrop-filter: blur(8px);
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #fff3;
  min-width: 280px;
  padding: 28px 36px;
}

.ov-title {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 500;
}

.ov-text {
  opacity: .85;
  color: #fff;
  font-size: .95rem;
}

.retry-btn {
  color: #fff;
  cursor: pointer;
  background: none;
  border: 1px solid #ffffff80;
  margin-top: 18px;
  padding: 6px 16px;
}

/* src/components/CustomCursor.css */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background-color: #f0f3ef;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  top: 0;
  left: 0;
}

.cursor-circle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  background-color: #0000;
  border: 1px solid #f0f3ef;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: 0;
  left: 0;
}

@media (pointer: fine) {
  body, a, button, input {
    cursor: none !important;
  }
}

/* src/styles.css */
:root {
  --bg-work: #013429;
  --accent-tag: #a4e96b;
  --selection-bg: #a4e96b;
  --text-white: #f0f3ef;
  --footer-bg: #20211e;
  --hover-overlay: #145b3ab3;
  --font-primary: "Karma", serif;
  --grid-gap: 20px;
}

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

::selection {
  background: var(--selection-bg);
  color: var(--bg-work);
}

body {
  background-color: var(--bg-work);
  color: var(--text-white);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

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

ul {
  list-style: none;
}
