/* Symply shared brand styles — matches tokens.jsx / Color+Symply.swift */

:root {
  --ink: #1a1520;
  --ink-soft: #3b3440;
  --ink-mute: #6b6370;
  --paper: #f7f3ee;
  --card: #fffdf9;
  --paper-deep: #ede7df;
  --line: rgba(26, 21, 32, 0.08);
  --plum: #6b3d7a;
  --ember: #d46a48;
  --amber: #e8a96b;
}

.brand-lockup {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  height: 2rem;
  width: auto;
}

.brand-lockup-hero img {
  height: clamp(3.25rem, 9vw, 4.75rem);
}

.symply-subtitle {
  margin: 1rem 0 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  gap: 1rem;
  position: relative;
}

.site-header .site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.925rem;
}

.site-header .site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-header .site-nav a:hover {
  color: var(--ember);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-header .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(247, 243, 238, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(26, 21, 32, 0.06);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-header .site-nav a:last-child {
    border-bottom: none;
  }
}

.studio-link {
  color: var(--ink-mute) !important;
  font-size: 0.875rem !important;
}

.studio-link:hover {
  color: var(--plum) !important;
}

.studio-credit {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  color: var(--ink-mute);
}

.studio-credit a {
  color: var(--ink-soft);
  text-decoration: none;
}

.studio-credit a:hover {
  color: var(--plum);
}
