/* emily. — Brand System
   Creative Partner for Visionary Founders
   Updated: 2026-05-23
*/

/* ========================
   TOKENS
======================== */
:root {
  --periwinkle: #c5d2f8;
  --cream: #fff6f2;
  --dark-brown: #3b2f2f;
  --rose: #c3505c;
  --white: #ffffff;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-logo:    'Sarina', cursive;

  --radius-card: 16px;
  --radius-btn:  999px;
  --header-h:    72px;
}

/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark-brown);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

p, h1, h2, h3, h4, li, span, a {
  text-wrap: balance;
  orphans: 4;
  widows: 4;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ========================
   SITE HEADER
======================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0 2.5rem;
  background: var(--cream);
}

.header-logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  color: var(--dark-brown);
  flex: 1;
}

.client-portal-btn {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark-brown);
  background: none;
  border: 1.5px solid rgba(59,47,47,0.25);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark-brown);
  border-radius: 2px;
}

/* ========================
   NAV OVERLAY
======================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Left: photo + identity */
.nav-left {
  flex: 0 0 36%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  overflow: hidden;
}

.nav-photo {
  width: 100%;
  max-width: 240px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
}

.nav-name {
  font-family: var(--font-logo);
  font-size: 2rem;
  color: var(--dark-brown);
  margin-bottom: 0.5rem;
  text-align: center;
}

.nav-role {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--dark-brown);
  text-align: center;
  line-height: 1.5;
  max-width: 200px;
}

.nav-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.nav-social-link {
  color: var(--periwinkle);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-social-link:hover { opacity: 0.65; }

/* Middle: vertical labels */
.nav-middle {
  flex: 0 0 64px;
  background: var(--periwinkle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.nav-label {
  flex: 0 0 auto;
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-brown);
}

/* Right: nav links */
.nav-right {
  flex: 1;
  background: var(--dark-brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 4.5rem;
  position: relative;
}

.nav-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  font-weight: 300;
  font-family: var(--font-body);
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-close:hover { opacity: 1; }

.nav-links { list-style: none; margin-bottom: 2.5rem; }
.nav-links li + li { margin-top: 0.125rem; }

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  color: var(--cream);
  display: block;
  line-height: 1.25;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--periwinkle); }

.nav-links-secondary { list-style: none; display: flex; gap: 2rem; }

.nav-links-secondary a {
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--periwinkle);
  transition: color 0.2s;
}

.nav-links-secondary a:hover { color: var(--cream); }

/* ========================
   BUTTONS
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn:hover { opacity: 0.85; }

.btn-primary   { background: var(--dark-brown); color: var(--cream); }
.btn-periwinkle { background: var(--periwinkle); color: var(--dark-brown); }
.btn-cream     { background: var(--cream);      color: var(--dark-brown); }

.btn-ghost-cream {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255, 246, 242, 0.35);
}

.btn-ghost-cream:hover { border-color: var(--cream); opacity: 1; }

/* ========================
   UTILITY
======================== */
.label-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.label-rose       { color: var(--rose); }
.label-periwinkle { color: var(--periwinkle); }
.label-muted      { color: var(--dark-brown); opacity: 0.5; }

/* ========================
   FOOTER
======================== */
.site-footer {
  background: var(--dark-brown);
  color: var(--cream);
  padding: 3rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 1.25rem;
  color: var(--cream);
}

.footer-nav { list-style: none; display: flex; gap: 2rem; flex-wrap: wrap; }

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255, 246, 242, 0.6);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 246, 242, 0.35);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .nav-left   { display: none; }
  .nav-middle { flex: 0 0 48px; }
  .nav-right  { padding: 5rem 2.5rem 3rem; }

  .site-footer {
    padding: 2.5rem 2rem;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav { justify-content: center; }
}
