/* True Northon: north star night, plum with teal and orange */
:root {
  --plum: #1f0437;
  --plum-2: #2a0a48;
  --plum-3: #361158;
  --night: #140226;
  --teal: #2ec4c6;
  --orange: #ff5a26;
  --orange-2: #ff7a4c;
  --text: rgba(246, 243, 252, .93);
  --text-dim: rgba(232, 224, 245, .8);
  --line: rgba(255, 255, 255, .12);
  --head: "Golos Text", system-ui, sans-serif;
  --body: "Rufina", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plum); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.015em; color: #fff; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
section { scroll-margin-top: 70px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; padding: 16px 0; transition: background .3s, padding .3s; }
.site-header.scrolled { background: rgba(20, 2, 38, .92); padding: 10px 0; backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.primary-nav { display: flex; gap: 6px; align-items: center; }
.primary-nav a { font-family: var(--head); font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 8px; color: var(--text); transition: color .2s, background .2s; }
.primary-nav a:hover { color: var(--teal); }
.primary-nav .nav-cta { border: 1.5px solid var(--teal); color: #fff; margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: #fff; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 6px; border: 1.5px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-ghost { border-color: rgba(46, 196, 198, .7); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 100px; text-align: center; background: radial-gradient(900px 600px at 50% 30%, var(--plum-3), var(--night) 72%); }
.sky i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .3; animation: twinkle 3.2s ease-in-out var(--d) infinite; }
@keyframes twinkle { 50% { opacity: 1; transform: scale(1.6); } }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.star-wrap { width: 240px; height: 240px; margin-bottom: 20px; }
.star-svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: rgba(46, 196, 198, .35); stroke-width: 1.2; }
.r1 { stroke-dasharray: 3 9; animation: spin 40s linear infinite; transform-origin: 150px 150px; }
.r2 { stroke: rgba(255, 90, 38, .35); stroke-dasharray: 60 20; animation: spin 26s linear infinite reverse; transform-origin: 150px 150px; }
.meridian { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawline 1.6s .2s ease-out forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.star { transform-origin: 150px 150px; animation: align 2.6s cubic-bezier(.25, 1.4, .4, 1) .3s both, sway 7s ease-in-out 3s infinite; }
@keyframes align { from { transform: rotate(-135deg) scale(.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.n-mark { font-family: var(--head); font-weight: 800; font-size: 18px; fill: var(--orange); }
.eyebrow { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6vw, 74px); font-weight: 800; max-width: 900px; }
.hero h1 span { color: var(--orange); }
.lead { margin-top: 22px; max-width: 640px; font-size: 19px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.hero .hero-actions { justify-content: center; }

/* Section heads */
.sec-head { margin-bottom: 52px; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.tag::before { content: ""; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; max-width: 760px; }
.sec-head p:not(.tag) { margin-top: 16px; color: var(--text-dim); max-width: 560px; }

/* Bearings: route along a central meridian */
.bearings { padding: 110px 0; background: var(--plum); }
.bearings .sec-head { text-align: center; }
.bearings .sec-head h2 { margin-inline: auto; }
.route { position: relative; display: grid; gap: 34px; }
.route::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--orange), var(--teal)); transform: translateX(-50%); }
.point { position: relative; width: calc(50% - 46px); background: var(--plum-2); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; transition: transform .25s, border-color .25s, background .25s; }
.point.right { margin-left: auto; }
.point::after { content: ""; position: absolute; top: 36px; right: -54px; width: 16px; height: 16px; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 0 6px rgba(255, 90, 38, .18); }
.point.right::after { right: auto; left: -54px; background: var(--teal); box-shadow: 0 0 0 6px rgba(46, 196, 198, .18); }
.deg { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--orange); letter-spacing: .1em; }
.point h3 { font-size: 26px; margin: 8px 0 10px; }
.point p { color: var(--text-dim); }

/* Philosophy: comparison vs alignment */
.philosophy { padding: 110px 0; background: var(--night); }
.versus { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 24px; align-items: center; }
.side { border-radius: 14px; padding: 34px; border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.side h3 { font-size: 24px; margin-bottom: 16px; }
.side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side li { position: relative; padding-left: 28px; }
.noise { background: rgba(255, 255, 255, .03); }
.noise h3 { color: rgba(240, 232, 250, .7); text-decoration: line-through; text-decoration-color: var(--orange); }
.noise li { color: rgba(236, 228, 248, .78); }
.noise li::before { content: "×"; position: absolute; left: 0; color: var(--orange); font-family: var(--head); font-weight: 700; }
.signal { background: linear-gradient(140deg, rgba(46, 196, 198, .18), rgba(46, 196, 198, .04)); border-color: rgba(46, 196, 198, .5); }
.signal li { color: var(--text); }
.signal li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 10px; background: var(--teal); transform: rotate(45deg); }
.needle svg { width: 64px; height: 64px; display: block; margin: auto; animation: wobble 4s ease-in-out infinite; }
.needle circle { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; }
.needle path { fill: var(--orange); }
@keyframes wobble { 0%, 100% { transform: rotate(-90deg); } 30% { transform: rotate(100deg); } 50%, 80% { transform: rotate(90deg); } }

/* Journeys */
.journeys { padding: 110px 0; background: var(--plum); }
.journeys-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cards { display: grid; gap: 18px; }
.card { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; row-gap: 6px; padding: 26px 28px; border-radius: 14px; background: var(--plum-2); border: 1px solid var(--line); transition: transform .25s, border-color .25s, background .25s; }
.card .c-ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: rgba(46, 196, 198, .14); display: grid; place-items: center; }
.c-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; }
.card p { color: var(--text-dim); font-size: 17px; }

/* Quote: orange band, dark text */
.quote { padding: 96px 0; background: var(--orange); text-align: center; }
.q-star { width: 44px; height: 44px; margin: 0 auto 20px; display: block; fill: var(--plum); animation: spin 14s linear infinite; }
.quote blockquote { margin: 0 auto; max-width: 860px; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3.8vw, 44px); line-height: 1.22; color: var(--night); }

/* FAQ */
.faq { padding: 110px 0; background: var(--night); }
.faq-wrap { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); transition: background .25s; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 10px; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 19px; transition: padding .25s, color .25s; }
.faq-q b { position: relative; flex: 0 0 18px; height: 18px; transform: rotate(45deg); border: 2px solid var(--teal); transition: transform .3s, background .3s; }
.faq-item.open .faq-q b { transform: rotate(225deg); background: var(--orange); border-color: var(--orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 10px 24px; color: var(--text-dim); }

/* Contact */
.contact { padding: 120px 0; text-align: center; background: radial-gradient(700px 400px at 50% 100%, rgba(46, 196, 198, .22), transparent 70%), var(--plum); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
.contact-inner > p:not(.tag) { margin-top: 16px; color: var(--text); max-width: 520px; }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--line); padding: 30px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.foot p { font-size: 15px; color: var(--text-dim); }
.foot .brand span { font-size: 15px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-orange:hover { transform: translateY(-3px); background: var(--orange-2); box-shadow: 0 12px 28px rgba(255, 90, 38, .35); }
  .btn-ghost:hover { transform: translateY(-3px); background: rgba(46, 196, 198, .14); border-color: var(--teal); }
  .primary-nav .nav-cta:hover { background: var(--teal); color: var(--night); }
  .point:hover { transform: translateY(-6px); border-color: rgba(255, 90, 38, .6); background: var(--plum-3); }
  .side:hover { transform: translateY(-6px); border-color: var(--teal); }
  .card:hover { transform: translateX(8px); border-color: rgba(46, 196, 198, .6); background: var(--plum-3); }
  .faq-item:hover { background: rgba(255, 255, 255, .04); }
  .faq-item:hover .faq-q { color: var(--teal); padding-left: 18px; }
}

@media (max-width: 900px) {
  .journeys-grid { grid-template-columns: 1fr; gap: 10px; }
  .versus { grid-template-columns: 1fr; }
  .needle svg { width: 52px; height: 52px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-header { background: rgba(20, 2, 38, .94); padding: 10px 0; }
  .primary-nav { position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: var(--plum-2); border: 1px solid var(--line); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .route::before { left: 9px; }
  .point, .point.right { width: auto; margin-left: 36px; }
  .point::after, .point.right::after { left: -36px; right: auto; top: 34px; width: 14px; height: 14px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 100px 0 76px; }
  .star-wrap { width: 180px; height: 180px; }
  .lead { font-size: 17px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .bearings, .philosophy, .journeys, .faq { padding: 80px 0; }
  .contact { padding: 88px 0; }
  .quote { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .point { padding: 24px 22px; }
  .side { padding: 26px 22px; }
  .card { grid-template-columns: 1fr; padding: 24px 22px; }
  .card .c-ico { grid-row: auto; margin-bottom: 8px; }
  .faq-q { font-size: 17px; padding: 20px 4px; }
  .faq-a p { padding: 0 4px 20px; }
  .brand span { font-size: 16px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .meridian { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
