:root {
  --ink: #11213a;
  --ink-soft: #415267;
  --paper: #f8f9fc;
  --surface: #ffffff;
  --accent: #4361ee;
  --accent-2: #0f2e5e;
  --accent-soft: rgba(67, 97, 238, 0.12);
  --line: #e4e8f4;
}
* {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, #ecf0ff 0%, transparent 55%),
    radial-gradient(900px 450px at 90% 0%, #dff1ff 0%, transparent 45%),
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 60%, #f4f1ee 100%);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #ebedf6;
  padding: 1rem 1.1rem 0.9rem;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand-wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.77rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #67758a;
  font-weight: 700;
}

.brand {
  display: inline-block;
  margin: 0.1rem 0 0;
  text-decoration: none;
  color: var(--accent-2);
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0.3rem 0 0.75rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.site-nav {
  max-width: 1100px;
  margin: 0.4rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.container {
  max-width: 1040px;
  margin: 1.25rem auto 3rem;
  padding: 0 1.1rem;
}

.content-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1rem, 2.3vw, 2rem);
  box-shadow: 0 18px 40px rgba(20, 30, 60, 0.07);
  margin-bottom: 0.95rem;
  overflow: hidden;
}

.content-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), #7c8aff);
}

.hero-panel {
  background: linear-gradient(150deg, #ffffff, #f6f8ff 40%, #fef7ff);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: Merriweather, Georgia, serif;
  line-height: 1.2;
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  letter-spacing: 0.01em;
  margin: 0.3rem 0 0.7rem;
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #28394f;
  margin: 0 0 0.9rem;
}

.hero-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  background: #fff;
  border: 1px solid #e5e8f6;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.hero-note {
  margin: .55rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #4c5a70;
  border: 1px solid #dbe2f3;
  border-radius: 999px;
  padding: 0.34rem 0.8rem;
  background: #fff;
}

.hero-note strong { color: var(--ink); }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0 1.1rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.button:hover { filter: brightness(0.98); transform: translateY(-1px); }

.button-light {
  background: #fff;
  color: var(--accent-2);
  border: 1px solid #d8def2;
}

.focus-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.focus-card {
  border: 1px solid #e3e8f8;
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: linear-gradient(170deg, #fff, #fafcff);
}

.focus-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.focus-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #425069;
}

.content-panel h1,
.content-panel h2,
.content-panel h3 {
  font-family: Merriweather, Georgia, serif;
  color: #172842;
}

.content-panel p,
.content-panel li {
  font-size: 1.03rem;
  line-height: 1.78;
  color: #25374b;
}

.content-panel p { margin: 0 0 1rem; }

blockquote {
  border-left: 4px solid var(--accent);
  margin: 0 0 1rem;
  padding: 0.65rem 0.8rem;
  background: #f8f9ff;
  border-radius: 0 8px 8px 0;
  color: #2e3f56;
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-weight: 600;
  color: #425066;
}

h2 { margin: 0 0 .6rem; }

.site-footer {
  margin: 2rem auto 3.5rem;
  text-align: center;
  color: #445066;
}

.site-footer a {
  color: var(--accent-2);
  font-weight: 700;
}

.post-list { display: grid; gap: 0.8rem; }

.post-card {
  display: block;
  border: 1px solid #e4e8fb;
  border-radius: 12px;
  padding: 0.88rem 1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}

.post-card:hover {
  border-color: #9aadff;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(20, 40, 90, 0.06);
}

.post-card h3 { margin: 0 0 0.35rem; font-size: 1.13rem; }

.post-meta { color: #5e6d82; font-size: 0.84rem; margin-bottom: 0.35rem; }

.alignleft { float: left; margin: 0 1rem 0.6rem 0; }

.wp-block-image figure { margin: 0; }

.eyebrow-chip { 
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #5c6e88;
  margin: 0;
}

.eyebrow-chip::before { content: '•'; color: var(--accent); font-size: 1.05rem; line-height: 1; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 390px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .hero-copy h1 { font-size: clamp(1.8rem, 6.6vw, 2.35rem); }
  .hero-photo { min-height: 250px; }
  .hero-photo img { min-height: 250px; }
}
