/* chrome.css — CTAs, honesty strip, filters, role lens, section nav, reveal */

/* hero primary CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: #e8b89a;
  color: #1a1513;
  border-color: #e8b89a;
  font-weight: 600;
}
.btn-primary:hover {
  background: #f3cbb4;
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(253, 249, 243, 0.08);
  color: #fdf9f3;
  border-color: rgba(253, 249, 243, 0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(253, 249, 243, 0.16);
  border-color: #e8b89a;
  color: #e8b89a;
}

/* honesty strip under contact */
.honesty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  padding: 10px 38px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--warm-wash);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.honesty span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.honesty span + span::before {
  content: "·";
  margin: 0 12px;
  color: var(--rule-strong);
  font-weight: 500;
}
.honesty .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d9a5f;
  box-shadow: 0 0 0 3px rgba(61, 154, 95, 0.18);
  flex-shrink: 0;
}

/* summary more toggle */
.summary-more-btn {
  appearance: none;
  border: none;
  background: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  margin-top: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.summary-more-btn:hover { border-bottom-color: var(--accent); }
.summary-more[hidden] { display: none !important; }
.summary-more { margin-top: 10px; }

/* role lens */
.role-lens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.role-lens-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  margin-right: 4px;
}
.role-chip,
.filter-chip {
  appearance: none;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.role-chip:hover,
.filter-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.role-chip.is-active,
.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fdf9f3;
  box-shadow: 0 4px 14px rgba(155, 65, 35, 0.25);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.project-item[hidden] { display: none !important; }
.project-empty {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--soft);
  padding: 12px 0;
}
.project-empty[hidden] { display: none !important; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.project-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

/* skills chips */
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.skill-chip {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--rule));
  padding: 6px 11px;
  border-radius: 999px;
}

/* section nav active */
.section-nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}
.section-nav a.is-active::after {
  transform: scaleX(1);
}

/* scroll reveal — never leave content invisible if JS lags */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-in),
  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* sticky frosted jump-nav */
.section-nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding: 0 38px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--paper) 50%, transparent) inset;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.section-nav a {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 16px;
  border-right: 1px solid var(--rule);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
  position: relative;
}
.section-nav a:first-child { border-left: 1px solid var(--rule); }
.section-nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.section-nav a:focus-visible {
  outline-offset: -2px;
}
.section-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease);
}
.section-nav a:hover::after {
  transform: scaleX(1);
}

