/*
Theme Name: Nautic Solo Editorial
Theme URI: https://nautic-solo.com/
Author: Nautic Solo
Author URI: https://nautic-solo.com/
Description: Editorial WordPress theme for Nautic Solo resources.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nautic-solo
*/

:root {
  --ns-canvas: #f6f4ee;
  --ns-canvas-soft: #efede6;
  --ns-surface: #fbfaf7;
  --ns-surface-warm: #eee7de;
  --ns-ink: #1c1d1a;
  --ns-ink-soft: #343632;
  --ns-muted: #6f716a;
  --ns-muted-light: #9c9e96;
  --ns-border: rgba(39, 40, 36, .13);
  --ns-border-strong: rgba(39, 40, 36, .25);
  --ns-clay: #b96347;
  --ns-clay-soft: #e9c8b9;
  --ns-amber: #b47d35;
  --ns-marine: #172b2d;
  --ns-peach: #dfa388;
  --ns-shadow: 0 24px 80px rgba(41, 38, 31, .08);
  --ns-radius-sm: 8px;
  --ns-radius-md: 12px;
  --ns-radius-lg: 18px;
  --ns-font-sans: "Manrope", "Segoe UI", sans-serif;
  --ns-font-editorial: "Newsreader", Georgia, serif;
  --ns-shell: min(1200px, calc(100vw - 72px));
  --ns-shell-wide: min(1400px, calc(100vw - 48px));
  --ns-ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ns-canvas);
  color: var(--ns-ink);
  font-family: var(--ns-font-sans);
  -webkit-font-smoothing: antialiased;
}
body.ns-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
.ns-shell { width: var(--ns-shell); margin-inline: auto; }
.ns-shell-wide { width: var(--ns-shell-wide); margin-inline: auto; }
.ns-skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 16px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 6px;
  background: #fff;
}
.ns-skip:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(185, 99, 71, .42); outline-offset: 4px; }

/* Shared typography and controls */
.ns-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ns-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ns-eyebrow > span:first-child { width: 5px; height: 5px; border-radius: 50%; background: var(--ns-clay); }
.ns-micro { color: var(--ns-muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  border: 1px solid var(--ns-ink);
  border-radius: var(--ns-radius-sm);
  background: var(--ns-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms var(--ns-ease), background 260ms, border-color 260ms;
}
.ns-button:hover { transform: translateY(-2px); border-color: var(--ns-clay); background: var(--ns-clay); }
.ns-button-small { min-height: 40px; padding-inline: 18px; }
.ns-button-light { border-color: #fff; background: var(--ns-surface); color: var(--ns-ink); }
.ns-button-light:hover { border-color: var(--ns-peach); background: var(--ns-peach); }

/* Header */
.ns-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 68px;
  border-bottom: 1px solid transparent;
  background: rgba(246, 244, 238, .76);
  backdrop-filter: blur(12px);
  transition: background 360ms, border-color 360ms, box-shadow 360ms;
}
.admin-bar .ns-header { top: 32px; }
.ns-header.is-scrolled { border-bottom-color: var(--ns-border); background: rgba(250, 249, 245, .94); box-shadow: 0 8px 35px rgba(39, 37, 31, .035); }
.ns-header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ns-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.ns-brand-symbol { position: relative; width: 28px; height: 28px; display: block; flex: 0 0 28px; border: 1px solid var(--ns-border-strong); border-radius: 50%; }
.ns-brand-symbol i { position: absolute; top: 8px; left: 7px; width: 5px; height: 10px; border: 1px solid currentColor; border-radius: 50% 50% 42% 42%; transform: rotate(-22deg); }
.ns-brand-symbol i:last-child { left: 14px; transform: rotate(22deg); }
.ns-desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; color: var(--ns-ink-soft); font-size: 12px; }
.ns-desktop-nav > a, .ns-solutions-trigger { padding-block: 25px; }
.ns-desktop-nav > a { position: relative; transition: color 160ms; }
.ns-desktop-nav > a:hover, .ns-desktop-nav > a.is-current { color: var(--ns-clay); }
.ns-desktop-nav > a.is-current::after { position: absolute; right: 0; bottom: 17px; left: 0; height: 1px; background: var(--ns-clay); content: ""; }
.ns-solutions { position: relative; }
.ns-solutions-trigger { border: 0; background: transparent; color: inherit; cursor: pointer; }
.ns-solutions-trigger span { display: inline-block; margin-left: 4px; transition: transform 300ms; }
.ns-solutions.is-open .ns-solutions-trigger { color: var(--ns-clay); }
.ns-solutions.is-open .ns-solutions-trigger span { transform: rotate(180deg); }
.ns-solutions-panel {
  position: fixed;
  z-index: 110;
  top: 68px;
  left: 50%;
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100svh - 84px);
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1fr .85fr;
  transform: translateX(-50%);
  border: 1px solid var(--ns-border);
  border-radius: 0 0 var(--ns-radius-md) var(--ns-radius-md);
  background: rgba(250, 249, 245, .99);
  box-shadow: var(--ns-shadow);
  overflow-y: auto;
}
.admin-bar .ns-solutions-panel { top: 100px; }
.ns-solutions-panel[hidden] { display: none; }
.ns-mega-intro, .ns-mega-group { padding: 30px; }
.ns-mega-intro { display: flex; flex-direction: column; background: var(--ns-surface-warm); }
.ns-mega-intro p { margin: 55px 0 35px; color: var(--ns-ink-soft); font-size: 16px; line-height: 1.5; }
.ns-mega-intro a { margin-top: auto; font-size: 11px; font-weight: 700; }
.ns-mega-group { border-left: 1px solid var(--ns-border); }
.ns-mega-group > p { margin: 0 0 18px; color: var(--ns-muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-mega-group a { display: block; padding: 12px 0; border-top: 1px solid var(--ns-border); }
.ns-mega-group strong { display: block; margin-bottom: 4px; color: var(--ns-ink); font-size: 13px; font-weight: 650; transition: color 160ms, transform 160ms; }
.ns-mega-group small { display: block; color: var(--ns-muted); font-size: 10px; line-height: 1.35; }
.ns-mega-group a:hover strong { color: var(--ns-clay); transform: translateX(3px); }
.ns-header-actions { display: flex; align-items: center; gap: 18px; font-size: 11px; }
.ns-text-link { padding-bottom: 3px; border-bottom: 1px solid var(--ns-border-strong); }
.ns-mobile-trigger, .ns-mobile-nav { display: none; }

/* Blog index */
.ns-blog-index { position: relative; padding: clamp(80px, 8vw, 120px) 0 clamp(120px, 12vw, 180px); overflow: hidden; }
.ns-blog-index::before { position: absolute; top: -300px; right: -250px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(223, 163, 136, .19), rgba(185, 99, 71, .045) 44%, transparent 71%); content: ""; pointer-events: none; }
.ns-blog-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(55px, 7vw, 108px); margin-bottom: clamp(85px, 10vw, 140px); }
.ns-blog-head { max-width: 760px; }
.ns-blog-head h1 { margin: 0; font-size: clamp(58px, 7vw, 102px); font-weight: 520; letter-spacing: -.065em; line-height: .97; }
.ns-blog-head h1 em { display: block; color: var(--ns-muted); font-family: var(--ns-font-editorial); font-weight: 400; letter-spacing: -.035em; }
.ns-blog-head > p:last-child { max-width: 650px; margin: 30px 0 0; color: var(--ns-muted); font-size: 17px; line-height: 1.65; }
.ns-blog-visual { position: relative; min-height: 500px; border: 1px solid var(--ns-border); border-radius: var(--ns-radius-lg); background: linear-gradient(rgba(39,40,36,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(39,40,36,.055) 1px, transparent 1px), radial-gradient(circle at 84% 12%, rgba(223,163,136,.24), transparent 42%), radial-gradient(circle at 16% 92%, rgba(23,43,45,.1), transparent 40%), rgba(251,250,247,.88); background-size: 44px 44px, 44px 44px, auto, auto, auto; box-shadow: var(--ns-shadow); overflow: hidden; }
.ns-visual-orbit { position: absolute; top: 42px; right: 44px; width: 118px; height: 118px; border: 1px solid rgba(185,99,71,.25); border-radius: 50%; animation: ns-orbit 8s ease-in-out infinite alternate; }
.ns-visual-orbit::before { position: absolute; inset: 25%; border: 1px solid rgba(23,43,45,.18); border-radius: 50%; content: ""; }
.ns-visual-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--ns-clay); }
.ns-visual-orbit i:nth-child(1) { top: 12%; left: 24%; }
.ns-visual-orbit i:nth-child(2) { right: 7%; bottom: 32%; background: var(--ns-amber); }
.ns-visual-orbit i:nth-child(3) { bottom: 5%; left: 25%; background: var(--ns-marine); }
.ns-visual-card { position: absolute; z-index: 1; top: 50%; left: 50%; width: min(78%, 410px); padding: 32px; transform: translate(-50%, -50%); border: 1px solid rgba(39,40,36,.16); border-radius: 20px; background: rgba(255,255,255,.91); box-shadow: 0 24px 70px rgba(28,29,26,.12); backdrop-filter: blur(16px); }
.ns-visual-card small { color: var(--ns-muted-light); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.ns-visual-card > strong { display: block; margin-top: 16px; font-size: clamp(26px, 2.5vw, 36px); font-weight: 520; letter-spacing: -.05em; line-height: 1.08; }
.ns-visual-progress { height: 3px; margin: 26px 0 20px; border-radius: 999px; background: var(--ns-canvas-soft); overflow: hidden; }
.ns-visual-progress i { width: 78%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--ns-clay), var(--ns-peach), var(--ns-marine)); animation: ns-progress 3.5s var(--ns-ease) infinite; }
.ns-visual-card ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ns-visual-card li { min-height: 39px; display: flex; align-items: center; gap: 13px; padding: 0 12px; border-radius: 9px; background: rgba(239,237,230,.76); color: var(--ns-muted); font-size: 11px; }
.ns-visual-card li:last-child { background: var(--ns-clay-soft); color: var(--ns-ink); }
.ns-visual-card li span { color: var(--ns-muted-light); font-size: 8px; font-weight: 700; }
.ns-visual-status { position: absolute; z-index: 2; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--ns-border); border-radius: 999px; background: rgba(255,255,255,.86); color: var(--ns-muted); font-size: 9px; font-weight: 650; box-shadow: 0 12px 30px rgba(28,29,26,.08); }
.ns-visual-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ns-clay); box-shadow: 0 0 0 4px rgba(185,99,71,.12); animation: ns-pulse 1.8s ease-in-out infinite; }
.ns-post-heading { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--ns-border-strong); }
.ns-post-heading .ns-eyebrow { margin: 0; }
.ns-post-heading > p:last-child { max-width: 520px; margin: 0; color: var(--ns-muted); font-size: 13px; line-height: 1.6; }
.ns-post-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ns-post-card { min-height: 350px; display: flex; flex-direction: column; padding: 38px 40px 42px; border: 1px solid var(--ns-border); border-radius: var(--ns-radius-md); background: rgba(251,250,247,.78); box-shadow: 0 14px 42px rgba(28,29,26,.035); transition: transform 360ms var(--ns-ease), box-shadow 360ms var(--ns-ease), border-color 360ms; }
.ns-post-card:hover { transform: translateY(-5px); border-color: var(--ns-border-strong); box-shadow: 0 24px 64px rgba(28,29,26,.08); }
.ns-post-card:first-of-type { position: relative; grid-column: 1 / -1; min-height: 420px; padding: clamp(48px, 6vw, 74px); background: radial-gradient(circle at 86% 12%, rgba(223,163,136,.25), transparent 38%), radial-gradient(circle at 68% 90%, rgba(23,43,45,.1), transparent 35%), var(--ns-surface); overflow: hidden; }
.ns-post-card:first-of-type::after { position: absolute; right: clamp(38px, 7vw, 94px); bottom: -84px; width: clamp(180px, 23vw, 300px); height: clamp(180px, 23vw, 300px); border: 1px solid rgba(185,99,71,.23); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(233,200,185,.75) 40%, rgba(238,231,222,.65) 70%, rgba(23,43,45,.13)); box-shadow: 0 24px 70px rgba(185,99,71,.11); content: ""; }
.ns-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ns-muted-light); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.ns-post-meta span + span::before { margin-right: 10px; color: var(--ns-border-strong); content: "·"; }
.ns-post-card h2 { max-width: 540px; margin: 28px 0 16px; font-size: clamp(31px, 3.2vw, 48px); font-weight: 520; letter-spacing: -.052em; line-height: 1.02; }
.ns-post-card h2 a { transition: color 160ms; }
.ns-post-card h2 a:hover { color: var(--ns-clay); }
.ns-post-excerpt { max-width: 540px; color: var(--ns-muted); font-size: 15px; line-height: 1.65; }
.ns-post-excerpt p { margin: 0; }
.ns-post-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 13px; font-weight: 650; }
.ns-post-link span { color: var(--ns-clay); transition: transform 160ms var(--ns-ease); }
.ns-post-link:hover span { transform: translateX(4px); }
.ns-post-card:first-of-type .ns-post-meta, .ns-post-card:first-of-type h2, .ns-post-card:first-of-type .ns-post-excerpt, .ns-post-card:first-of-type .ns-post-link { position: relative; z-index: 1; max-width: 62%; }
.ns-post-card:first-of-type h2 { font-size: clamp(42px, 5.2vw, 70px); }
.ns-empty-state { grid-column: 1 / -1; min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 7vw, 90px); border: 1px solid var(--ns-border); border-radius: var(--ns-radius-md); background: radial-gradient(circle at 82% 20%, rgba(223,163,136,.21), transparent 34%), var(--ns-surface); }
.ns-empty-state > span { color: var(--ns-clay); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-empty-state h2 { max-width: 700px; margin: 26px 0 18px; font-size: clamp(42px, 5vw, 70px); font-weight: 520; letter-spacing: -.055em; line-height: 1; }
.ns-empty-state p { max-width: 570px; margin: 0; color: var(--ns-muted); line-height: 1.65; }
.navigation.pagination { grid-column: 1 / -1; padding-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 13px; border: 1px solid var(--ns-border); border-radius: 999px; background: rgba(255,255,255,.55); font-size: 12px; }
.page-numbers.current { border-color: var(--ns-ink); background: var(--ns-ink); color: #fff; }

/* Articles */
.ns-article { padding: clamp(82px, 9vw, 132px) 0 clamp(120px, 12vw, 180px); }
.ns-article > .ns-shell { max-width: 1180px; }
.ns-article article > header { max-width: 980px; margin-bottom: 64px; }
.ns-article-back { display: inline-flex; margin-bottom: 64px; color: var(--ns-muted); font-size: 13px; font-weight: 600; }
.ns-article-back:hover { color: var(--ns-clay); }
.ns-article article header h1 { margin: 24px 0 0; font-size: clamp(54px, 8vw, 108px); font-weight: 520; letter-spacing: -.068em; line-height: .96; }
.ns-article-deck { max-width: 750px; margin: 30px 0 0; color: var(--ns-muted); font-size: 20px; line-height: 1.55; }
.ns-article-image { margin: 0 0 78px; }
.ns-article-image img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--ns-radius-md); }
.ns-article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(60px, 9vw, 130px); justify-content: center; padding-top: 74px; border-top: 1px solid var(--ns-border); }
.ns-article-aside { align-self: start; position: sticky; top: 120px; padding-top: 16px; border-top: 1px solid var(--ns-border-strong); }
.ns-article-aside span { color: var(--ns-clay); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ns-article-aside p { color: var(--ns-muted); font-size: 12px; line-height: 1.6; }
.ns-article-body { min-width: 0; color: #30312e; font-family: var(--ns-font-editorial); font-size: 20px; line-height: 1.76; }
.ns-article-body > *:first-child { margin-top: 0; }
.ns-article-body > * + * { margin-top: 1.45em; }
.ns-article-body h2, .ns-article-body h3, .ns-article-body h4 { margin-top: 2.2em; color: var(--ns-ink); font-family: var(--ns-font-sans); font-weight: 520; letter-spacing: -.045em; line-height: 1.12; }
.ns-article-body h2 { font-size: clamp(34px, 4vw, 50px); }
.ns-article-body h3 { font-size: clamp(25px, 3vw, 35px); }
.ns-article-body a { color: var(--ns-clay); text-decoration: underline; text-underline-offset: 3px; }
.ns-article-body blockquote { margin: 2.2em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--ns-clay); color: var(--ns-ink); font-size: 27px; line-height: 1.45; }
.ns-article-body ul, .ns-article-body ol { padding-left: 1.25em; }
.ns-article-body li + li { margin-top: .55em; }
.ns-article-body img { border-radius: var(--ns-radius-md); }
.ns-article-body figcaption { color: var(--ns-muted); font-family: var(--ns-font-sans); font-size: 11px; }
.ns-article-cta { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; margin-top: 120px; padding: clamp(38px, 6vw, 72px); border-radius: var(--ns-radius-md); background: var(--ns-marine); color: #f7f4ec; }
.ns-article-cta span { color: var(--ns-peach); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ns-article-cta h2 { max-width: 720px; margin: 22px 0 0; font-size: clamp(38px, 5vw, 65px); font-weight: 520; letter-spacing: -.055em; line-height: 1; }
.ns-article-cta .ns-button span { color: inherit; font-size: inherit; letter-spacing: 0; text-transform: none; }

/* Standard pages and 404 */
.ns-page { min-height: 60vh; padding: 100px 0 140px; }
.ns-page article > header { margin-bottom: 60px; }
.ns-page article > header h1, .ns-not-found h1 { max-width: 900px; margin: 0; font-size: clamp(58px, 8vw, 106px); font-weight: 520; letter-spacing: -.065em; line-height: .97; }
.ns-page .ns-article-body { max-width: 760px; }
.ns-not-found { min-height: 68vh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
.ns-not-found .ns-eyebrow { justify-content: center; }
.ns-not-found h1 { margin-inline: auto; }
.ns-not-found p:not(.ns-eyebrow) { max-width: 520px; margin: 24px auto 34px; color: var(--ns-muted); }

/* Footer */
.ns-footer { padding: 82px 0 28px; background: #151714; color: #fff; }
.ns-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 70px; padding-bottom: 70px; }
.ns-footer .ns-brand { margin-bottom: 30px; font-size: 14px; }
.ns-footer .ns-brand-symbol { border-color: rgba(255,255,255,.28); }
.ns-footer-intro > p { max-width: 270px; color: rgba(255,255,255,.6); }
.ns-powered { color: var(--ns-peach); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ns-footer-grid h2 { margin: 0 0 22px; color: rgba(255,255,255,.45); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ns-footer-grid > div:not(:first-child) a { display: block; margin-bottom: 12px; color: rgba(255,255,255,.78); font-size: 13px; }
.ns-footer-grid > div:not(:first-child) a:hover { color: var(--ns-peach); }
.ns-footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

@keyframes ns-progress { 0% { width: 8%; opacity: .6; } 60%, 100% { width: 78%; opacity: 1; } }
@keyframes ns-orbit { from { transform: translate3d(-8px, 5px, 0) scale(.95); } to { transform: translate3d(10px, -7px, 0) scale(1.06); } }
@keyframes ns-pulse { 50% { box-shadow: 0 0 0 7px rgba(185,99,71,0); } }

@media (max-width: 1100px) {
  :root { --ns-shell: min(100% - 48px, 960px); --ns-shell-wide: calc(100% - 32px); }
  .ns-solutions-panel { grid-template-columns: 1fr 1fr 1fr; }
  .ns-mega-intro { display: none; }
  .ns-blog-hero { grid-template-columns: 1fr; gap: 52px; }
  .ns-blog-head { max-width: 900px; }
  .ns-blog-visual { min-height: 460px; max-width: 820px; }
}

@media (max-width: 980px) {
  .admin-bar .ns-header { top: 32px; }
  .ns-desktop-nav, .ns-header-actions { display: none; }
  .ns-mobile-trigger { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
  .ns-mobile-trigger span { width: 22px; height: 1px; background: var(--ns-ink); transition: transform 300ms var(--ns-ease); }
  .ns-mobile-trigger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .ns-mobile-trigger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .ns-mobile-nav { position: fixed; z-index: 120; inset: 68px 0 auto; max-height: calc(100svh - 68px); display: flex; flex-direction: column; overflow-y: auto; padding: 26px 22px 38px; background: #171916; color: #fff; }
  .admin-bar .ns-mobile-nav { top: 100px; }
  .ns-mobile-nav[hidden] { display: none; }
  .ns-mobile-nav > a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 18px; }
  .ns-mobile-nav .ns-button { margin-top: 20px; border-bottom: 0; }
  .ns-mobile-label { margin: 6px 0 10px; color: var(--ns-peach); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .ns-mobile-label-secondary { margin-top: 26px; }
  .ns-post-grid { grid-template-columns: 1fr; }
  .ns-post-card, .ns-post-card:first-of-type { grid-column: auto; min-height: 0; padding: 38px; }
  .ns-post-card:first-of-type .ns-post-meta, .ns-post-card:first-of-type h2, .ns-post-card:first-of-type .ns-post-excerpt, .ns-post-card:first-of-type .ns-post-link { max-width: 72%; }
  .ns-article-layout { grid-template-columns: 1fr; gap: 45px; }
  .ns-article-aside { position: static; max-width: 360px; }
  .ns-article-cta { grid-template-columns: 1fr; align-items: start; }
  .ns-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .ns-footer-grid > div:last-child { grid-column: 2 / 3; }
}

@media (max-width: 782px) {
  .admin-bar .ns-header { top: 46px; }
  .admin-bar .ns-mobile-nav { top: 114px; }
}

@media (max-width: 680px) {
  :root { --ns-shell: calc(100% - 28px); --ns-shell-wide: calc(100% - 20px); }
  .ns-header, .ns-header-inner { height: 64px; }
  .ns-mobile-nav { inset: 64px 0 auto; max-height: calc(100svh - 64px); }
  .ns-brand { font-size: 12px; }
  .ns-blog-index { padding-top: 68px; }
  .ns-blog-hero { gap: 38px; margin-bottom: 76px; }
  .ns-blog-head h1 { font-size: clamp(49px, 14vw, 64px); }
  .ns-blog-head h1 em { margin-top: .08em; }
  .ns-blog-head > p:last-child { font-size: 15px; }
  .ns-blog-visual { min-height: 360px; border-radius: 14px; }
  .ns-visual-orbit { width: 80px; height: 80px; }
  .ns-visual-card { width: calc(100% - 36px); padding: 23px; border-radius: 14px; }
  .ns-visual-card > strong { font-size: 26px; }
  .ns-visual-status { right: 13px; bottom: 12px; }
  .ns-post-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .ns-post-card, .ns-post-card:first-of-type { padding: 29px 26px 32px; border-radius: 12px; }
  .ns-post-card:first-of-type::after { right: -70px; bottom: -85px; opacity: .58; }
  .ns-post-card:first-of-type .ns-post-meta, .ns-post-card:first-of-type h2, .ns-post-card:first-of-type .ns-post-excerpt, .ns-post-card:first-of-type .ns-post-link { max-width: 100%; }
  .ns-post-card:first-of-type h2, .ns-post-card h2 { font-size: 34px; }
  .ns-empty-state { min-height: 340px; padding: 38px 26px; }
  .ns-empty-state h2 { font-size: 43px; }
  .ns-article { padding-top: 68px; }
  .ns-article-back { margin-bottom: 44px; }
  .ns-article article header h1 { font-size: clamp(47px, 13.5vw, 64px); }
  .ns-article-deck { font-size: 17px; }
  .ns-article-layout { padding-top: 50px; }
  .ns-article-body { font-size: 18px; }
  .ns-article-cta { margin-top: 82px; padding: 34px 25px; }
  .ns-article-cta h2 { font-size: 40px; }
  .ns-footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
  .ns-footer-intro { grid-column: 1 / -1; }
  .ns-footer-grid > div:last-child { grid-column: auto; }
  .ns-footer-bottom { gap: 14px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

