/* Nikausync — deep canal teal + amber signal, editorial split grid with stat numerals. */
/* Typography: Instrument Sans (UI) + Fraunces (display). Layout: sticky masthead, horizontal service ticker. */
/* Light sand panels alternate ink bands; motion: waveform bars + marquee, off under prefers-reduced-motion. */
/* Signature colour oklch(0.72 0.14 65); surfaces oklch(0.97 0.01 180) / oklch(0.22 0.04 195). */
/* Reference mood only: layered hero, confident type, studio warmth — not a template clone. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --nksn-ink: oklch(0.22 0.04 195);
  --nksn-ink-soft: oklch(0.35 0.035 195);
  --nksn-sand: oklch(0.97 0.012 180);
  --nksn-sand-deep: oklch(0.93 0.018 185);
  --nksn-signal: oklch(0.72 0.14 65);
  --nksn-signal-deep: oklch(0.58 0.13 58);
  --nksn-teal: oklch(0.42 0.07 195);
  --nksn-line: oklch(0.86 0.02 190);
  --nksn-focus: oklch(0.55 0.12 230);
  --nksn-radius: 0.65rem;
  --nksn-shadow: 0 18px 50px oklch(0.2 0.04 195 / 0.12);
  --nksn-font: "Instrument Sans", system-ui, sans-serif;
  --nksn-display: "Fraunces", Georgia, serif;
  --nksn-max: 72rem;
  --nksn-pad: clamp(1rem, 3vw, 1.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.nksn-body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--nksn-font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--nksn-ink);
  background: var(--nksn-sand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--nksn-radius) + 2px);
}

a {
  color: var(--nksn-teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--nksn-signal-deep);
}

h1,
h2,
h3 {
  font-family: var(--nksn-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  margin: 0.35rem 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

.nksn-inner {
  width: min(100% - 2 * var(--nksn-pad), var(--nksn-max));
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

#main {
  min-width: 0;
}

.nksn-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--nksn-ink);
  color: #fff;
  border-radius: var(--nksn-radius);
}

.nksn-skip:focus {
  left: var(--nksn-pad);
  top: var(--nksn-pad);
  outline: 3px solid var(--nksn-focus);
  outline-offset: 2px;
}

.nksn-masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: oklch(0.99 0.008 180 / 0.92);
  border-bottom: 1px solid var(--nksn-line);
  backdrop-filter: blur(10px);
}

.nksn-masthead-in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.nksn-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--nksn-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--nksn-ink);
  margin-right: auto;
}

.nksn-logo-mark {
  width: 2rem;
  height: 2rem;
  color: var(--nksn-teal);
  flex-shrink: 0;
}

.nksn-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--nksn-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nksn-ink);
  font: inherit;
  cursor: pointer;
}

.nksn-menu-btn-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.nksn-rail {
  display: none;
}

.nksn-rail-open {
  display: flex;
}

.nksn-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nksn-rail-list a {
  display: block;
  padding: 0.65rem 0.25rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--nksn-ink);
  min-height: 2.75rem;
}

.nksn-rail-list a[aria-current="page"] {
  color: var(--nksn-signal-deep);
}

.nksn-rail-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.nksn-lang {
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--nksn-line);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nksn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.nksn-cta-primary {
  background: var(--nksn-signal);
  color: var(--nksn-ink);
  border-color: var(--nksn-signal-deep);
}

.nksn-cta-primary:hover {
  background: var(--nksn-signal-deep);
  color: #fff;
}

.nksn-cta-ghost {
  background: transparent;
  border-color: var(--nksn-line);
  color: var(--nksn-ink);
}

.nksn-cta-ghost:hover {
  border-color: var(--nksn-teal);
  color: var(--nksn-teal);
}

.nksn-textbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--nksn-teal);
  text-decoration: underline;
  cursor: pointer;
  min-height: 2.75rem;
}

.nksn-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.nksn-band {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.nksn-band--sand {
  background: var(--nksn-sand-deep);
}

.nksn-band--ink {
  background: var(--nksn-ink);
  color: oklch(0.96 0.01 180);
}

.nksn-band--ink a {
  color: var(--nksn-signal);
}

.nksn-band--ink h2,
.nksn-band--ink h3 {
  color: #fff;
}

.nksn-band--cta {
  background: linear-gradient(135deg, var(--nksn-teal), var(--nksn-ink));
  color: #fff;
}

.nksn-band--cta a {
  color: inherit;
}

.nksn-band--hero {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 0;
  background: radial-gradient(120% 80% at 10% 0%, oklch(0.88 0.04 195), var(--nksn-sand));
}

.nksn-hero-home-copy {
  max-width: 42rem;
}

.nksn-pagehead {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.nksn-pagehead-copy {
  max-width: min(44rem, 100%);
  min-width: 0;
}

.nksn-hero-home-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.nksn-pagehead-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.nksn-pagehead-media img {
  width: 100%;
  box-shadow: var(--nksn-shadow);
}

.nksn-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--nksn-teal);
  margin: 0 0 0.5rem;
}

.nksn-lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 38ch;
  color: var(--nksn-ink-soft);
}

.nksn-meta {
  font-size: 0.92rem;
  color: var(--nksn-ink-soft);
  margin-top: 0.5rem;
}

.nksn-band-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.nksn-wavebar {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 2.5rem;
  margin-top: 1.25rem;
}

.nksn-wavebar span {
  width: 5px;
  border-radius: 3px;
  background: var(--nksn-signal);
  animation: nksn-wave 1.1s ease-in-out infinite;
}

.nksn-wavebar span:nth-child(1) { animation-delay: 0s; height: 35%; }
.nksn-wavebar span:nth-child(2) { animation-delay: 0.08s; height: 55%; }
.nksn-wavebar span:nth-child(3) { animation-delay: 0.16s; height: 70%; }
.nksn-wavebar span:nth-child(4) { animation-delay: 0.24s; height: 45%; }
.nksn-wavebar span:nth-child(5) { animation-delay: 0.32s; height: 80%; }
.nksn-wavebar span:nth-child(6) { animation-delay: 0.4s; height: 50%; }
.nksn-wavebar span:nth-child(7) { animation-delay: 0.48s; height: 65%; }
.nksn-wavebar span:nth-child(8) { animation-delay: 0.56s; height: 40%; }
.nksn-wavebar span:nth-child(9) { animation-delay: 0.64s; height: 75%; }
.nksn-wavebar span:nth-child(10) { animation-delay: 0.72s; height: 55%; }
.nksn-wavebar span:nth-child(11) { animation-delay: 0.8s; height: 68%; }
.nksn-wavebar span:nth-child(12) { animation-delay: 0.88s; height: 42%; }

@keyframes nksn-wave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

.nksn-ticker {
  overflow: hidden;
  max-width: 100%;
  border-top: 1px solid var(--nksn-line);
  margin-top: 2rem;
  padding: 0.85rem 0;
  background: var(--nksn-ink);
  color: var(--nksn-signal);
}

.nksn-hero-home {
  overflow: hidden;
  max-width: 100%;
}

.nksn-ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: nksn-ticker 28s linear infinite;
  font-family: var(--nksn-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nksn-ticker-track span {
  white-space: nowrap;
}

@keyframes nksn-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nksn-statwall {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}

.nksn-statwall-item {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
}

.nksn-statwall-num {
  display: block;
  font-family: var(--nksn-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--nksn-signal-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.nksn-duo {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  min-width: 0;
}

.nksn-duo > *,
.nksn-pagehead-grid > * {
  min-width: 0;
}

.nksn-duo--city {
  align-items: center;
}

.nksn-duo--article {
  grid-template-columns: 1fr;
}

.nksn-duo-side {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
  min-width: 0;
  max-width: 100%;
}

.nksn-offer-grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.nksn-offer-card a {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.nksn-offer-card a:hover {
  box-shadow: var(--nksn-shadow);
  transform: translateY(-2px);
}

.nksn-offer-price {
  margin-top: auto;
  font-weight: 700;
  color: var(--nksn-teal);
}

.nksn-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: nksn-step;
  display: grid;
  gap: 1rem;
}

.nksn-flow-step {
  counter-increment: nksn-step;
  padding: 1rem 1rem 1rem 3.25rem;
  position: relative;
  background: #fff;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
}

.nksn-flow-step::before {
  content: counter(nksn-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--nksn-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--nksn-signal-deep);
}

.nksn-rate-scroll {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nksn-rate-scroll li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--nksn-line);
}

.nksn-copy {
  max-width: min(68ch, 100%);
  min-width: 0;
  overflow-wrap: break-word;
}

.nksn-copy code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nksn-copy-table {
  overflow-x: auto;
  max-width: 100%;
  margin: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.nksn-copy-table:focus {
  outline: 3px solid var(--nksn-focus);
  outline-offset: 2px;
}

.nksn-copy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.nksn-copy th,
.nksn-copy td {
  border: 1px solid var(--nksn-line);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.nksn-copy th {
  background: var(--nksn-sand-deep);
}

.nksn-faq details {
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

.nksn-faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.55rem 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.nksn-faq-body {
  padding-bottom: 0.75rem;
}

.nksn-crumbs {
  max-width: 100%;
  min-width: 0;
}

.nksn-crumbs ol {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.88rem;
  max-width: 100%;
}

.nksn-crumbs li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nksn-crumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--nksn-ink-soft);
}

.nksn-index ol {
  margin: 0;
}

.nksn-index-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.nksn-index-col ul {
  list-style: none;
  padding: 0;
}

.nksn-brief {
  padding: 1rem 1.15rem;
  background: var(--nksn-sand-deep);
  border-radius: var(--nksn-radius);
  margin-bottom: 1.5rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.nksn-brief ul,
.nksn-copy ul,
.nksn-copy ol {
  padding-inline-start: 1.15rem;
  overflow-wrap: break-word;
}

.nksn-form p {
  margin-bottom: 0.85rem;
}

.nksn-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.nksn-form input,
.nksn-form select,
.nksn-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
  font: inherit;
  background: #fff;
  min-height: 2.75rem;
}

.nksn-form-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.nksn-form-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.nksn-form-check input {
  width: auto;
  margin-top: 0.35rem;
}

.nksn-form-note {
  font-size: 0.92rem;
  color: var(--nksn-ink-soft);
}

.nksn-foot {
  background: var(--nksn-ink);
  color: oklch(0.94 0.01 180);
  margin-top: 2rem;
}

.nksn-foot a {
  color: var(--nksn-signal);
}

.nksn-foot-grid {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem 0 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.nksn-foot-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  color: #fff;
}

.nksn-foot-brand {
  font-family: var(--nksn-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.nksn-foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nksn-foot-col li {
  margin-bottom: 0.35rem;
}

.nksn-foot-base {
  border-top: 1px solid oklch(1 0 0 / 0.12);
  padding: 1.25rem 0 2rem;
  font-size: 0.88rem;
  color: oklch(0.85 0.02 190);
}

.nksn-gate {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  padding: var(--nksn-pad);
}

.nksn-gate-in {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--nksn-line);
  border-radius: var(--nksn-radius);
  box-shadow: var(--nksn-shadow);
}

.nksn-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.nksn-gate-actions .nksn-cta-primary,
.nksn-gate-actions .nksn-cta-ghost {
  flex: 1 1 8rem;
}

.nksn-gate-panel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--nksn-line);
}

.nksn-gate-panel ul {
  list-style: none;
  padding: 0;
}

.nksn-gate-panel li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

.nksn-gate-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
}

.nksn-gate-always {
  font-size: 0.88rem;
  color: var(--nksn-ink-soft);
}

:focus-visible {
  outline: 3px solid var(--nksn-focus);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .nksn-menu-btn {
    display: none;
  }

  .nksn-rail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
  }

  .nksn-rail-open {
    display: flex;
  }

  .nksn-rail-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nksn-rail-list a {
    padding: 0.45rem 0.65rem;
  }

  .nksn-rail-tools {
    margin-top: 0;
  }

  .nksn-hero-home-grid,
  .nksn-pagehead-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .nksn-duo {
    grid-template-columns: 1fr 1fr;
  }

  .nksn-duo--article {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.75fr);
  }
}

@media (max-width: 899px) {
  .nksn-rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--nksn-pad) 1.25rem;
    background: oklch(0.99 0.008 180 / 0.98);
    border-bottom: 1px solid var(--nksn-line);
    box-shadow: var(--nksn-shadow);
  }

  .nksn-masthead {
    position: relative;
  }

  .nksn-masthead-in {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nksn-wavebar span,
  .nksn-ticker-track {
    animation: none;
  }

  .nksn-offer-card a {
    transition: none;
  }
}
