.roky-space-header {
  --header-ink: #18352e;
  --header-accent: #00c7b1;
  --header-height: 128px;
  position: relative;
  z-index: 20;
  background: #fff;
  color: var(--header-ink);
  font: 400 16px/1.65 InterVariable, "PingFang HK", "Microsoft JhengHei", sans-serif;
}
.roky-space-header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: calc(100% - 64px);
  max-width: none;
  height: var(--header-height);
  margin-inline: auto;
}
.roky-space-header .brand-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  line-height: 1;
}
.roky-space-header .brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.roky-space-header nav {
  display: flex;
  gap: clamp(14px, 1.6vw, 28px);
  margin-left: auto;
}
.roky-space-header nav a {
  position: relative;
  padding-block: 14px;
  color: var(--header-ink);
  font-size: clamp(12px, .96vw, 16px);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.roky-space-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--header-ink);
  content: "";
  transform: scaleX(0);
  transition: transform .18s ease;
}
.roky-space-header nav a:is([aria-current], :hover, :focus-visible)::after { transform: scaleX(1); }
.roky-space-header .header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 18px;
}
.roky-space-header .header-brief {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 246px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 246px;
  height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--header-accent);
  border-radius: 5px;
  background: var(--header-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.roky-space-header .header-brief:is(:hover, :focus-visible) {
  background: #fff;
  color: var(--header-accent);
}
.roky-space-header :focus-visible {
  outline: 3px solid #67bbaf;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #fff;
}
.roky-space-header .menu-toggle {
  display: none;
  min-width: 56px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--header-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--header-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
@media (max-width: 1199px) {
  .roky-space-header { --header-height: 120px; }
  .roky-space-header .header-row { width: calc(100% - 48px); gap: 20px; }
  .roky-space-header .header-actions { margin-left: auto; }
  .roky-space-header .menu-toggle { display: block; }
  .roky-space-header nav {
    display: none;
    position: absolute;
    inset: var(--header-height) 0 auto;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 14px 24px 22px;
    border-bottom: 1px solid #d8dcd5;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .roky-space-header nav.is-open {
    display: flex;
    scrollbar-gutter: stable;
    scroll-padding-block: 8px;
  }
  .roky-space-header nav a { flex: 0 0 auto; min-height: 48px; padding-block: 12px; }
  .roky-space-header nav a::after { right: auto; bottom: 5px; width: 30px; }
}
@media (max-width: 800px) {
  .roky-space-header { --header-height: 108px; }
  .roky-space-header .header-row { width: calc(100% - 32px); gap: 16px; }
  .roky-space-header .brand-logo { width: 68px; height: 68px; }
  .roky-space-header .header-actions { gap: 10px; }
  .roky-space-header .header-brief { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .roky-space-header nav a::after, .roky-space-header .header-brief { transition: none; }
}
@media (forced-colors: active) {
  .roky-space-header, .roky-space-header :is(a, button, nav) {
    background: Canvas;
    color: CanvasText;
    border-color: ButtonText;
  }
}
