/* celestestarweb.com · Polaris */
:root {
  --bg: #f8f9fb;
  --paper: #ffffff;
  --ink: #1b2534;
  --soft: #3d4a60;
  --muted: #5f6c84;
  --blue: #344e7a;
  --blue-deep: #22355a;
  --navy: #16233a;
  --silver: #9aa4b2;
  --gold: #c8a24a;
  --line: #dfe4ec;
  --line-soft: #e9edf3;
  --shell: 1160px;
  --display: 'Russo One', 'Arial Black', sans-serif;
  --body: 'Martian Mono', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--blue); }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: .01em; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.1rem); line-height: 1.16; margin: 0 0 .75rem; }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
           color: var(--blue); margin: 0 0 .75rem; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .84rem; margin: 1.1rem 0 0; max-width: 82ch; }

/* star mark (CSS drawn, decorative) */
.star { position: relative; display: inline-block; width: 10px; height: 10px;
        border: 1px solid var(--gold); transform: rotate(45deg); flex: 0 0 auto; }
.star.big { width: 12px; height: 12px; }
.star::after { content: ""; position: absolute; inset: 3px; background: var(--gold); opacity: .85; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 249, 251, .94);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.1rem; padding: .78rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.02rem; letter-spacing: .02em;
            text-decoration: none; color: var(--ink); white-space: nowrap;
            display: inline-flex; align-items: center; gap: .6rem; }
.wm-star { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg);
           display: inline-block; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--blue); text-decoration: none; font-size: .8rem;
              letter-spacing: .06em; text-transform: uppercase; padding: .15rem 0;
              border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center;
       background: var(--blue); color: #ffffff;
       font-family: var(--display); font-size: .84rem; letter-spacing: .05em;
       text-transform: uppercase; padding: .62rem 1.1rem; border-radius: 2px;
       text-decoration: none; border: 1px solid var(--blue);
       transition: background .16s ease, border-color .16s ease; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #ffffff; }
.btn-sm { padding: .42rem .85rem; font-size: .74rem; }
.main-nav a.btn { color: #ffffff; border-bottom: 1px solid var(--blue); }
.main-nav a.btn:hover { color: #ffffff; background: var(--blue-deep); border-color: var(--blue-deep); }

/* hero */
.hero { padding: 2.4rem 0 1.9rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
             gap: 2.5rem; align-items: center; }
.hero-kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
               color: var(--muted); margin: 0 0 1.1rem; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.5rem); line-height: 1; margin: 0 0 1.2rem;
              text-transform: uppercase; color: var(--ink); }
.hero-title span { display: block; }
.hero-title .accent { color: var(--blue); }
.hero-tagline { color: var(--ink); font-size: .98rem; max-width: 38ch; margin: 0 0 1rem; }
.hero-intro { color: var(--muted); max-width: 52ch; margin: 0 0 1.7rem; }
.hero-photo { margin: 0; position: relative; padding-left: 34px; }
.ruler { position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px;
         background: linear-gradient(180deg, var(--gold), var(--blue) 90px, var(--line)); }
.ruler::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 15px;
                background: repeating-linear-gradient(180deg, var(--silver) 0 1px, transparent 1px 26px); }
.north { position: absolute; left: 6px; top: -4px; z-index: 2;
         display: flex; flex-direction: column; align-items: center; gap: .35rem;
         font-size: .62rem; letter-spacing: .14em; color: var(--blue); }
.hero-photo img { display: block; width: 100%; height: 600px; object-fit: cover;
                  object-position: center top; background: var(--paper);
                  border: 1px solid var(--line); }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.1rem; }
.section-last { padding-bottom: 4.2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); background: var(--paper);
                transition: border-color .18s ease, transform .18s ease; }
.partner-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* coordinates band */
.coord-band { border-top: 1px solid var(--line); }
.coord { display: grid; grid-template-columns: 58px 200px minmax(0, 1fr); gap: 1.1rem;
         align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.coord .idx { font-size: .74rem; letter-spacing: .16em; color: var(--gold); }
.coord .lab { font-family: var(--display); font-size: .82rem; text-transform: uppercase;
              letter-spacing: .08em; color: var(--blue); }
.coord .vals { display: flex; flex-wrap: wrap; gap: .5rem 1.9rem; }
.cval { display: flex; flex-direction: column; gap: .1rem; }
.cval .k { font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.cval .v { font-size: .88rem; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr);
              gap: 2.5rem; align-items: start; margin-top: .6rem; }
.about-text p { margin: 0 0 1.05rem; }
.about-photo { margin: 0; background: var(--paper); border: 1px solid var(--line);
               padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.about-photo img { display: block; width: 100%; height: auto; }

/* career */
.career-split { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
                gap: 2.5rem; align-items: start; margin-top: .6rem; }
.career-text p { margin: 0 0 1rem; }
.tickline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--line); }
.tickline li { position: relative; padding: 0 0 1.35rem; }
.tickline li:last-child { padding-bottom: .2rem; }
.tickline li::before { content: ""; position: absolute; left: -1.5rem; top: .52em;
                       width: 16px; height: 1px; background: var(--silver); }
.tickline li:nth-child(even)::before { width: 9px; background: var(--blue); opacity: .5; }
.tickline .when { display: block; font-size: .74rem; letter-spacing: .1em;
                  text-transform: uppercase; color: var(--blue); margin-bottom: .2rem; }
.tickline .what { display: block; font-size: .9rem; color: var(--soft); }

/* gallery */
.era-line { display: flex; align-items: center; gap: .9rem; margin: 1.5rem 0 .95rem; }
.era-line .star { width: 8px; height: 8px; }
.era-line .txt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
                 color: var(--muted); white-space: nowrap; }
.era-line .rule { flex: 1; height: 1px; background: var(--line); }
.gallery-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr) minmax(0, .7fr);
               gap: 22px; align-items: start; }
.g-item { margin: 0; background: var(--paper); border: 1px solid var(--line);
          padding: 13px; display: flex; flex-direction: column; gap: 11px; }
.g-item img { display: block; width: 100%; }
.g-item:not(.g-wide) img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.g-wide { max-width: 640px; margin-left: auto; margin-right: auto; }
.g-wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.polaris { position: relative; border: 1px solid var(--line); background: var(--paper);
           padding: 18px 16px 18px 56px; display: flex; flex-direction: column; gap: .6rem;
           min-height: 100%; }
.p-top { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: .5rem; }
.p-n { font-size: .6rem; letter-spacing: .18em; color: var(--blue); }
.p-spine { position: absolute; left: 32px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.p-spine::after { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 18px;
                  background: repeating-linear-gradient(180deg, var(--silver) 0 1px, transparent 1px 15px); }
.p-spine::before { content: ""; position: absolute; left: -7px; top: 44%; width: 32px; height: 1px;
                   background: var(--gold); }
.polaris .p1 { margin: auto 0 0; font-size: .68rem; letter-spacing: .06em; color: var(--ink); }
.polaris .p2 { margin: 0; font-size: .68rem; letter-spacing: .06em; color: var(--muted); }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1.02rem .45rem; border-bottom: 1px solid var(--line-soft);
              text-decoration: none; transition: background .16s ease, padding .16s ease; }
.social-row .platform { font-family: var(--display); font-size: 1.02rem; color: var(--ink);
                        text-transform: uppercase; letter-spacing: .03em; }
.social-row .handle { font-size: .84rem; color: var(--muted); }
.social-row:hover { background: #eef1f6; padding-left: .8rem; }
.social-row:hover .platform { color: var(--blue); }

/* subpages */
.page-top { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.3rem; }
.page-top h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.05; margin: .2rem 0 .8rem; }
.page-top .lead { color: var(--muted); max-width: 66ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin: 0 0 .8rem; }
.story p { margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { padding: .5rem 0 .5rem 1.15rem; position: relative;
               border-bottom: 1px solid var(--line-soft); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.1em;
                       width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem;
               margin-top: 1.2rem; }
.credit-col h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
                 color: var(--blue); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .86rem; padding: .28rem 0; border-bottom: 1px solid var(--line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); background: var(--paper); padding: .85rem 1.15rem;
        min-width: 152px; }
.stat b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--blue); }
.stat span { font-size: .78rem; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line-soft); padding: 1rem 0; }
.faq-list summary { font-family: var(--display); font-size: .98rem; color: var(--ink);
                    line-height: 1.4; cursor: pointer; list-style: none;
                    display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-family: var(--body); }
.faq-list details[open] summary::after { content: "·"; color: var(--blue); }
.faq-list .answer p { margin: .7rem 0 0; font-size: .92rem; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #f1f3f8; padding: 1.9rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.6fr auto; gap: 1.1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); color: var(--ink); letter-spacing: .02em; }
.brand-line { color: var(--muted); font-size: .78rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .2rem .65rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .76rem; }
.language-nav a:hover { color: var(--blue); }
.language-nav a[aria-current="page"] { color: var(--blue); border-bottom: 1px solid var(--gold); }
.footer-legal { color: var(--muted); font-size: .78rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.2rem 0 5.2rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; object-position: center 8%; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.7rem; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .polaris { grid-column: 1 / -1; min-height: 200px; }
  .polaris .p1 { margin-top: .6rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem .9rem; }
  .main-nav { gap: .55rem .8rem; }
  .main-nav a { font-size: .72rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 116px; }
  .partner-card img { max-width: 134px; max-height: 50px; }
  .coord { grid-template-columns: 44px minmax(0, 1fr); }
  .coord .vals { grid-column: 1 / -1; gap: .45rem 1.4rem; }
  .gallery-row { grid-template-columns: 1fr; }
  .g-item, .g-wide { max-width: none; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .2rem; }
  .section { padding: 2.4rem 0; }
  .hero { padding-top: 1.9rem; }
}
