/* =========================================================
   HEADER v1.0.4
   Quiet editorial header with a subtle NANAIRO accent.
========================================================= */
.nnr-header{
  --header-height:92px;
  --header-logo-height:54px;
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  background:rgba(249,248,244,.96);
  border-bottom:1px solid rgba(7,29,53,.10);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:background-color .3s ease,box-shadow .3s ease;
}
.admin-bar .nnr-header{top:32px}
.nnr-header__accent{
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,#e15b3d 0 14.28%,#efa43a 14.28% 28.56%,#e3c44b 28.56% 42.84%,#77a96a 42.84% 57.12%,#4d91a8 57.12% 71.4%,#5f72aa 71.4% 85.68%,#9a668f 85.68% 100%);
  opacity:.9;
}
.nnr-header.is-scrolled{background:rgba(249,248,244,.985);box-shadow:0 10px 34px rgba(6,24,45,.07)}
.nnr-header__inner{
  min-height:var(--header-height);
  width:100%;
  display:grid;
  grid-template-columns:minmax(270px,1fr) minmax(560px,auto) minmax(170px,1fr);
  align-items:center;
  gap:clamp(24px,3vw,58px);
  padding:3px var(--gut) 0;
  white-space:nowrap;
  transition:min-height .3s ease;
}
.nnr-header.is-scrolled .nnr-header__inner{min-height:78px}
.nnr-brand{display:inline-flex;align-items:center;width:max-content;line-height:0}
.nnr-brand__logo{display:block;width:auto;height:var(--header-logo-height);max-width:300px;object-fit:contain;object-position:left center;transition:height .3s ease}
.nnr-header.is-scrolled .nnr-brand__logo{height:47px}
.nnr-global-nav{min-width:0}
.nnr-global-nav__inner{display:flex;align-items:center;justify-content:center}
.nnr-global-nav__eyebrow,.nnr-global-nav__contact{display:none!important}
.nnr-global-nav ul{display:flex;align-items:center;justify-content:center;gap:clamp(24px,2.25vw,44px);list-style:none;margin:0;padding:0}
.nnr-global-nav li{margin:0}
.nnr-global-nav a{position:relative;display:block;padding:34px 0 31px;font-size:12px;font-weight:600;letter-spacing:.085em;color:var(--n);text-decoration:none}
.nnr-global-nav a>span{display:none}
.nnr-global-nav a::after{content:"";position:absolute;left:50%;bottom:25px;width:18px;height:1px;background:var(--n);transform:translateX(-50%) scaleX(0);transition:transform .28s ease}
.nnr-global-nav a:hover::after,.nnr-global-nav a:focus-visible::after{transform:translateX(-50%) scaleX(1)}
.nnr-header__contact{
  position:relative;
  isolation:isolate;
  justify-self:end;
  width:210px;
  min-height:52px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  overflow:hidden;
  border:1px solid var(--n);
  background:var(--n);
  color:#fff;
  font-family:var(--serif);
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  text-decoration:none;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.nnr-header__contact::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  opacity:0;
  background:linear-gradient(100deg,#de4e43 0%,#ef8736 17%,#edc84c 34%,#74ac67 51%,#4ba5b3 67%,#527cc0 83%,#98619a 100%);
  background-size:180% 100%;
  background-position:0 50%;
  transition:opacity .32s ease,background-position .62s ease;
}
.nnr-header__contact span{position:relative;z-index:1;white-space:nowrap}
.nnr-header__contact i{
  position:relative;z-index:1;
  color:#f2a13a;
  font-style:normal;
  font-size:18px;
  line-height:1;
  transition:transform .28s ease,color .28s ease;
}
.nnr-header__contact:hover,
.nnr-header__contact:focus-visible{
  color:#fff;
  border-color:transparent;
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(7,29,53,.15);
}
.nnr-header__contact:hover::before,
.nnr-header__contact:focus-visible::before{opacity:1;background-position:100% 50%}
.nnr-header__contact:hover i,
.nnr-header__contact:focus-visible i{color:#fff;transform:translate(4px,-2px)}
.nnr-menu-button{display:none}
body.nnr-menu-open{overflow:hidden}
