/*
Theme Name: Stratos Research Gateway
Theme URI: https://stratos-research.com/
Author: Stratos Research
Description: A calm research gateway for investment intelligence, economic data, and future-facing news observation.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: stratos-gateway
*/

:root {
  --ink: #10263d;
  --ink-soft: #405064;
  --paper: #f4f0e7;
  --paper-deep: #e9e2d5;
  --white: #fffdf8;
  --gold: #a88448;
  --gold-soft: #d8c59d;
  --line: rgba(16, 38, 61, .16);
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: Inter, "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.8; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(244,240,231,.94); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; font: 700 17px var(--serif); color: var(--gold); }
.brand-copy strong { display: block; font: 600 19px var(--serif); letter-spacing: .08em; }
.brand-copy small { display: block; color: var(--ink-soft); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.main-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.main-nav a { text-decoration: none; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.main-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 12px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 78px; border-bottom: 1px solid var(--line); }
.hero::after { content: "SR"; position: absolute; right: -35px; bottom: -150px; color: rgba(168,132,72,.07); font: 700 410px/1 var(--serif); pointer-events: none; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font: 500 clamp(36px, 5vw, 62px)/1.16 var(--serif); letter-spacing: -.02em; }
.hero-lead { max-width: 700px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(16px, 2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.button.primary { color: var(--white); background: var(--ink); }
.button:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }

.section { padding: 72px 0 92px; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--white); }
.section.dark { color: var(--white); background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font: 500 clamp(30px, 4vw, 50px)/1.22 var(--serif); letter-spacing: -.01em; }
.section-heading p:last-child { max-width: 560px; margin: 0; color: var(--ink-soft); }
.dark .section-heading p:last-child { color: #c4cfda; }

.gateway-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.gateway-card { min-height: 320px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.gateway-card:first-child { background: var(--ink); color: var(--white); }
.gateway-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card-index { color: var(--gold); font: 600 12px var(--serif); letter-spacing: .14em; }
.gateway-card h3 { margin: 64px 0 14px; font: 500 28px/1.18 var(--serif); }
.gateway-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.gateway-card:first-child p { color: #c4cfda; }
.card-link { margin-top: auto; padding-top: 28px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; }

.observation-note { margin: 0 0 34px; padding: 17px 20px; border-left: 3px solid var(--gold); color: #c4cfda; background: rgba(255,255,255,.05); font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { min-height: 300px; display: flex; flex-direction: column; padding: 26px; border: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.post-card:hover { border-color: var(--gold); }
.post-meta { color: var(--gold-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 28px 0 12px; font: 500 23px/1.35 var(--serif); }
.post-card p { margin: 0; color: #b7c3cf; font-size: 13px; }
.post-card .read-more { margin-top: auto; padding-top: 22px; color: var(--gold-soft); font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 34px; border: 1px solid rgba(255,255,255,.18); color: #c4cfda; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.method { min-height: 250px; padding: 26px; background: var(--paper); }
.method { color: var(--ink); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.method:hover { background: var(--white); transform: translateY(-3px); }
.method span { color: var(--gold); font: 600 12px var(--serif); }
.method h3 { margin: 42px 0 12px; font: 500 22px var(--serif); }
.method p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.method-cta { margin-top: 28px; }

.disclaimer-band { padding: 42px 0; background: var(--paper-deep); }
.disclaimer-inner { display: grid; grid-template-columns: 1fr 3fr auto; gap: 28px; align-items: center; }
.disclaimer-inner h2 { margin: 0; font: 500 21px var(--serif); }
.disclaimer-inner p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.text-link { color: var(--gold); font-size: 12px; font-weight: 700; white-space: nowrap; }

.site-footer { padding: 54px 0 30px; color: #c4cfda; background: #091827; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-title { color: var(--white); font: 500 23px var(--serif); }
.footer-copy { max-width: 430px; font-size: 12px; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #c4cfda; text-decoration: none; font-size: 12px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }

.content-shell { width: min(820px, calc(100% - 48px)); margin: 80px auto; }
.entry-header h1 { margin: 0 0 16px; font: 500 clamp(38px, 6vw, 64px)/1.1 var(--serif); }
.entry-meta { color: var(--gold); font-size: 12px; }
.entry-content { margin-top: 40px; }
.entry-content h2 { margin-top: 2em; font: 500 32px var(--serif); }
.entry-content a { color: var(--gold); }

@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; inset: 82px 0 auto; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: block; }
  .main-nav ul { align-items: flex-start; flex-direction: column; }
  .nav-toggle { display: block; }
  .section-heading { grid-template-columns: 1fr; }
  .gateway-grid { grid-template-columns: 1fr 1fr; }
  .gateway-card:first-child { grid-column: 1 / -1; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .disclaimer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 30px, 1180px); }
  .brand-copy small { display: none; }
  .hero { padding: 62px 0 54px; }
  .hero h1 { font-size: 34px; line-height: 1.25; }
  .section { padding: 52px 0 66px; }
  .gateway-grid, .post-grid, .method-grid, .footer-grid { grid-template-columns: 1fr; }
  .gateway-card:first-child { grid-column: auto; }
  .gateway-card { min-height: 280px; }
}
