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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'SF Pro Display', sans-serif;
}




/* ----------------------------------------------------------------------------------------- */




/* CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES */

/* MAINS----MAINS----MAINS----MAINS----MAINS-----MAINS */

/* Entry Animation */
/*
.page-entry {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.page-entry.visible {
  opacity: 1;
  transform: translateY(0);
}
*/

/* Ring Cursor */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid #FF2600;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 0 6px rgba(98, 98, 98, 0.4);
  transform: translate(-50%, -50%);
  transition: 
    width 0.2s ease,
    height 0.2s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-ring.hovered-highlight {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 38, 0, 0.1);
  border-color: #FF2600;
  box-shadow: 0 0 10px rgba(300, 38, 0, 0.6);
  mix-blend-mode: normal; /* to make it clearly visible */
  transition: all 0.3s ease;
}



/* Enlarge on hover */
.cursor-ring.hovered {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: white;
}

@media (max-width: 600px) {
  .cursor-ring {
    display: none !important;
  }
}

body {
  cursor: none;
}

/* Scroll Meter */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background-color: #FF2600;
  border-radius: 24px;
  z-index: 9999;
  transition: width 0.2s ease-out;
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* optional subtle divider */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);         /* optional depth */
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;  
  z-index: 1000;
  font-family: 'SF Pro Display', monospace;
  font-size: smaller;
  font-weight: 650;
}


.wave {
  font-size: 1.2rem;
}


.logo-link {
  color: #666;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.logo-text {
  transition: color 0.25s ease;}

.logo-link:hover .logo-text {
  color: #FF2600;
}

/* Logo Animation*/
@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.wave {
  display: inline-block;
  animation: wave 3s infinite;
  transform-origin: 79% 70%;
}


/* Wrap logo and breadcrumb together */
.logo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* Adjust spacing between logo and breadcrumb */
}

/* Base breadcrumb style */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'SF Pro Display', monospace;
  font-weight: 236;
  font-size: 0.7rem;
  color: #666;
  opacity: 0.9;
}

.breadcrumb {
  transition: color 0.3s ease;
}

.breadcrumb-separator {
  color: #999;
  font-weight: 100;
}

/* Current page stands out slightly */
.breadcrumb.current {
  font-size: 0.82rem;
  font-weight: 500;
  color: #222;
}



@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
  }

  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
  }

  .breadcrumb-nav {
    font-size: 0.68rem;
    flex-wrap: wrap;
    line-height: 1.2;
    gap: 0.3rem;
  }

  .logo-text {
    font-size: 1rem;
    line-height: 1.2;
  }

  .wave {
    font-size: 1rem;
  }
}





/* Contact Button */





/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 2.2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'SF Pro Display', sans-serif;
  color: #0ac46f;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Hide on footer scroll */
.floating-contact.hide-contact {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contact-button:hover {
  background-color: rgba(194, 252, 225, 0.85);
  transform: translateY(-1px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Reuse your existing glow-dot styles */
.glow-dot {
  width: 12px;
  height: 12px;
  background-color: #0ac46f;
  border-radius: 50%;
  box-shadow: 0 0 8px #0ac46f;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 196, 111, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(10, 196, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 196, 111, 0);
  }
}

.status-text {
  white-space: nowrap;
  color: #0ac46f;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.contact-overlay.show {
  display: flex;
  animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.contact-card {
  position: relative;
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  padding: 3rem;
  text-align: center;
  font-family: 'SF Pro Display', sans-serif;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}


.contact-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #0ac46f;
}

.contact-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  color: #666;
  font-family: monospace;
  transition: transform 0.2s ease;
}

.contact-icon:hover {
  transform: translateY(-1px);
     color: #0ac46f;
}

.contact-icon img {
  width: 22px;
  height: 22px;
  margin-right: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-icon:hover img {
  transform: scale(1.2);
}

.close-overlay {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #0ac46f;
  cursor: pointer;
  transition: color 0.4s ease;
}

.close-overlay:hover {
  color: #FF2600;
    transform: translateY(-1px);
}

.extra-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 1.5rem;
}

.extra-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 500;
  color: #666;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.extra-link:hover {
  transform: translateY(-1px);
   color: #0ac46f;
}

.extra-link img {
  width: 22px;
  height: 22px;
  margin-right: 0.6rem;
  transition: transform 0.3s ease;
}

.extra-link:hover img {
  transform: scale(1.15);
 
}










.photo-quote2 {
  max-width: 700px;
  margin: 5rem auto ;
  padding: 0 1.4rem;
  font-size: 2rem;
  font-family: 'SF Pro Display', monospace;
  text-align: center;
  color: #7e7e7e;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.photo-quote2 p {
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}

.photo-quote2 small {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}


.number {
  font-size: 1.5rem;
  font-family: SF Pro Display, monospace;
  color: #999;
  font-weight: 600;
}


.title {
  font-size: 4rem;
  color: #FF2600;
  font-weight: 600;
  line-height: 4rem;
}

@media (max-width: 650px){
  .title {
  line-height: 4rem;
}
  
 
.number {
  line-height: 1.5rem; 
}   
  
  
  
}
/* MAINS----MAINS----MAINS----MAINS----MAINS-----MAINS */




/* ----------------------------------------------------------------------------------------- */




/* FOOTER----FOOTER----FOOTER----FOOTER----FOOTER */


.site-footer {
  background-color: #fff;
  color: #FF2600;
  padding: 1rem 2rem 2rem;
  font-family: 'SF Pro Display', sans-serif;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #FF2600;
}


.footer-column p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul a {
  color: #FF2600;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease-in-out;
}

.footer-column ul a:hover {
  color: #000; /* Optional: hover color contrast */
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.6;
}

.footer-cv-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: rgba(255, 38, 0, 0.11);
  color: #FF2600;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-cv-button:hover {
  background-color: #0ac46f;
  color: #fff;
}

.footer-contact {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.footer-contact a {
  color: #FF2600;
  text-decoration: none;
  font-weight: 500;
}

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

/* Hidden on initial load */
.hidden-on-load {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reveal when visible */
.hidden-on-load.visible {
  opacity: 1;
  transform: translateY(0);
}




/* FOOTER----FOOTER----FOOTER----FOOTER----FOOTER */




/* ----------------------------------------------------------------------------------------- */




/* CV BUTTON----CV BUTTON----CV BUTTON----CV BUTTON----CV BUTTON */

/* Floating CV Download Button */
/* Main button styling (same as before, keep this if you already added) */
.sticky-cv-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: rgb(255, 255, 255);
  color: rgb(255, 38, 0);
  font-size: 0.9rem;
  font-family: 'SF Pro Display', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255, 38, 0, 0.3);
  border-radius: 68px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  transition: background 0.3s ease, transform 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-cv-button:hover {
  background-color: rgb(255, 231, 227);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Icon animation */
.icon {
  display: inline-block;
  transition: transform 0.5s ease;
}

.sticky-cv-button:hover .icon {
  transform: translateY(2px);
}

.sticky-cv-button {
  /* existing styles... */
  opacity: 1;
  transition: all 0.3s ease;
}

.sticky-cv-button.hide-cv {
  opacity: 0;
  pointer-events: none;
}

/* CV BUTTON----CV BUTTON----CV BUTTON----CV BUTTON----CV BUTTON */

/* CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES */





/* ---------------------------------------BREAK---------------------------------------------- */






/* ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT */

/* Scroll Snapping*/



.content {
  max-width: 700px;
  padding: 3rem 2rem;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


@keyframes blinkCursor {
  0%, 100% { border-color: rgba(255, 38, 0, 0.35); }
  50%      { border-color: transparent; }
}

.definitions {
  font-size: 0.85rem;
  color: #999;
  font-family: monospace;
  margin-left: 1rem;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.fade-group {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-group.visible {
  opacity: 1;
  transform: translateY(0);
}


.description {
  font-size: 1rem;
  color: #666;
  margin-left: 0.8rem;
  max-width: 85%;
  line-height: 1.6;
  justify-content: center;
}

@media (max-width: 600px) {
  .word {
    font-size: 2rem;
  }

  .description {
    font-size: 0.95rem;
  }
}


/* Base hidden state for all .nav-blocks children */
.nav-blocks.hidden-on-load .nav-block {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When parent .nav-blocks becomes .visible, animate children with staggered delay */
.nav-blocks.visible .nav-block:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.nav-blocks.visible .nav-block:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.nav-blocks.visible .nav-block:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.nav-blocks.visible .nav-block:nth-child(4),

.nav-blocks.visible .about-block {
  opacity: 31;
  transform: translateY(0);
  transition-delay: 0.7s;
}  


/* Cards Block */

.nav-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'SF Pro Display', sans-serif;
}

.nav-block {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  padding-bottom: 1rem;
  border-bottom: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.nav-block:hover {
  border-bottom: 1px solid #FF2600;
  transform: translateX(6px);
}

.block-number {
  font-family: monospace;
  font-size: 0.95rem;
  color: #999;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.block-subtitle {
  font-family: monospace;
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

/* Header and paragrapg texts */

.nav-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FF2600;
  margin-bottom: 0.3rem;
}

.nav-block p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  max-width: 700px;
}


/* Design Philosophy*/
 

.proper-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FF2600;
  margin-bottom: 0.3rem;
}

.proper-block  {
  font-size: 1rem;
  color: #666;
  justify-content: space-evenly;
  line-height: 1.6;
  max-width: 700px;
}

/* Read More */

.fika-read-more {
  margin-top: 2rem;
  margin-left: 1rem;
  font-size: 0.9rem;
  font-family: 'SF Pro Display', sans-serif;
  color: #444;
}

.fika-read-more a {
  color: #FF2600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.fika-read-more a:hover {
  color: #c41f00;
}

.fika-snippet {
  font-style: italic;
  display: block;
  margin-top: 0.3rem;
  color: #666;
}


/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .content {
    margin-top: 2rem;
  }

  .word {
    font-size: 2.2rem;
  }

  .pronunciation {
    font-size: 1rem;
  }

  .definitions {
    font-size: 0.95rem;
  }

  .description {
    font-size: 0.95rem;
  }
}


/* Uppleva */
.typewriter {
  display: inline-block;
  margin: 1rem;
  border-right: 2px solid #333;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 700;
  font-size: 3rem;
  min-height: 3.5rem;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%, 100% {
    border-color: transparent;
  }
  50% {
    border-color: #333;
  }
}


/* Responsive font size */
@media (max-width: 768px) {
  .typewriter {
    font-size: 2rem;
    min-height: 2.5rem;
  }
}

/* ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT */


/* ---------------------------------------BREAK---------------------------------------------- */



