/* EDGES AND CONSTANTS */
body {
  background-color: #f3f3f3;
}

/* .corner-name {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9999;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: #111;
  pointer-events: none;
} */

.corner-name {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9999;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: #111;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.corner-icon {
  height: 1em;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.9;
}

.scroll-indicator {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg); /* rotate for vertical */
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  opacity: 1;
  transition: opacity 0.5s ease;
  color: #111;
  z-index: 999;
  pointer-events: none;
}

.scroll-arrow {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-family: "Nunito", sans-serif;
  font-size: 1.2rem;
  color: #111;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 9999;
  cursor: pointer;
}

@media (max-width: 700px) {
  .scroll-indicator {
    display: none;
  }

  .scroll-arrow {
    display: none;
  }
}

.horizontal-hint {
  position: fixed;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: #111;
  z-index: 999;
  pointer-events: none;
}
  
.horizontal-hint.visible {
  opacity: 1;
}

@media (max-width: 700px) {
  .horizontal-hint {
    position: fixed;
    top: 82px;              /* just below YANA */
    left: 24px;             /* same as .corner-name */
    right: auto;
    transform: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    /* opacity: 1; */
    color: #111;
    pointer-events: none;
    text-align: left;
  }
}

footer {
  position: fixed;
  bottom: 24px;
  left: 24px; /* Anchor to left */
  transform: none; /* Remove center shift */
  z-index: 9999;
  font-family: "Nunito", sans-serif;
  pointer-events: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

footer p {
  margin: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

footer a {
  color: #111;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
}

footer a:hover {
  transform: scale(1.2);
  opacity: 0.7;
}

footer .icon-substack {
  width: 2.5rem;
  height: 2.5rem;
  filter: invert(0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 700px) {
  footer {
    left: 12px;
    bottom: 12px;
  }

  footer a {
    font-size: 2rem;
  }

  footer .icon-substack {
    width: 2rem;
    height: 2rem;
  }
}
/* 
@media (max-width: 600px) {
  footer {
    font-size: 0.75rem;
    left: 12px;
    bottom: 12px;
  }
} */
  

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  background: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}
  
.hero-inner {
  position: relative;
  text-align: center;
}

#changing-word {
  font-family: "Bebas Neue", sans-serif;
}

.logo-text {
  font-size: 12vw;
  font-weight: 300;
  transform-origin: center;
  z-index: 2;
}

@media (max-width: 700px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 0 1rem;
  }

  #greeting {
    position: static;
    transform: none;
    opacity: 1;
    scale: 1;
    margin-top: 1rem;
    text-align: center;
  }

  .stacked-name h1 {
    font-size: 3rem; /* smaller font for mobile */
  }
}


/* GREETING */
#greeting {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  z-index: 1;
  color: #111;
}
  
.stacked-name {
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
  color: #111; /* or white if your background is dark */
}
  
.stacked-name > h1 {
  font-size: clamp(4rem, 14vw, 14rem); /* responsive font sizing */
  margin: 0;
}

#greeting > p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "Bebas Neue", sans-serif;
}  


/* ABOUT ME */
.about-me-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 900px;
}

.about-me h2 {
  font-size: 2.5rem;
  margin-top: -0.25rem;
  font-family: "Bebas Neue", sans-serif;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.about-me ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-me li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #444;
  font-size: 17px;
}

.about-me li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #181818;
  font-size: 20px;
  line-height: 1;
}

.about-row {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
  align-items: flex-start;
}

.about-me-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin: 4rem auto;
  padding: 0 2rem;
  max-width: 1000px;
}

.about-me {
  flex: 1;
  background-color: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  font-family: "Nunito", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  content: "•";
}

.logo-box {
  flex: 0 0 40%;
  background-color: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* default — will scale with .about-me */
}

.uw-logo {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .about-me-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .logo-box {
    height: 50%; /* iPhone view: logo box is 50% height of about-me */
  }

  .uw-logo {
    max-width: 60%;
    height: auto;
    text-align: center;
  }
}


/* CURRENTLY WORKING ON */
.current-work-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  margin: 4rem auto;
  max-width: 1000px;
  box-sizing: border-box;
}

.current-work-content {
  flex: 1;
  background-color: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  font-family: "Nunito", sans-serif;
  line-height: 1.8;
  color: #111;
}

.current-work-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: -0.25rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  color: #333;
  line-height: 1.1;
}

.current-work-content ul {
  padding-left: 1.5rem;
  margin: 0;
}

.current-work-content li {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.2rem;
}

.current-work-content li::before {
  position: absolute;
  left: 0;
  color: #181818;
  font-size: 1.2rem;
  line-height: 1;
}

.current-work-content strong {
  color: #000;
}

.current-work-content a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
}

.current-work-content a:hover {
  opacity: 0.8;
}


/* RESPONSIVE */
@media (max-width: 700px) {
  .current-work-section {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .logo-box {
    height: 50%; /* iPhone view: logo box is 50% height of about-me */
  }

  .uw-logo {
    max-width: 60%;
    height: auto;
    text-align: center;
  }
}


/* EXPERIENCE */
.experience {
  padding: 4rem 2rem;
  background: #f3f3f3;
  max-width: 900px;
  margin: 0 auto;
  font-family: "Nunito", sans-serif;
}

.experience h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.role-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}



/* PROJECTS */
.projects {
  min-height: 100vh;
  background: #f3f3f3;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}

.projects-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.projects h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #111;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  background: #f3f3f3;
  overflow: hidden;
  position: relative;
}

.project-card {
  height: 100%;
  min-height: 250px;
  max-width: 100%;
  border-radius: 16px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center;
  margin-bottom: 1rem;
  overflow: hidden;
  font: "Nunito", sans-serif;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 0.8s ease;
  border-radius: 16px;
}

.project-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  text-align: center;
}

.card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* center everything vertically */
  text-align: center;
  padding: 1.5rem;
  background: #fdfdfd;
  border-radius: 16px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  gap: 1rem; /* space between elements */
}

.card-front h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 1rem 0;
}

.card-front p {
  flex-grow: 1;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.project-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: #111;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #444;
}

.card-back {
  transform: rotateY(180deg);
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
}

.card-back-content {
  width: 100%;
  height: 100%;
  padding: 1rem; /* Add padding to create visual space around image */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 16px;
}

.card-back-content img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.role-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.role-header {
  display: flex;
  align-items: flex-start; /* ← align items to the top */
  gap: 1rem;
  width: 30%;
  min-width: 250px;
}

.job-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.role-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.role-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: #111;
  line-height: 1.2;
}

.company-name {
  font-size: 1rem;
  color: #666;
  margin-top: 0.25rem;
}

.role-description, .role-description-less {
  width: 65%;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
  /* padding-top: 0.2rem; */
}

.role-description-less {
  font-size: 1.2rem;
  color: #000000;
}

.role-description-less > p {
  margin: 0 0 0 0;
}

.role-description {
  display: none;
  margin: -1rem 0 0 0;
}




/* MOBILE RESPONSIVE */
@media (max-width: 700px) {
  .project-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .project-card {
    height: auto;
    min-height: 320px;
  }

  .projects {
    padding: 3rem 1rem;
  }
}

.card-front,
.card-back,
.projects,
.experience,
.project-link,
.role-title,
.role-description,
.role-description-less {
  font-family: "Nunito", sans-serif;
}

@media (max-width: 700px) {
  .role-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .role-content {
    width: 100%;
  }

  .role-description,
  .role-description-less {
    width: 100%;
    padding-left: 0;  /* remove any side padding */
  }
  

  .role-header {
    flex-direction: row;
    /* align-items: center; */
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .role-header-text {
    display: flex;
    flex-direction: column;

  }

  .toggle-btn {
    align-self: flex-start;
  }

  /* .rbc-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  } */
}

.toggle-btn {
  margin-top: -0.75rem;
  font-size: 0.9rem;
  font-family: "Nunito", sans-serif;
  background-color: #fff;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.toggle-btn:hover {
  background-color: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transform: scale(1.03);
}

.toggle-btn:active {
  transform: scale(0.97);
}

/* CONTACT ME */
.contact {
  min-height: 100vh;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  font-family: "Nunito", sans-serif;
}


.contact h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #111;
  text-align: center;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

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

.contact-form button {
  background-color: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}


@keyframes pulseHint {
  0% { transform: translateX(50%) scale(1); }
  50% { transform: translateX(50%) scale(1.05); }
  100% { transform: translateX(50%) scale(1); }
}

/* SOCIALS */
.socials-section {
  display: flex;
  justify-content: center;
  margin: 4rem auto;
  padding: 0 2rem;
  max-width: 1000px;
  box-sizing: border-box;
}

.socials-box {
  flex: 1;
  background-color: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem 2rem 4rem 2rem;
  font-family: "Nunito", sans-serif;
  text-align: center;
}

.socials-box h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #111;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.socials-grid a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f3f3;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.socials-grid a:hover {
  transform: scale(1.05);
  background: #e9e9e9;
}

.socials-grid i {
  font-size: 1.2rem;
}

.icon-substack {
  width: 1.1rem;
  height: 1.1rem;
  filter: invert(0.1);
}

.contact,
.socials-section {
  padding-bottom: 18rem; /* extra space to allow scrolling */
}

.email-footer {
  opacity: 0;
  margin-bottom: -10px;
}

@media (max-width: 700px) {
  .socials-grid {
    display: grid; /* ✅ Add this! */
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: center;
  }

  .email-footer {
    font-size: 0.5rem;
    bottom: 16px;
  }

  .email-footer a {
    font-size: 1.3rem;
  }

  .socials-box h2 {
    font-size: 2rem;
    text-align: center;
  }

  .socials-section {
    padding-bottom: 14rem; /* extra space to allow scrolling */
  }

}

.mobile-scroll-indicator {
  display: none;
}

@media (max-width: 700px) {
  .mobile-scroll-indicator {
    display: block;
    position: fixed;
    top: 20px;
    right: 24px;
    margin-top:15px;
    margin-right:5px;
    font-family: "Nunito", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #111;
    opacity: 1;
    animation: pulseScroll 1.4s ease-in-out infinite;
    z-index: 9999;
  }
}

@keyframes pulseScroll {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}