
:root {
  --ink: #132033;
  --muted: #5f6b7a;
  --line: #d8e0ea;
  --bg: #f7f9fc;
  --panel: #ffffff;
  --accent: #1f5e7a;
  --accent-dark: #164558;
  --gold: #b7892f;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(19, 32, 51, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
.skip-link { position: absolute; top: -48px; left: 16px; padding: 10px 14px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { top: 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: white; font-weight: 800; font-size: 1.35rem; }
.brand strong { display: block; font-size: 1.08rem; letter-spacing: 0.02em; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 0.96rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; }
.nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: white; }
.section { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: clamp(48px, 8vw, 88px) 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.8rem); line-height: 1.02; letter-spacing: -0.055em; margin: 0 0 24px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.34rem); color: #354153; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 800; font-size: 0.78rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--accent); color: white; box-shadow: 0 10px 25px rgba(31, 94, 122, 0.25); }
.button.primary:hover { background: var(--accent-dark); color: white; }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.notice { color: var(--muted); font-size: 0.94rem; max-width: 720px; }
.hero-card, .card, .contact-card, .warning-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { overflow: hidden; }
.hero-card img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; background: #e9eef5; }
.card-pad { padding: 24px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -0.035em; margin: 0 0 18px; }
h3 { margin: 0 0 10px; font-size: 1.08rem; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 64px); align-items: start; }
.cards { display: grid; gap: 16px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; box-shadow: none; }
.card p { color: var(--muted); margin-bottom: 0; }
.band { width: 100%; max-width: none; background: linear-gradient(135deg, var(--ink), #213850); color: white; padding: 0; margin: 18px 0; }
.band-content { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: clamp(46px, 8vw, 80px) 0; }
.band p { color: rgba(255,255,255,.82); }
.band h2 { color: white; }
.check-list { display: grid; gap: 10px; padding-left: 0; list-style: none; margin-top: 28px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.process h2 { max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.steps div { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eaf4f8; color: var(--accent-dark); font-weight: 800; margin-bottom: 16px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: white; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 5vw, 46px); margin-bottom: 64px; box-shadow: var(--shadow); }
.page-hero { padding-bottom: 28px; }
.about-layout { grid-template-columns: 320px minmax(0, 1fr); }
.portrait { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: white; }
.rich-text { color: #2f3c4f; }
.rich-text h2 { margin-top: 34px; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.rich-text h2:first-child { margin-top: 0; }
.rich-text li { margin-bottom: 8px; }
.narrow { max-width: 850px; }
.service-grid .card h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.contact-card, .warning-box { padding: 28px; box-shadow: none; }
.warning-box { background: #fffaf0; border-color: #ead7a5; }
.site-footer { background: #0e1826; color: white; margin-top: 32px; padding: 48px clamp(18px, 4vw, 56px) 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; width: min(1120px, 100%); margin: 0 auto; }
.site-footer h2, .site-footer h3 { margin-top: 0; color: white; }
.site-footer p, .site-footer .small { color: rgba(255,255,255,.72); }
.site-footer a { color: white; }
.small { font-size: .88rem; }
.copyright { width: min(1120px, 100%); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.62); font-size: .88rem; }
@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 12px 18px; }
  .hero, .split, .about-layout, .contact-grid { grid-template-columns: 1fr; }
  .cards.two, .cards.three, .steps, .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .hero-card img { max-height: 420px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .hero h1, .page-hero h1 { font-size: 2.3rem; }
  .section { width: min(100% - 28px, 1120px); }
}


/* Insights / legacy post styling */
.post-list { display: grid; gap: 18px; margin-top: 28px; }
.post-card { display: grid; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: none; text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: rgba(31, 94, 122, 0.45); box-shadow: 0 10px 30px rgba(19, 32, 51, 0.08); color: var(--ink); }
.post-card h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin: 0; letter-spacing: -0.02em; }
.post-card p { margin: 0; color: var(--muted); }
.post-meta { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .76rem; }
.post-layout { max-width: 880px; }
.post-layout h1 { font-size: clamp(2.15rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -0.045em; margin: 0 0 16px; }
.post-body { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }
.post-body h2 { font-size: clamp(1.35rem, 2.7vw, 2rem); margin-top: 36px; }
.post-body blockquote { margin: 24px 0; padding: 16px 20px; border-left: 4px solid var(--gold); background: #fffaf0; color: #2f3c4f; }
.post-body .archive-note { margin-bottom: 28px; padding: 16px 18px; border-radius: 14px; background: #f0f6fa; border: 1px solid #d6e7ef; color: #324053; }
.post-body .article-footer-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

/* Updated insights index styling */
.insights-hero { padding-bottom: 20px; }
.insights-intro-section, .insights-list-section, .insights-cta-section { padding-top: 12px; }
.archive-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 26px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff, #f4f8fb);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 5vw, 36px);
  box-shadow: var(--shadow);
}
.archive-panel h2 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); margin-bottom: 12px; }
.archive-panel p { margin: 0; color: #354153; }
.archive-panel-meta { display: grid; gap: 16px; }
.archive-panel-meta > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.archive-kicker {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-note { margin: 0; color: var(--muted); font-weight: 650; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.post-card {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: none;
  color: var(--ink);
}
.post-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  border-color: #cfdde7;
}
.post-card h2 { font-size: clamp(1.28rem, 2.2vw, 1.7rem); margin: 0; letter-spacing: -0.02em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { margin: 0; color: var(--muted); }
.text-link { font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .archive-panel, .insights-grid { grid-template-columns: 1fr; }
  .post-card-featured { grid-column: auto; }
  .section-heading-row { flex-direction: column; align-items: flex-start; }
}


/* Polished individual article pages */
.article-hero { padding-bottom: 28px; }
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--accent); font-weight: 750; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(26px, 5vw, 48px);
  align-items: start;
}
.article-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 24px;
  color: #405066;
  font-weight: 700;
}
.article-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}
.article-side-card {
  position: sticky;
  top: 104px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 40px rgba(19, 32, 51, 0.08);
}
.article-side-card p { color: #354153; margin: 0 0 12px; }
.article-shell { padding-top: 0; padding-bottom: 32px; }
.article-shell .post-body {
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow);
}
.article-shell .post-body p { font-size: 1.04rem; line-height: 1.78; color: #263346; }
.article-shell .post-body h2 {
  margin-top: 44px;
  padding-top: 8px;
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
}
.article-shell .post-body h2:first-child { margin-top: 0; }
.article-shell .post-body blockquote {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--gold);
  background: #fffaf0;
  border-radius: 0 14px 14px 0;
  color: #28384b;
  font-weight: 650;
}
.article-bottom-section { padding-top: 8px; }
.article-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, #f3f8fb);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(26px, 5vw, 42px);
  box-shadow: var(--shadow);
}
.article-contact-panel h2 { margin-bottom: 10px; }
.article-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.article-nav-card {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.article-nav-card:hover { border-color: rgba(31, 94, 122, 0.45); box-shadow: 0 10px 30px rgba(19,32,51,.08); color: var(--ink); }
.article-nav-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; }
.article-nav-card strong { line-height: 1.25; }
.article-nav-center { text-align: center; }
@media (max-width: 900px) {
  .article-hero-grid { grid-template-columns: 1fr; }
  .article-side-card { position: static; }
  .article-contact-panel { flex-direction: column; align-items: flex-start; }
  .article-nav { grid-template-columns: 1fr; }
}
