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

html, body {
  height: 100%;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f5f3f0;
  color: #1a1a1a;
}

/* === Desktop Layout (4 corners) === */
.layout {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem;
}

.section-logo {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
}

.section-tagline {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  text-align: right;
}

.section-services {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  max-width: 50%;
}


/* === Typography === */
.logo {
  display: flex;
  align-items: baseline;
}

.logo-b {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
}

.logo-inc {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 0.1em;
}

.tagline {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.8em;
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #666;
  line-height: 1.8;
}

.services li {
  position: relative;
}

.services li:not(:last-child)::after {
  content: '/';
  position: absolute;
  right: -0.55em;
  color: #aaa;
}

/* === Email === */
.section-email {
  position: absolute;
  bottom: 5rem;
  right: 2.5rem;
  text-align: right;
}

.email {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.email:hover {
  opacity: 0.5;
}

.email-text {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* === Footer === */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 2em;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: #666;
}

.footer-item {
  white-space: nowrap;
}

.footer-link {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.5;
}

/* === Mobile Layout (vertical stack) === */
@media (max-width: 768px) {
  .layout {
    position: relative;
    min-height: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .section-logo,
  .section-tagline,
  .section-services,
  .section-email {
    position: static;
    max-width: 100%;
    text-align: left;
  }
  
  .section-email {
    margin-top: 2rem;
    margin-bottom: 0;
  }
  
  .email {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
  
  .footer {
    position: static;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
  }
  
  .tagline {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
  
  .services {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2em 0.6em;
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
  
  .email {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
}
