/* ───── Reset & Base ───── */

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

html,
body {
  height: 100%;
  font-family: 'Michroma', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ───── Custom Scissors Cursor (desktop only) ───── */

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  div, span, section, main, footer, header, nav, article,
  h1, h2, h3, h4, h5, h6, p, ul, ol, li, img, svg, path, rect, circle {
    cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA4mVYSWZNTQAqAAAACAAHARIAAwAAAAEAAQAAARoABQAAAAEAAABiARsABQAAAAEAAABqASgAAwAAAAEAAgAAATEAAgAAABEAAAByATIAAgAAABQAAACEh2kABAAAAAEAAACYAAAAAAAABwAAAAABAAAHAAAAAAF3d3cuaW5rc2NhcGUub3JnAAAyMDI2OjAyOjExIDEzOjA3OjUyAAAEkAQAAgAAABQAAADOoAEAAwAAAAEAAQAAoAIABAAAAAEAAAAQoAMABAAAAAEAAAAQAAAAADIwMjY6MDI6MTEgMTI6NTc6NTkAHqv3sQAAAAlwSFlzAAETlwABE5cB6EbQAwAAA7ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6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veea6Lrn2gDtPTn/GzG5JO0unxWGPnzvIpzq9WSWVZdo6zQCaqYXezG4jdVm9wG5A34GNVWP5DbcBvdlWumfdD+i31hE3hoHjrNvFrIK8CqXQ+2WiKkTSA7J98JuPwbdowDP4wAlkqkXzCu8whcuA3szOTVQnpB/goA1fcBjQm9m5cTtX+p94RvIDj4tqPhzhxUvKzo3bFZ2SvEEPPuEafnWDMbNz4zaqC9InuIq0ZnZuEs0A+dkv9pOzbGIAAAAASUVORK5CYII=) 8 8, auto;
  }

  a, button, [role="button"], input[type="submit"], label, select {
    cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQCAYAAAAiYZ4HAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA4mVYSWZNTQAqAAAACAAHARIAAwAAAAEAAQAAARoABQAAAAEAAABiARsABQAAAAEAAABqASgAAwAAAAEAAgAAATEAAgAAABEAAAByATIAAgAAABQAAACEh2kABAAAAAEAAACYAAAAAAAABwAAAAABAAAHAAAAAAF3d3cuaW5rc2NhcGUub3JnAAAyMDI2OjAyOjExIDEzOjEwOjU3AAAEkAQAAgAAABQAAADOoAEAAwAAAAEAAQAAoAIABAAAAAEAAAAMoAMABAAAAAEAAAAQAAAAADIwMjY6MDI6MTEgMTI6NTc6NTkAIAH1KwAAAAlwSFlzAAETlwABE5cB6EbQAwAAA7ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJod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50m7j3cwSu8QLBa8ErnAPcMLuG0DOdeSmCsCo2CPLN4/iewyiHYh+JgKYF91cFkRVFO9MJHzZgCm1ewt4KjXIG288OdAEnfsCjWH9bIUoIvMuawBCtFom2Bo7yAHpxAH9qQNBu8hSl8gBXe4QGu4O9WbF4NT3cIj/AEnsUYOnAExuabW3KUbukN7MOKn+BdOgbHnJfRwRxnF0ZwDm7rGgYwAbe6jA6FgA3ewAyewQH4I5OdXOUXD/UorHLKRXkAAAAASUVORK5CYII=) 6 0, pointer;
  }
}

/* ───── Page ───── */

.page-home {
  background: #fff;
  color: #111;
}

/* ───── Header ───── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px;
  z-index: 3;
}

.header--light {
  position: relative;
}

.header--light .header__name {
  color: #111;
}

.header--light .header__menu span {
  background: #111;
}

.header__name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.header__name--full {
  display: inline;
}

.header__name--short {
  display: none;
}

.header__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 32px;
  height: 32px;
  padding: 0;
}

.header__menu span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.header__nav {
  display: none;
}

/* ───── Hamburger → Cross ───── */

body.menu-open .header__menu span:first-child {
  transform: translateY(4.75px) rotate(45deg);
}

body.menu-open .header__menu span:last-child {
  transform: translateY(-4.75px) rotate(-45deg);
}

body.menu-open .header__name {
  color: #111;
}

body.menu-open .header__menu span {
  background: #111;
}

body.menu-open .header {
  z-index: 12;
}

body.menu-open {
  overflow: hidden;
}

/* ───── Navigation Overlay ───── */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__header {
  display: none;
}

.nav-overlay__close {
  display: none;
}

.nav-overlay__links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-overlay__links a {
  font-size: 2rem;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.5px;
  transition: font-weight 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-overlay__links a:hover {
  font-weight: 700;
  transform: scale(1.4);
}

.nav-overlay__socials {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-overlay__socials a {
  color: #111;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.nav-overlay__socials a:hover {
  opacity: 0.5;
}

/* ───── Hero (ML animation) ───── */

.home-hero {
  text-align: center;
  padding: 60px 24px 40px;
}

.home-hero__name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 10vw, 8.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  color: #111;
  margin-bottom: 4px;
  position: relative;
  transition: font-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero__name.is-logo {
  font-size: clamp(6rem, 25vw, 14rem);
  letter-spacing: -0.01em;
}

.home-hero__letter {
  display: inline-block;
}

.home-hero__letter--l {
  transform: rotate(180deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              margin-bottom 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  vertical-align: bottom;
  margin-bottom: 0.35em;
}

.home-hero__letter--l.is-turned {
  transform: rotate(0deg);
  margin-bottom: 0;
}

.home-hero__name-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.home-hero__name-link:hover .home-hero__name {
  color: #111;
  text-shadow:
    -3px 0 0 rgba(255, 0, 0, 0.7),
     3px 0 0 rgba(0, 255, 255, 0.7);
  transform: scale(1.05);
  transition: text-shadow 0.2s ease, transform 0.2s ease;
}

.home-hero__role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.7rem, 2.5vw, 1.25rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: #111;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.home-hero__role.is-visible {
  opacity: 1;
}

/* ───── Home Bar ───── */

.home-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin: 0 24px 12px;
}

.home-bar__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: font-weight 0.2s ease, transform 0.2s ease;
}

.home-bar__link:hover {
  font-weight: 700;
  transform: scale(1.4);
}

.home-bar__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #f5c518;
  animation: dot-morph 4s ease-in-out infinite;
}

@keyframes dot-morph {
  0%   { background: #f5c518; border-radius: 0;   transform: rotate(0deg) scale(1); }
  16%  { background: #3a5eff; border-radius: 50%;  transform: rotate(60deg) scale(1.2); }
  33%  { background: #ff3a6e; border-radius: 2px;  transform: rotate(120deg) scale(0.9); }
  50%  { background: #00c896; border-radius: 50%;  transform: rotate(180deg) scale(1.3); }
  66%  { background: #a855f7; border-radius: 0;    transform: rotate(240deg) scale(1); }
  83%  { background: #ff6b2b; border-radius: 50%;  transform: rotate(300deg) scale(1.1); }
  100% { background: #f5c518; border-radius: 0;    transform: rotate(360deg) scale(1); }
}

/* ───── Photo Gallery (auto-scrolling rows) ───── */

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  overflow: hidden;
}

.photo-row {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.photo-row:active {
  cursor: grabbing;
}

.photo-row__track {
  display: flex;
  gap: 6px;
  width: max-content;
}

.photo-row__track img {
  height: 40vh;
  width: auto;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
}

.photo-row__track--left {
  animation: scroll-left 90s linear infinite;
}

.photo-row__track--right {
  animation: scroll-right 90s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ───── Lightbox ───── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  z-index: 21;
  transition: opacity 0.2s ease;
}

.lightbox__close:hover {
  opacity: 0.6;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  z-index: 21;
  padding: 16px;
  transition: opacity 0.2s ease;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 0.6;
}

.lightbox__prev {
  left: 12px;
}

.lightbox__next {
  right: 12px;
}

/* ───── About Page ───── */

.page-about {
  background: #fff;
  color: #111;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 60px;
}

.about__photo {
  width: 100%;
  max-width: 685px;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  background-size: 120%;
  background-position: center center;
  background-repeat: no-repeat;
}

.about__body {
  text-align: center;
}

.about__title {
  color: #111;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.about__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__details p {
  color: rgba(17, 17, 17, 0.85);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.about__details a {
  color: rgba(17, 17, 17, 0.85);
  transition: opacity 0.2s ease;
}

.about__details a:hover {
  opacity: 0.6;
}

/* ───── Footer ───── */

.site-footer {
  padding: 20px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.site-footer__left,
.site-footer__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__copy {
  color: #111;
}

.site-footer__link {
  color: #111;
  transition: font-weight 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer__link:hover {
  font-weight: 700;
  transform: scale(1.2);
}

.site-footer__top {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111;
  padding: 0;
  transition: font-weight 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer__top:hover {
  font-weight: 700;
  transform: scale(1.2);
}

.site-footer__social {
  color: #111;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer__social:hover {
  transform: scale(1.2);
}

/* ───── Desktop (768px+) ───── */

@media (min-width: 768px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .header__nav a {
    color: #111;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
  }

  .header__nav a:hover {
    opacity: 0.6;
  }

  .header__nav-text {
    transition: font-weight 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  }

  .header__nav-text:hover {
    transform: scale(1.2);
    opacity: 1;
    text-shadow:
      -2px 0 0 rgba(255, 0, 0, 0.7),
       2px 0 0 rgba(0, 255, 255, 0.7);
  }

  .header__nav-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .header__nav-icon:hover {
    transform: scale(1.2);
    opacity: 1;
  }

  .header__name--full {
    display: inline;
  }

  .header__name--short {
    display: none;
  }

  .header__name {
    transition: font-weight 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  }

  .header__name:hover {
    font-weight: 700;
    transform: scale(1.2);
    text-shadow:
      -2px 0 0 rgba(255, 0, 0, 0.7),
       2px 0 0 rgba(0, 255, 255, 0.7);
  }

  .header__menu {
    display: none;
  }

  .header {
    padding: 28px 40px;
  }

  .header__name {
    font-size: 2rem;
    letter-spacing: 0.3px;
  }

  .photo-grid {
    gap: 8px;
    padding: 0;
  }

  .photo-row__track {
    gap: 8px;
  }

  .photo-row__track img {
    height: 46vh;
  }

  /* About page: side-by-side layout */
  .about {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 0 60px 0 40px;
    gap: 60px;
  }

  .about__photo {
    flex: 0 0 auto;
    width: 685px;
    max-width: 685px;
    height: 685px;
    margin-bottom: 0;
    align-self: center;
    aspect-ratio: auto;
    background-size: cover;
  }

  .about__body {
    flex: 0 1 auto;
    text-align: center;
  }

  .about__title {
    font-size: 2rem;
  }

  .about__details p {
    font-size: 1rem;
  }

  .site-footer {
    padding: 20px 40px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
}
