/* Header sticky */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: oklch(96.5% 0.014 85 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px -16px oklch(22% 0.02 145 / 0.18);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 1px 0 oklch(35% 0.10 145) inset, 0 2px 6px -3px oklch(22% 0.05 145 / 0.4);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-tag {
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}

.nav-main {
  display: none;
}
@media (min-width: 920px) {
  .nav-main { display: flex; align-items: center; gap: 1.6rem; }
  .nav-main a {
    font-family: var(--ff-ui);
    font-size: 0.9rem;
    color: var(--ink-soft);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
  }
  .nav-main a:hover { color: var(--accent); }
  .nav-main a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
  }
  .nav-main a:hover::after { transform: scaleX(1); }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.link-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
  box-shadow: 0 1px 0 oklch(35% 0.10 145) inset;
}
.link-call:hover { background: var(--accent-deep); color: var(--bg); transform: translateY(-1px); }
.link-call svg { width: 16px; height: 16px; }
.link-call .call-num { display: none; }
@media (min-width: 600px) { .link-call .call-num { display: inline; } }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--ink);
  padding: 0;
}
.burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.burger-bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t-fast), opacity var(--t-fast);
  transform-origin: center;
}
.burger[aria-expanded="true"] .burger-bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (min-width: 920px) { .burger { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: calc(var(--z-header) - 1);
  padding: 1.5rem 1.5rem 2rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav a {
  display: block;
  padding: 0.95rem 0.5rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .mn-extras {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: oklch(86% 0.015 85);
  padding: 3rem 0 1.5rem;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin: 0 0 0.8rem;
}
.footer-col p, .footer-col li { color: oklch(82% 0.02 85); line-height: 1.65; margin: 0 0 0.35rem; }
.footer-col a { color: oklch(82% 0.02 85); }
.footer-col a:hover { color: var(--accent-2); }
.footer-name {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--bg);
  margin-bottom: 0.4rem;
}
.foot-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid oklch(35% 0.02 145);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: oklch(72% 0.015 85);
}
.foot-bottom button {
  background: transparent;
  border: 0;
  color: oklch(82% 0.02 85);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
}
.foot-bottom button:hover { color: var(--accent-2); }

/* FAB mobile */
.fab-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 12px 30px -10px oklch(22% 0.04 145 / 0.45);
  z-index: var(--z-fab);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast);
}
.fab-call.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-call:hover { background: var(--accent-deep); color: var(--bg); }
.fab-call svg { width: 17px; height: 17px; }
@media (min-width: 920px) { .fab-call { display: none; } }

main { padding-top: var(--header-h); }
section { padding: var(--sp-16) 0; }
@media (min-width: 768px) { section { padding: var(--sp-20) 0; } }
