/* =========================================================================
   DMG — Digital Marketing Group
   Design system: cast-vinyl colour blocking + print registration marks,
   reskinned with an indigo-purple accent (from the "Purple Buzz" template)
   layered over DMG's core Ink Navy / Print Red / Steel Silver identity.
   Type: Space Grotesk (display) + Open Sans (body).
   ========================================================================= */

:root {
  --navy: #14315C;
  --navy-deep: #0C1F3D;
  --blue: #1E6FD9;
  --red: #D62839;
  --red-deep: #A81F2D;
  --silver: #A9AEB4;
  --paper: #FAFAF7;
  --paper-dim: #F1EFE8;
  --ink: #1B1D22;
  --ink-soft: #565B64;
  --line: #E3E1D9;
  --white: #FFFFFF;

  /* Accent trio, borrowed from Purple Buzz, used for interactive/accent
     moments (links, hovers, badges) — never for headings or primary CTAs,
     which stay on DMG's own navy/red so the logo colours still lead. */
  --accent: #6266EA;
  --accent-deep: #4A4ECF;
  --accent-pale: #EFEFFD;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --pill: 100px;
  --shadow: 0 1px 2px rgba(12, 31, 61, 0.08);
  --shadow-lift: 0 14px 28px rgba(20, 49, 92, 0.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.container p { color: var(--ink-soft); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.bg-paper-dim { background: var(--paper-dim); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #D7DEE9; }

/* ---------- buttons (pill-shaped, borrowed from Purple Buzz) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(214,40,57,0.28); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(214,40,57,0.32); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; border-color: var(--accent); color: var(--accent-deep); }
.btn-outline-navy:hover { background: var(--accent-pale); transform: translateY(-2px); }
.btn-whatsapp { background: #21A651; color: var(--white); }
.btn-whatsapp:hover { background: #1b8a44; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(20, 49, 92, 0.07);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.15; }
.brand-text span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding-bottom: 4px; border-bottom: 3px solid transparent; transition: border-color .2s ease, color .2s ease;
}
.main-nav a:hover { color: var(--accent-deep); text-decoration: none; border-bottom-color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(12,31,61,0.12);
  min-width: 220px; padding: 8px; display: none; max-height: 60vh; overflow-y: auto;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 0.9rem; border-bottom: none !important; }
.dropdown a:hover { background: var(--accent-pale); color: var(--accent-deep); text-decoration: none; }
.dropdown .dropdown-heading { font-size: 0.72rem; text-transform: none; color: var(--ink-soft); padding: 6px 10px 2px; font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.header-phone a { color: var(--navy); font-weight: 700; font-family: var(--font-display); font-size: 1rem; border-bottom: none; }
.header-phone small { color: var(--ink-soft); font-size: 0.72rem; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy); border-radius: var(--radius);
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 480px) {
  .brand-text span { display: none; }
  .brand-text { font-size: 0.92rem; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: 0.82rem; }
}
@media (max-width: 1024px) {
  .main-nav { position: fixed; inset: 66px 0 0 0; background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 18px 20px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { border-bottom: 1px solid var(--line); }
  .has-dropdown .dropdown { position: static; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--white);
  padding: 72px 0 100px;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(98,102,234,0) 70%);
  opacity: 0.35; border-radius: 50%; filter: blur(4px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 60%;
  background: var(--red);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  color: var(--white); background: rgba(98,102,234,0.35); border: 1px solid rgba(178,181,247,0.5);
  padding: 6px 16px; border-radius: var(--pill); margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lede { color: #E4E9F2; }
.regmark { position: absolute; width: 26px; height: 26px; opacity: 0.5; }
.regmark svg { width: 100%; height: 100%; }
.hero .regmark.rm-1 { top: 24px; right: 30px; }
.hero .regmark.rm-2 { bottom: 40%; left: 6px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-stat { min-width: 110px; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--white); }
.hero-stat span { font-size: 0.82rem; color: #C9D4E4; }

.hero-panel {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(178,181,247,0.35);
  border-radius: 14px; padding: 22px; backdrop-filter: blur(2px);
}
.hero-panel h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; }
.hero-panel li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: #E4E9F2; font-size: 0.94rem; }
.hero-panel li:last-child { border-bottom: none; }
.hero-panel svg { width: 18px; height: 18px; flex-shrink: 0; color: #7FE3A3; margin-top: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 84px; }
}

/* ---------- page header band (inner pages) ---------- */
.page-header {
  position: relative; background: var(--navy); color: var(--white);
  padding: 40px 0 64px; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: -100px; left: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(98,102,234,0) 70%);
  opacity: 0.3; border-radius: 50%; pointer-events: none;
}
.page-header::after {
  content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; height: 200%;
  background: var(--red); opacity: 0.9;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.page-header .container { position: relative; z-index: 2; }
.breadcrumbs { font-size: 0.82rem; color: #BFD3F0; margin-bottom: 14px; }
.breadcrumbs a { color: #BFD3F0; }
.breadcrumbs a:hover { color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 10px; max-width: 26ch; }
.page-header .lede { color: #E4E9F2; max-width: 60ch; }

/* ---------- swatch strip (used once, homepage) ---------- */
.swatch-strip { display: flex; overflow-x: auto; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swatch { flex: 1 0 130px; padding: 16px 14px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--white); }

/* ---------- eyebrow / section head (pill badge, borrowed from Purple Buzz) ---------- */
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .kicker {
  display: inline-flex; align-items: center; color: var(--accent-deep); font-weight: 700; font-size: 0.8rem;
  margin-bottom: 12px; background: var(--accent-pale); padding: 5px 16px; border-radius: var(--pill);
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: 10px; padding: 24px; height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card.accent-red { border-top-color: var(--red); }
.card.accent-blue, .card.accent-purple { border-top-color: var(--accent); }
.card-icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { font-size: 0.94rem; margin-bottom: 12px; }
.card a.card-link { font-weight: 700; font-size: 0.9rem; color: var(--accent-deep); }

.loc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; display: block; height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.loc-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.loc-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.loc-card span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- process (a real sequence: numbering justified) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 8px; }
.process-step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--accent-pale);
  -webkit-text-stroke: 1.5px var(--accent);
  display: block; margin-bottom: 4px;
}
.process-step h3 { font-size: 1.05rem; }
.process-step p { font-size: 0.92rem; }

/* ---------- FAQ (native details/summary, zero JS needed) ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--white);
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; font-weight: 600; color: var(--navy);
  position: relative; font-family: var(--font-display); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 14px; font-size: 1.4rem; color: var(--accent); font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 18px 18px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background: var(--red); color: var(--white); padding: 52px 0; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: -6%; top: -70%; width: 46%; height: 220%; background: var(--navy);
  opacity: 0.85; clip-path: polygon(0 0, 60% 0, 20% 100%, 0 100%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #FFE3E6; margin-bottom: 0; }

/* ---------- trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.trust-item svg { width: 22px; height: 22px; color: var(--accent-deep); flex-shrink: 0; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--white); color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px;
}
.contact-methods { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-methods li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-methods li:last-child { border-bottom: none; }
.contact-methods svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.contact-methods strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-methods span, .contact-methods a { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #C9D2DE; padding: 52px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #C9D2DE; }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; }
.footer-bottom a { color: #9FADC0; }

/* ---------- whatsapp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: #21A651; color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: #1b8a44; transform: scale(1.08); }

/* ---------- misc content pages ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.blog-card { border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 22px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.blog-card time { font-size: 0.8rem; color: var(--accent-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { margin: 8px 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tag-list li { background: var(--accent-pale); color: var(--accent-deep); border-radius: var(--pill); padding: 5px 12px; font-size: 0.8rem; }

.province-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.province-jump a {
  border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 14px; font-size: 0.85rem; color: var(--navy);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.province-jump a:hover { border-color: var(--accent); background: var(--accent-pale); color: var(--accent-deep); text-decoration: none; }

table.compare { width: 100%; border-collapse: collapse; }
table.compare th, table.compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.compare th { color: var(--navy); font-family: var(--font-display); }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- rich image enhancements & showcase components ---------- */
.card-img-wrap {
  width: calc(100% + 48px);
  margin: -24px -24px 16px -24px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.showcase-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}
.showcase-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.showcase-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.showcase-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .showcase-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .showcase-grid.grid-4, .showcase-grid.grid-3, .showcase-grid.grid-2 { grid-template-columns: 1fr; }
}

.showcase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent);
}
.showcase-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-dim);
  aspect-ratio: 4 / 3;
}
.showcase-thumb-wrap.wide { aspect-ratio: 16 / 10; }
.showcase-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.showcase-card:hover .showcase-thumb-wrap img {
  transform: scale(1.05);
}
.showcase-info {
  padding: 16px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.showcase-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--navy);
}
.showcase-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}
.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--accent-pale);
  color: var(--accent-deep);
  margin-bottom: 8px;
  align-self: flex-start;
}

.prose-figure {
  margin: 28px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.prose-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.prose-figure figcaption {
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--paper-dim);
  display: block;
}

.hero-showcase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 860px) {
  .hero-showcase-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-showcase-strip { grid-template-columns: 1fr; }
}
.hero-showcase-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  position: relative;
  aspect-ratio: 16 / 11;
}
.hero-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.hero-showcase-item:hover img {
  transform: scale(1.06);
}
.hero-showcase-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(12, 31, 61, 0.85));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}

