@charset "UTF-8";

/* 1. VARIABLES & RESET */
:root {
  --site-padding: clamp(24px, 12vw, 200px);
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300; 
  background: #009B7D;
  background: linear-gradient(10deg,rgba(0, 155, 125, 1) 0%, rgba(255, 191, 105, 1) 80%);
  color: #1a1a1a;
  height: 100dvh;
  width: 100dvw;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. NAVIGATION (CORNERS) */
.nav-element {
  position: fixed;
  z-index: 100;
  cursor: pointer;
  padding: 2rem var(--site-padding);
  box-sizing: border-box;
}

/* Menu Button */
.menu-btn {
  top: 0;
  left: 0;
  background: none;
  border: none;
}

.hamburger-box {
  width: 24px;
  height: 12px;
  display: block;
  position: relative;
}

.line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1a1a1a;
  position: absolute;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.line-1 { top: 0; }
.line-2 { bottom: 0; }

.menu-btn.open .line-1 { transform: translateY(5px) rotate(45deg); background-color: #fff; }
.menu-btn.open .line-2 { transform: translateY(-5px) rotate(-45deg); background-color: #fff; }

/* Logo */
.logo {
  top: 0;
  right: 0;
  width: 120px;
  height: auto;
  box-sizing: content-box;
  filter: invert(1);
  transition: filter 0.3s ease;
}

.logo.inverted { filter: invert(0); }

/* 3. CENTERED CONTENT STAGE */
.content-stage {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: flex-start; 
  align-items: center;       
  text-align: left;            
  padding: 2rem var(--site-padding);
  
  /* POSITIONING FOR THE WRAPPER TRANSITION */
  position: relative;
  transition: transform 0.1s ease-out; /* Smooths the parallax slightly */
}

/* --- PAGE SECTIONS (The new Switching Logic) --- */
.page-section {
  display: none; /* Hidden by default */
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
	z-index: 3;
}

.page-section.active {
  display: block; /* Visible when active */
  opacity: 1;
  transform: translateY(0);
		z-index: 3;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/grain.gif');
  opacity: 0.2;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
}

/* Typography */
.main-text {
  width: 100%; 
  font-family: 'Inter', sans-serif;
  font-weight: 400; 
  font-size: 5rem; 
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.subtitle {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  margin-top: 1.5rem;
  line-height: 1.4;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* 4. FULLSCREEN MENU OVERLAY */
.menu-overlay {
  position: fixed;
  top: 0;
  left: var(--site-padding);
  right: var(--site-padding);
  width: auto;
  height: 100vh;
  background-color: #000;
  color: #fff;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
  box-sizing: border-box;
  transform: translateY(-100%);
  border-bottom-left-radius: 50vw;
  border-bottom-right-radius: 50vw;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
              border-radius 0.8s cubic-bezier(0.19, 1, 0.22, 1),
              left 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
              right 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-overlay.open {
  transform: translateY(0);
  left: 0;
  right: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.menu-grid {
  display: flex;
  justify-content: space-between; 
  align-items: flex-end; 
  width: 100%;
}

.menu-left {
  display: flex;
  flex-direction: column;
}

/* Menu Links */
.menu-link {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 300; 
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #BBBBBB;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(60px); 
  transition: opacity 0.8s, transform 0.8s, color 0.1s ease;
}

.menu-link:hover { color: #FFF; }

.menu-overlay.open .menu-link {
  opacity: 1;
  transform: translateY(0);
}
.menu-overlay.open .menu-link:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.open .menu-link:nth-child(2) { transition-delay: 0.1s; }
.menu-overlay.open .menu-link:nth-child(3) { transition-delay: 0.15s; }

/* Email Link */
.email-link {
  font-family: 'Inter', sans-serif; 
  font-weight: 300;
  font-size: 1.1rem; 
  color: #BBBBBB;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.email-link:hover { color: #FFF; }

/* 6. RESPONSIVE */
@media (max-width: 768px) {
  .menu-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
  }
  .menu-link { font-size: 3rem; }
  .main-text	{ font-size: 3rem; }
  .subtitle { font-size: 1.1rem; margin-top: 1rem; }
}