html.lenis {
  height: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}
html {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}
body {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  font-family: "Cormorant Infant", serif;
  background-color: #f5f5f5;
  cursor: none;
}

.content-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;

  background: url("/bg-radial-noise-ultra-soft.png") center center / cover
    no-repeat;

  transform: translateY(100vh);
  transition: transform 0.1s ease-out;
}

.first-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.1s ease-out;
}

.about-wrapper {
  position: absolute;
  top: 50%;
  left: 3%;
  width: 100%;
  transform: translateY(-50%) rotate(50deg);
  transform-origin: top left;
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 401;
  pointer-events: none;
  padding-left: clamp(3.5rem, 13vw, 13rem);
}

.about-heading {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  white-space: nowrap;
}

.about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 100vh));
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  font-family: "Cormorant Infant", serif;
  text-align: center;
  padding: clamp(2vh, 3vw, 4vh) clamp(2vh, 3vw, 4vh);
  z-index: 700;
  margin: 0 auto;
  width: clamp(300px, 90vw, 90vh);
  min-height: 80vh;
  box-sizing: border-box;
}

.about-headline {
  font-size: clamp(1.5rem, 4vw, 4.5vh);
  font-weight: 700;
  margin-bottom: clamp(1.5rem, 3vw, 4vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
}

.about-paragraph {
  font-size: clamp(1rem, 2.5vw, 2.5vh);
  margin-bottom: clamp(1rem, 2vw, 2.5vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  max-width: 85%;
}

.about-paragraph-emphasis {
  font-weight: 500;
  margin-top: clamp(2vh, 3vh, 4vh);
}

.portfolio-image-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  transform: translateY(100vh);
  transition: transform 0.1s ease-out;
}

.portfolio-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.1s ease-out;
}

.portfolio-wrapper {
  position: absolute;
  top: 50%;
  left: 3%;
  width: 100%;
  transform: translateY(-50%) rotate(50deg);
  transform-origin: top left;
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 401;
  pointer-events: none;
  padding-left: clamp(3.5rem, 13vw, 13rem);
}

.portfolio-heading {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  white-space: nowrap;
}

.portfolio-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 100vh));
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  font-family: "Cormorant Infant", serif;
  text-align: center;
  padding: clamp(2vh, 3vw, 4vh) clamp(2vh, 3vw, 4vh);

  z-index: 700;
  margin: 0 auto;
  width: clamp(300px, 90vw, 90vh);
  min-height: 80vh;
  box-sizing: border-box;
  pointer-events: auto;
}

.portfolio-headline {
  font-size: clamp(1.5rem, 4vw, 4.5vh);
  font-weight: 700;
  margin-bottom: clamp(1.5rem, 3vw, 4vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
}

.portfolio-paragraph {
  font-size: clamp(1rem, 2.5vw, 2.5vh);
  margin-bottom: clamp(1rem, 2vw, 2.5vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  max-width: 85%;
}

.portfolio-paragraph-emphasis {
  font-weight: 500;
  margin-top: clamp(2vh, 3vh, 4vh);
}

.portfolio-links {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5vh, 2vh, 2.5vh);
  margin-top: clamp(3vh, 4vh, 5vh);
  align-items: center;
  width: 100%;
  max-width: 90%;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.5vh, 2vh, 2.5vh) clamp(2vh, 2.5vh, 3.5vh);
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  pointer-events: auto;
  z-index: 10;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.portfolio-item:hover::before {
  transform: translateX(0);
}

.portfolio-item:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
  background-position: 0% 0;
  transform: translateX(8px);
  padding-left: clamp(2.5vh, 3.5vh, 4.5vh);
}

.portfolio-item-name {
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1rem, 3vw, 3vh);
  font-weight: 600;
  font-style: italic;
  margin-bottom: clamp(0.4rem, 0.8vw, 0.8vh);
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio-item:hover .portfolio-item-name {
  letter-spacing: 0.05em;
}

.portfolio-item-url {
  font-family: "Cormorant Infant", serif;
  font-size: clamp(0.75rem, 1.9vw, 1.9vh);
  font-weight: 300;
  font-style: italic;
  opacity: 0.7;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio-item:hover .portfolio-item-url {
  opacity: 1;
  letter-spacing: 0.08em;
}

.portfolio-item-arrow {
  position: absolute;
  right: clamp(2.5vh, 3.5vh, 4.5vh);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  font-size: clamp(2vh, 2.5vh, 3vh);
  font-weight: 300;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Cormorant Infant", serif;
  z-index: 1;
}

.portfolio-item:hover .portfolio-item-arrow {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.portfolio-item:active {
  transform: translateX(4px);
}

.portfolio-item-coming-soon {
  pointer-events: auto;
  cursor: default !important;
  opacity: 0.6;
}

.portfolio-item-coming-soon:hover {
  cursor: default !important;
  border-bottom-color: rgba(255, 255, 255, 0.3);
  background-position: 0% 0;
  transform: translateX(8px);
  padding-left: clamp(2.5vh, 3.5vh, 4.5vh);
}

.portfolio-item-coming-soon:active {
  transform: translateX(8px);
}

.portfolio-item-status {
  position: absolute;
  right: clamp(2vh, 3vh, 4vh);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(0.7rem, 1.6vw, 1.6vh);
  font-weight: 300;
  font-style: italic;
  font-family: "Cormorant Infant", serif;
  opacity: 0.5;
  letter-spacing: 0.05em;
  z-index: 1;
}

.second-image-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 399;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  transform: translateY(100vh);
  transition: transform 0.1s ease-out;
}

.second-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.1s ease-out;
}

.services-wrapper {
  position: absolute;
  top: 50%;
  left: 3%;
  width: 100%;
  transform: translateY(-50%) rotate(50deg);
  transform-origin: top left;
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 401;
  pointer-events: none;
  padding-left: clamp(3.5rem, 13vw, 13rem);
}

.services-heading {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  white-space: nowrap;
}

.contact-wrapper {
  position: fixed;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  transform-origin: top left;
  opacity: 1;
  transition: none;
  z-index: 397;
  pointer-events: none;
  padding-left: clamp(3.5rem, 13vw, 13rem);
}

.contact-heading {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: #000000;
  font-family: "Cormorant Infant", serif;
  white-space: nowrap;
}

.contact-form {
  position: fixed;
  top: 50%;
  left: 50%;

  max-width: 600px;
  width: 90%;
  background-color: #111;
  opacity: 0;
  transition: none;
  padding: 2rem;
  border-radius: 3px;
  z-index: 10000;
  pointer-events: auto;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1rem, 0.75rem + 1.25vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 3px;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(0.9rem, 0.7rem + 1vw, 1.2rem);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffffff;
}

.package-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.package-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: none;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(0.9rem, 0.7rem + 1vw, 1.2rem);
}

.package-option input[type="radio"] {
  width: auto;
  cursor: none;
}

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1rem, 0.75rem + 1.25vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  border-radius: 3px;
  cursor: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.05) 2%,
    rgba(0, 0, 0, 0.05) 2%,
    rgba(0, 0, 0, 0.05) 4%
  );
  mix-blend-mode: overlay;
  animation: submitShimmer 4s linear infinite;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.submit-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: submitPulse 5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.submit-button > * {
  position: relative;
  z-index: 1;
}

@keyframes submitShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes submitPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.submit-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.3);
}

.submit-button:hover::before,
.submit-button:hover::after {
  animation: none;
  opacity: 0;
}

.submit-button:active {
  transform: scale(0.98);
}

.form-success-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  background-color: rgba(17, 17, 17, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10001;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.form-success-message.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.form-success-message.hide {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.9);
}

.success-message-content {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-message-text {
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1.2rem, 1rem + 1.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin: 0;
}

.services-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 100vh));

  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  font-family: "Cormorant Infant", serif;
  text-align: center;
  padding: clamp(2vh, 3vw, 4vh) clamp(2vh, 3vw, 4vh);

  z-index: 700;
  margin: 0 auto;
  width: clamp(300px, 90vw, 90vh);
  min-height: 80vh;
  box-sizing: border-box;
}

.services-headline {
  font-size: clamp(1.5rem, 4vw, 4.5vh);
  font-weight: 700;
  margin-bottom: clamp(1.5rem, 3vw, 4vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
}

.services-headline-online {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.9em, 1.1em, 1.1em);
}

.services-paragraph {
  font-size: clamp(1rem, 2.5vw, 2.5vh);
  margin-bottom: clamp(1rem, 2vw, 2.5vh);
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  max-width: 85%;
}

.services-paragraph-emphasis {
  font-weight: 500;
  margin-top: clamp(2vh, 3vh, 4vh);
}

.services-button {
  margin-top: clamp(1.5rem, 3vw, 4vh);
  padding: clamp(0.75rem, 1.5vw, 2vh) clamp(1.5rem, 3.5vw, 4.5vh);
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1rem, 3vw, 3.2vh);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-style: italic;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
  white-space: nowrap;
  opacity: 1;
  pointer-events: auto;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.services-button > * {
  position: relative;
  z-index: 1;
}

.services-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 2%,
    rgba(0, 0, 0, 0.1) 2%,
    rgba(0, 0, 0, 0.1) 4%
  );
  mix-blend-mode: overlay;
  animation: buttonShimmer 3s linear infinite;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.services-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: buttonPulse 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

@keyframes buttonShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.services-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
  border-color: #ffffff;
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.6);
}

.services-button:hover::before,
.services-button:hover::after {
  animation: none;
  opacity: 0;
}

.services-button:active {
  transform: scale(0.95);
}

.third-image-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 398;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  transform: translateY(100vh);
  opacity: 0;
  transition: transform 0.1s ease-out, opacity 0.3s ease-out;
}

.third-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.1s ease-out;
}

.center-square {
  transform: scale(0);
  width: 50rem;
  height: 50rem;
  min-width: 50rem;
  min-height: 50rem;
  aspect-ratio: 1 / 1;
  background-color: #000000;
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  pointer-events: none;
}

.container-wrapper {
  background-color: #ffffff;
  width: 100%;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  background-color: transparent;
  position: sticky;
  top: 0;
  z-index: 10000;
  mix-blend-mode: difference;
  overflow: hidden;
}

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

.nav-left {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.name {
  display: block;
  font-size: clamp(1.3rem, 0.75rem + 1.25vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: white;
  font-family: "Cormorant Infant", serif;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.2s ease-in, opacity 0.1s ease-out;
  will-change: transform, opacity;
}

.menu {
  font-size: 0;
  font-weight: 500;
  color: white;
  font-family: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  cursor: none;
  transition: all 0.3s ease;
  position: relative;
}

.menu-m {
  display: inline-block;
  transition: transform 0.6s ease;
  font-size: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  font-family: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  position: relative;
}

.menu-squares-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 0.125em;
  transition: all 0.6s ease;
  font-size: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.0625em;
}

.menu-square-1,
.menu-square-2 {
  display: block;
  width: 0.25em;
  height: 0.25em;
  opacity: 0;
  transform: translateX(-0.625em) translateY(0) scale(0.3) rotate(90deg);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.menu-square-1 {
  transition-delay: 0.15s;
  position: absolute;
  top: -0.28125em;
}

.menu-square-2 {
  transition-delay: 0.3s;
  position: absolute;
  top: 0.09375em;
}

.menu:hover .menu-m {
  transform: translateX(55.5px) scale(1.1);
}

.menu:hover .menu-enu {
  transform: translateX(120%) scale(0.8);
  opacity: 0;
}

.menu:hover .menu-square-1,
.menu:hover .menu-square-2 {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.menu:hover .menu-square-1 {
  transition-delay: 0.15s;
}

.menu:hover .menu-square-2 {
  transition-delay: 0.3s;
}

.menu-enu {
  display: inline-block;
  transition: transform 0.6s ease, opacity 0.6s ease;
  font-size: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  font-family: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.split-container {
  display: flex;
  height: 80vh;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  z-index: 10000;
  padding-left: 2rem;
  background-color: transparent;
  pointer-events: none;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .split-container {
    padding-left: 1rem;
  }
}

.letter-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;

  position: relative;
  overflow: hidden;
  transform: translate3d(0px, 0px, 0px) scale(1, 1);
  transform-origin: left center;
}

.svg-t-letter {
  max-width: 43vw;
  position: relative;
  display: block;
  z-index: 1;
  transform-origin: left center;
  flex-shrink: 1;
  object-fit: contain;
  background-color: transparent;
  pointer-events: auto;
  opacity: 1;
  visibility: inherit;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  animation: tLetterReveal 1s cubic-bezier(0.25, 0.5, 0.9, 1) forwards;
  transition: transform 0.6s ease;
}

@keyframes tLetterReveal {
  0% {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

#t-letter-path {
  fill: white;
}

.svg-e-letter {
  /* max-width: 100%;
  max-height: 100%; */
  max-width: 43vw;

  position: relative;
  z-index: 1;
  transform-origin: left center;
  flex-shrink: 1;
  object-fit: contain;
  background-color: transparent;
  pointer-events: auto;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: clip-path 0.1s ease-out, transform 0.6s ease;
}

#e-letter-path-white {
  fill: black;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: clip-path 0.1s ease-out;
}

.bottom-navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  overflow: hidden;
}

.scroll-text {
  line-height: 1;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 100;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, #fff 0, #fff 50%, #000 0, #000);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 100% 200%;
  background-position-y: 0;
  animation: scrollTextAnimation 1s cubic-bezier(0.075, 0.82, 0.165, 1) infinite
    alternate;
  transition: opacity 0.3s linear;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}

@keyframes scrollTextAnimation {
  0% {
    background-position-y: 0;
  }
  100% {
    background-position-y: 99.6449%;
  }
}

.contact-email-text {
  line-height: 1;
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 100;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  display: block;
  white-space: nowrap;
  order: 1;
}

.contact-email-text.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.contact-email-text a {
  color: #000000;
  text-decoration: none;
}

.contact-email-text a:hover {
  text-decoration: underline;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.75rem, 0.6rem + 0.8vw, 1rem);
  font-weight: 100;
  font-family: "Cormorant Infant", serif;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  order: 2;
  justify-content: center;
}

.legal-links.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.legal-link {
  color: #000000;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.legal-link:hover {
  text-decoration: underline;
}

.legal-separator {
  color: #000000;
  opacity: 0.5;
}

@media (min-width: 769px) {
  .bottom-navbar {
    align-items: flex-start;
  }

  .contact-email-text {
    align-self: flex-start;
  }

  .legal-links {
    align-self: center;
  }
}

.scroll-square {
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.menu-overlay {
  position: fixed;
  top: -48px;
  right: -22px;
  width: 8px;
  height: 8px;
  background-color: #000000;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transform-origin: top right;
  transform: scale(0);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2rem;
  gap: 1.5rem;
  z-index: 9999;
  background-color: #000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: visible;
}

.menu-overlay-content[style*="opacity: 1"] .menu-text-wrapper,
.menu-overlay-content[style*="opacity:1"] .menu-text-wrapper {
  pointer-events: auto;
}

.menu-text-wrapper {
  overflow: hidden;
  height: auto;
  margin-block: clamp(-10px, -2vw, -30px);
  /* margin-block: -30px; */
  display: flex;
  gap: 1rem;
  pointer-events: none;
}

#menu-about,
#menu-portfolio,
#menu-services,
#menu-contact {
  margin-left: -48px;
  transition: margin-left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#menu-about:hover,
#menu-portfolio:hover,
#menu-services:hover,
#menu-contact:hover {
  margin-left: 0;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.menu-text-item {
  font-size: clamp(2.5rem, 12vw, 23vh);
  font-weight: 400;
  color: white;
  font-family: "Cormorant Infant", serif;
  line-height: 1.13;
  white-space: nowrap;
  transform: translate3d(0, 300px, 0);
  transition: transform 1s ease;
  position: relative;
  z-index: 2;
}

.menu-text-squares-wrapper {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.menu-text-square-1,
.menu-text-square-2 {
  width: 60px;
  height: 60px;
  width: clamp(30px, 3vw, 50px);
  height: clamp(30px, 3vw, 50px);
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-text-wrapper:hover .menu-text-square-1,
.menu-text-wrapper:hover .menu-text-square-2 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.menu-text-wrapper:not(:hover) .menu-text-square-1,
.menu-text-wrapper:not(:hover) .menu-text-square-2 {
  transition-delay: 0s;
}

.menu-arrow-icon {
  position: fixed;
  width: 54px;
  height: 54px;
  z-index: 10006;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity 1s ease, transform 0.3s ease;
  mix-blend-mode: difference;
  cursor: none !important;
}

.menu-language-section {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%) translate3d(0, -20px, 0);
  z-index: 10007;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s,
    visibility 0s linear 0.3s;
  pointer-events: none;
  text-align: right;
}

.menu-language-section.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translate3d(0, 0, 0) !important;
  pointer-events: auto !important;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s,
    visibility 0s linear 0s !important;
}

body.menu-open .menu-language-section {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translate3d(0, 0, 0);
  pointer-events: auto;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s,
    visibility 0s linear 0s;
}

.menu-language-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.menu-language-option {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: "Cormorant Infant", serif;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  cursor: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-language-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.menu-language-option:hover::before {
  left: 0;
}

.menu-language-option:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.menu-language-option.active {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.legal-content {
  max-width: 90rem;
  margin: 0 auto;
  margin-top: 6rem;
  padding: 3rem 1.5rem;
  padding-bottom: 8rem;
  font-family: "Cormorant Infant", serif;
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.legal-container {
  color: #0f0f0f;
}

.legal-content h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 0.9;
  color: #0f0f0f;
}

.legal-intro {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #a1a1a1;
  margin-bottom: 6rem;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid #0f0f0f;
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.withdrawal-form {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.withdrawal-form p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 500;
  color: #0f0f0f;
  font-size: 1rem;
}

.form-field input,
.form-field textarea {
  padding: 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: "Cormorant Infant", serif;
  font-size: 1rem;
  color: #0f0f0f;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #0f0f0f;
}

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

.form-field small.form-hint {
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.withdrawal-submit-button {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #0f0f0f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: "Cormorant Infant", serif;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.withdrawal-submit-button:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
}

.withdrawal-submit-button:active {
  transform: translateY(0);
}

.withdrawal-success-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 0.95rem;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.withdrawal-success-message.show {
  display: block;
  opacity: 1;
}

.withdrawal-form-text {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.withdrawal-text-content {
  font-family: "Space Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #0f0f0f;
  white-space: pre-wrap;
  user-select: all;
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.withdrawal-text-content p {
  margin-bottom: 1rem;
}

.withdrawal-text-content p:last-child {
  margin-bottom: 0;
}

.withdrawal-text-content strong {
  font-weight: 600;
}

.withdrawal-text-content a {
  color: #0f0f0f;
  text-decoration: underline;
}

.copy-withdrawal-text-button {
  padding: 1rem 2rem;
  background-color: #0f0f0f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: "Cormorant Infant", serif;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 300px;
}

.copy-withdrawal-text-button:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
}

.copy-withdrawal-text-button:active {
  transform: translateY(0);
}

.copy-success-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 0.95rem;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

@media (max-width: 768px) {
  .withdrawal-form {
    padding: 1.5rem;
  }

  .form-fields {
    gap: 1.25rem;
  }

  .withdrawal-submit-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .withdrawal-form-text {
    padding: 1.5rem;
  }

  .withdrawal-text-content {
    padding: 1rem;
    font-size: 0.875rem;
  }

  .copy-withdrawal-text-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
}

.legal-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #0f0f0f;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.legal-section p {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #0f0f0f;
  letter-spacing: -0.01em;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.legal-section ul li {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: #0f0f0f;
  letter-spacing: -0.01em;
}

.legal-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #0f0f0f;
  font-weight: 400;
}

.legal-section a {
  color: #0f0f0f;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.legal-section a:hover {
  opacity: 0.7;
}

.legal-section strong {
  font-weight: 600;
  color: #0f0f0f;
}

body:has(.legal-content) .navbar {
  background-color: #ffffff !important;
  mix-blend-mode: normal !important;
  z-index: 10000 !important;
  color: #0f0f0f !important;
}

body:has(.legal-content) .navbar .name,
body:has(.legal-content) .navbar .menu,
body:has(.legal-content) .navbar * {
  color: #0f0f0f !important;
}

body:has(.legal-content) .navbar svg path,
body:has(.legal-content) .navbar svg,
body:has(.legal-content) .navbar .menu-square-1 path,
body:has(.legal-content) .navbar .menu-square-2 path,
body:has(.legal-content) .navbar .menu-squares-wrapper svg path {
  fill: #0f0f0f !important;
  stroke: #0f0f0f !important;
}

body:has(.legal-content) {
  cursor: none !important;
  background-color: #ffffff !important;
}

body:has(.legal-content) * {
  cursor: none !important;
}

body:has(.legal-content) a,
body:has(.legal-content) button,
body:has(.legal-content) .btn {
  cursor: none !important;
}

body:has(.legal-content) .bottom-navbar {
  position: static;
  width: auto;
  max-width: 90rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  justify-content: center;
}

@media (max-width: 1280px) {
  .menu-language-section {
    right: 1.5rem;
  }

  .menu-language-option {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    padding: 0.6rem 1.2rem;
  }

  .nav-right {
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .about-text,
  .portfolio-text,
  .services-text {
    min-height: 75vh;
  }
  .legal-content {
    padding: 4rem 1.5rem;
  }

  .menu-text-item {
    line-height: 1.3;
  }

  #menu-about:hover,
  #menu-portfolio:hover,
  #menu-services:hover,
  #menu-contact:hover {
    margin-left: -48px;
  }

  body.text-visible .split-container .letter-section .svg-t-letter {
    transform: translateX(-100%);
  }

  body.text-visible .split-container .letter-section .svg-e-letter {
    transform: translateX(-155%);
  }

  body.text-visible #e-black-box-1,
  body.text-visible #e-black-box-2 {
    transform: translateX(-100%);
  }

  body:not(.text-visible) .split-container .letter-section .svg-t-letter {
    transform: translateX(0);
  }

  body:not(.text-visible) .split-container .letter-section .svg-e-letter {
    transform: translateX(0);
  }

  body:not(.text-visible) #e-black-box-1,
  body:not(.text-visible) #e-black-box-2 {
    transform: translateX(0);
  }
}

body.text-visible .split-container .letter-section .svg-t-letter {
  transform: translateX(-100%);
}

body.text-visible .split-container .letter-section .svg-e-letter {
  transform: translateX(-155%);
}

body.text-visible #e-black-box-1,
body.text-visible #e-black-box-2 {
  transform: translateX(-100%);
}

body:not(.text-visible) .split-container .letter-section .svg-t-letter {
  transform: translateX(0);
}

body:not(.text-visible) .split-container .letter-section .svg-e-letter {
  transform: translateX(0);
}

body:not(.text-visible) #e-black-box-1,
body:not(.text-visible) #e-black-box-2 {
  transform: translateX(0);
}

.menu-language-section {
  right: 1rem;
}

.menu-language-option {
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
  .about-text,
  .portfolio-text,
  .services-text {
    min-height: 65vh;
  }

  .legal-content {
    margin-top: 5rem;
    padding: 3rem 1rem;
  }

  .legal-content h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }

  .bottom-navbar {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
}

.legal-links {
  flex-shrink: 1;
  min-width: 0;
  font-size: clamp(0.75rem, 2vw, 1rem);
}

.contact-email-text {
  flex-shrink: 1;
  min-width: 0;
  font-size: clamp(1.3rem, 2vw, 2.5rem);
}

.nav-right {
  gap: 1rem;
}

.menu-language-section {
  right: 0.75rem;
}

.menu-language-option {
  font-size: clamp(0.9rem, 1.95vw, 2rem);
  padding: 0.5rem 0.9rem;
}

.about-text,
.portfolio-text,
.services-text {
  padding: clamp(2vh, 3vw, 4vh) clamp(1vh, 2vw, 4vh);
}

/* Landscape modda mobil cihazlar için */
@media (orientation: landscape) and (max-height: 500px) {
  .svg-t-letter,
  .svg-e-letter {
    max-width: 35vw;
  }
  .split-container,
  .about-wrapper,
  .portfolio-wrapper,
  .services-wrapper,
  .contact-wrapper {
    top: 55%;
  }

  .about-wrapper,
  .portfolio-wrapper,
  .services-wrapper {
    left: 0;
  }

  .about-text,
  .portfolio-text,
  .services-text {
    width: 90vw;
  }

  .about-heading,
  .portfolio-heading,
  .services-heading {
    font-size: clamp(3rem, 8vw, 8rem);
  }

  .contact-form {
    max-width: 90vw;
    width: 90vw;
    padding: 0;
    height: 50vh;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .contact-form form {
    padding: 1rem;
    height: auto;
    min-height: 100%;
    box-sizing: border-box;
  }

  .contact-form::-webkit-scrollbar {
    width: 8px;
  }

  .contact-form::-webkit-scrollbar-track {
    background: #222;
  }

  .contact-form::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
  }

  .contact-form::-webkit-scrollbar-thumb:hover {
    background: #777;
  }

  .contact-form .form-group {
    margin-bottom: 1rem;
  }

  .contact-form .form-group label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: 0.3rem;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 0.5rem;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  }

  .contact-form .submit-button {
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
  }

  .contact-wrapper {
    left: 0;
  }

  .contact-heading {
    font-size: clamp(2rem, 6vw, 6rem);
  }
}
