:root {
  --navy: #12233f;
  --blue: #1f5fbf;
  --blue-dark: #16437f;
  --cyan: #3ec1ff;
  --green: #3ec97a;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --text: #12233f;
  --text-body: #55647c;
  --text-soft: #66748c;
  --text-muted: #7a8699;
  --border: #e6ebf2;
  --border-input: #dfe5ee;
  --font-display: 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'Noto Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
input, textarea, button { font-family: inherit; }
input:focus, textarea:focus { outline: none; border-color: var(--blue) !important; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
.section { padding: 72px 40px; }
.section-alt { background: var(--bg-alt); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.btn-accent { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(31,95,191,.25); }
.btn-accent:hover { background: var(--blue-dark); }
.btn-ghost { background: none; border: 1.5px solid #d5dce8; color: var(--navy); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; padding: 11px 20px; font-size: 14px; }
.accent { color: var(--blue); }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.eyebrow-center { text-align: center; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 36px;
}
.section-head h2 { font-weight: 700; font-size: clamp(28px,3.2vw,36px); line-height: 1.1; letter-spacing: -.02em; max-width: 640px; }
.section-note { font-size: 15.5px; line-height: 1.6; color: var(--text-body); max-width: 340px; }
.section-head-link { font-weight: 600; font-size: 14px; color: var(--blue); cursor: pointer; white-space: nowrap; }
.section-head-link:hover { color: var(--blue-dark); }

/* ============ NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  position: relative; width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px;
  border-bottom: 3px solid var(--blue);
}
.brand-mark::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--navy); }
.brand-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--blue); margin-top: 2px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: .2s; }

.nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: nowrap; }
.nav-links > a { white-space: nowrap; font-size: 14px; font-weight: 600; color: #3c4b63; }
.nav-links > a:hover, .nav-links > a.active { color: var(--blue); }
.nav-cta {
  flex: none; background: var(--blue); color: #fff;
  padding: 10px 20px; border-radius: 8px; font-size: 14px;
}
.nav-cta:hover { background: var(--blue-dark); }

.lang-switch { display: flex; flex: none; gap: 2px; padding: 3px; background: #f0f3f8; border-radius: 8px; }
.lang-switch button {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; border: none;
  padding: 6px 11px; border-radius: 6px; cursor: pointer;
  transition: .15s; background: transparent; color: var(--text-muted);
}
.lang-switch button.active { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ============ HERO ============ */
.hero { background: #fff; }
.hero-inner {
  padding: 72px 40px 48px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.kicker-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid #d8e3f5; border-radius: 999px; margin-bottom: 22px; white-space: nowrap;
  background: #f4f8fe;
}
.kicker-pill .dot { flex: none; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.kicker-pill span:last-child { font-size: 13px; font-weight: 500; color: var(--blue); }
.hero-copy h1 { font-weight: 700; font-size: clamp(34px,4.2vw,50px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 22px; text-wrap: pretty; }
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--text-body); max-width: 480px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats-inline {
  display: flex; gap: 36px; margin-top: 22px; padding-top: 26px; border-top: 1px solid #edf0f5;
}
.hero-stats-inline .stat-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--navy); line-height: 1; }
.hero-stats-inline .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.hero-visual { position: relative; }
.hero-shot {
  height: 440px; border-radius: 16px; overflow: hidden;
  border: 1px solid #dde6f2;
}

/* ============ image placeholders ============ */
.img-placeholder {
  background: repeating-linear-gradient(-45deg, #eef3fa 0 14px, #e4ecf7 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #7a8fb0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em;
}
.img-placeholder span {
  background: #fff; padding: 8px 16px; border-radius: 8px; border: 1px solid #dde6f2;
}

/* ============ SERVICES (home teaser grid) ============ */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: .2s; display: flex; flex-direction: column; gap: 14px;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(18,35,63,.25); }
.service-no {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 10px; background: #eaf1fc; color: var(--blue);
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
}
.service-card h3 { font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -.005em; margin: 0; }
.service-card p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }

/* ============ SERVICES (dedicated page) ============ */
.service-row {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px;
  padding: 48px 40px; border-bottom: 1px solid #edf0f5; align-items: start;
}
.service-row:nth-child(even) { background: var(--bg-alt); }
.service-row-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.service-row-icon {
  flex: none; width: 48px; height: 48px; border-radius: 10px; background: #eaf1fc;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
}
.service-row-head h2 { font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.service-row-desc { font-size: 15px; line-height: 1.7; color: var(--text-body); margin: 0 0 20px; max-width: 480px; }
.service-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-point {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #3c4b63;
}
.service-point .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 5px; }

.cta-banner { padding: 56px 40px; background: var(--navy); text-align: center; }
.cta-banner h2 { color: #fff; font-weight: 700; font-size: clamp(26px,3vw,32px); margin: 0 0 12px; }
.cta-banner p { color: #9fb0ca; font-size: 15.5px; line-height: 1.6; max-width: 460px; margin: 0 auto 26px; }

/* ============ PROJECTS ============ */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.project-shot { width: 100%; height: 190px; }
.project-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--blue); font-weight: 500; }
.project-card-meta .sep { color: var(--text-muted); }
.project-card h3 { font-weight: 700; font-size: 16px; line-height: 1.25; margin: 0; }
.project-card p { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); margin: 0; }
.project-result {
  margin-top: auto; padding-top: 12px; border-top: 1px solid #edf0f5;
  font-weight: 600; font-size: 13px; color: var(--navy);
}

.project-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.filter-pill {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: #fff; color: #3c4b63; border: 1.5px solid #d5dce8;
}
.filter-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.filter-pill:hover:not(.active) { border-color: var(--blue); }

/* ============ ABOUT ============ */
.page-hero-h1 { font-size: clamp(30px,3.6vw,44px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; text-wrap: pretty; }
.page-hero-intro { font-size: 16.5px; line-height: 1.65; color: var(--text-body); max-width: 560px; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-shot { width: 100%; height: 360px; border-radius: 16px; }
.about-copy h1 { font-size: clamp(30px,3.6vw,44px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: pretty; }
.about-lead { font-size: 16.5px; line-height: 1.7; color: var(--text-body); max-width: 520px; }

.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-card { text-align: center; padding: 28px; background: var(--bg-alt); border-radius: 14px; }
.stat-card .stat-num { font-family: var(--font-display); font-weight: 700; font-size: 36px; color: var(--navy); }
.stat-card .stat-num.accent { color: var(--blue); }
.stat-card .stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-step { border: 1px solid var(--border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.process-step .step-num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); font-weight: 500; }
.process-step h3 { font-weight: 700; font-size: 17px; }
.process-step p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: .2s;
}
.blog-card:hover { border-color: var(--blue); box-shadow: 0 18px 40px -24px rgba(18,35,63,.25); }
.blog-thumb {
  height: 170px; background: repeating-linear-gradient(-45deg, #eef3fa 0 14px, #e4ecf7 14px 28px);
  display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border);
}
.blog-thumb span { font-family: var(--font-mono); font-size: 11.5px; color: #7a8fb0; }
.blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; }
.blog-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--blue); background: #eaf1fc; padding: 4px 8px; border-radius: 5px; }
.blog-date { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.blog-card h3 { font-weight: 700; font-size: 17px; line-height: 1.3; margin: 0; text-wrap: pretty; }
.blog-card p { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); margin: 0; }

/* ============ FAQ ============ */
.faq-section-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-heading h2 { font-size: clamp(26px,3vw,32px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; text-wrap: pretty; }
.faq-heading p { font-size: 15px; line-height: 1.65; color: var(--text-body); max-width: 340px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item:hover { border-color: #d8e3f5; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
}
.faq-question span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); }
.faq-sign { flex: none; font-size: 18px; color: var(--text-muted); font-weight: 600; }
.faq-answer { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.65; color: var(--text-body); }

/* ============ CONTACT ============ */
.contact-rows-inline { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; font-size: 14.5px; color: #3c4b63; font-weight: 500; }
.contact-rows-inline .row { display: flex; align-items: center; gap: 10px; }
.contact-rows-inline .row .k { font-family: var(--font-mono); font-size: 12px; color: var(--blue); width: 40px; flex: none; }

.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-page-copy h1 { font-size: clamp(30px,3.6vw,44px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 16px; text-wrap: pretty; }
.contact-page-sub { font-size: 16px; line-height: 1.7; color: var(--text-body); max-width: 440px; margin: 0 0 28px; }
.contact-map {
  margin-top: 28px; height: 200px; border-radius: 14px;
}

.contact-form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 20px rgba(18,35,63,.06);
}
.contact-form-card-title { font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 16px; }

.contact-thanks { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.thanks-icon {
  width: 64px; height: 64px; border-radius: 16px; background: #eaf7ef; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 22px;
}
.contact-thanks h3 { font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.contact-thanks p { font-size: 15px; color: var(--text-muted); max-width: 320px; line-height: 1.6; }

.contact-form { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span { font-size: 13px; font-weight: 600; color: #3c4b63; }
.contact-form input, .contact-form textarea {
  height: 44px; border: 1.5px solid var(--border-input); border-radius: 9px; padding: 0 14px; font-size: 14px;
  color: var(--navy); background: #fbfcfe;
}
.contact-form textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.submit-btn { align-self: flex-start; border: none; width: 100%; justify-content: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: #9fb0ca; }
.footer-grid { padding: 26px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--blue); font-size: 12px; border-bottom: none; }
.footer-brand .brand-mark::after { width: 4px; height: 4px; top: 3px; right: 3px; }
.footer-brand .brand-text { flex-direction: row; align-items: baseline; gap: 6px; }
.footer-brand .brand-name { color: #fff; font-size: 15px; }
.footer-brand .brand-sub { font-size: 11px; color: #7fabf0; margin-top: 0; }
.footer-links { display: flex; gap: 20px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { font-family: var(--font-body); font-size: 13px; text-align: center; padding: 0 40px 24px; color: #9fb0ca; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .service-row { grid-template-columns: 1fr; }
  .service-points { grid-template-columns: 1fr; }
  .stats-row, .process-grid { grid-template-columns: repeat(2,1fr); }
  .contact-page-grid, .faq-section-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 48px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .lang-switch { margin: 14px 0; align-self: flex-start; }
  .nav-cta { justify-content: center; margin-top: 6px; }

  .hero-inner { padding: 40px 20px 48px; gap: 32px; }
  .hero-stats-inline { gap: 20px; flex-wrap: wrap; }

  .services-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-row, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .blog-article-cta { flex-direction: column; align-items: flex-start; }
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* ============ DJANGO BACKEND ADDITIONS ============ */

/* Honeypot field: off-screen, not display:none, so basic bots that skip
   truly-hidden inputs still fall into the trap. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.blog-pagination a { color: var(--blue); font-weight: 600; }

.blog-detail { max-width: 820px; }
.blog-detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.blog-detail-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3.6vw,44px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 28px; }
.blog-detail-cover { width: 100%; border-radius: 16px; margin-bottom: 32px; border: 1px solid var(--border); }
.blog-detail-body { font-size: 16.5px; line-height: 1.75; color: var(--text-body); }
.blog-detail-body p { margin: 0 0 20px; }
.blog-detail-body h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin: 36px 0 14px; }
.blog-detail-body blockquote { margin: 6px 0 30px; background: #f4f8fe; border: 1px solid #d8e3f5; border-radius: 14px; padding: 24px 28px; }
.blog-detail-body blockquote p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--text); }
.blog-detail-body ul.tips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.blog-detail-body ul.tips li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; font-size: 14.5px; color: #3c4b63; }
.blog-detail-body ul.tips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; margin-top: 6px; }
.blog-detail-back { display: inline-block; margin-top: 40px; font-weight: 600; color: var(--blue); }
.blog-detail-back-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--blue); margin-bottom: 28px; }

.blog-article-cta {
  background: var(--navy); border-radius: 16px; padding: 30px 34px; margin: 8px 0 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.blog-article-cta-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 6px; }
.blog-article-cta p { margin: 0; font-size: 14px; line-height: 1.6; color: #9fb0ca; }

.related-posts-heading { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--navy); margin: 0 0 20px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.related-post-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.related-post-card:hover { border-color: var(--blue); }
.related-post-card .blog-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); background: none; padding: 0; }
.related-post-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--navy); margin: 0; text-wrap: pretty; }
.related-post-card .read-link { font-weight: 600; font-size: 13.5px; color: var(--blue); margin-top: 4px; }

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px;
}
.error-logo { margin-bottom: 12px; }
.error-logo .brand-mark { width: 48px; height: 48px; font-size: 22px; margin: 0 auto; }
.error-logo .brand-mark::after { width: 8px; height: 8px; top: 6px; right: 6px; }
.error-code { font-family: var(--font-display); font-weight: 700; font-size: 72px; color: var(--navy); line-height: 1; }
.error-page h1 { font-size: 26px; margin: 6px 0; }
.error-page p { color: var(--text-muted); margin: 0 0 24px; max-width: 420px; }
