@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700&family=Inter:wght@400;600&display=swap'); /* hm-design-fonts */

/* hm-design-base:start — base rules in design variables only; the rules after this block may refine them. */
body{font-family:var(--font-body);font-size:var(--text-base);font-weight:var(--weight-body);line-height:var(--leading-body);color:hsl(var(--foreground));background-color:hsl(var(--background));-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--weight-heading);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading)}
h1{font-size:var(--text-h1)}h2{font-size:var(--text-h2)}h3{font-size:var(--text-h3)}h4{font-size:var(--text-h4)}h5{font-size:var(--text-base)}h6{font-size:var(--text-sm)}
.display{font-family:var(--font-heading);font-size:var(--text-5xl);font-weight:var(--weight-heading);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading)}
b,strong{font-weight:var(--weight-bold)}
a{color:hsl(var(--link));text-decoration:var(--link-decoration);text-underline-offset:0.18em}
a:hover{text-decoration:var(--link-hover-decoration)}
.container,.container-narrow,.container-wide{box-sizing:border-box;width:100%;margin-inline:auto;padding-inline:var(--container-pad)}
.container{max-width:calc(var(--container-max) + 2 * var(--container-pad))}
.container-narrow{max-width:calc(var(--container-narrow) + 2 * var(--container-pad))}
.container-wide{max-width:calc(var(--container-wide) + 2 * var(--container-pad))}
.section{padding-block:var(--section-y)}
.section-sm{padding-block:var(--section-y-sm)}
.eyebrow{display:inline-block;font-size:var(--eyebrow-size);font-weight:var(--weight-bold);letter-spacing:var(--eyebrow-tracking);text-transform:var(--eyebrow-transform);color:hsl(var(--link))}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5em;padding:var(--btn-pad-y) var(--btn-pad-x);font-family:var(--font-body);font-size:var(--btn-font-size);font-weight:var(--btn-weight);line-height:1.2;letter-spacing:var(--btn-tracking);text-transform:var(--btn-transform);text-decoration:none;border:var(--border-width) solid transparent;border-radius:var(--btn-radius);cursor:pointer;transition:transform var(--duration-fast) var(--ease),box-shadow var(--duration-base) var(--ease),filter var(--duration-fast) var(--ease),background-color var(--duration-base) var(--ease)}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--btn-primary-bg);color:var(--btn-primary-fg)}
.btn-primary:hover{filter:var(--btn-hover-filter);transform:var(--btn-hover-transform);box-shadow:var(--btn-hover-shadow)}
.btn-secondary{background:var(--btn-secondary-bg);color:var(--btn-secondary-fg);border-color:var(--btn-secondary-border)}
.btn-secondary:hover{transform:var(--btn-hover-transform)}
.btn-sm{padding:calc(var(--btn-pad-y) * 0.7) calc(var(--btn-pad-x) * 0.75);font-size:var(--text-sm)}
.btn-lg{padding:calc(var(--btn-pad-y) * 1.25) calc(var(--btn-pad-x) * 1.25);font-size:var(--text-lg)}
.card{background:var(--card-bg);color:hsl(var(--card-foreground));border:var(--card-border);border-radius:var(--card-radius);box-shadow:var(--card-shadow);padding:var(--card-pad);-webkit-backdrop-filter:var(--card-backdrop);backdrop-filter:var(--card-backdrop);transition:transform var(--duration-base) var(--ease),box-shadow var(--duration-base) var(--ease)}
.card:hover{transform:var(--card-hover-transform)}
.input{box-sizing:border-box;width:100%;padding:10px 14px;font:inherit;color:hsl(var(--foreground));background:var(--input-bg);border:var(--input-border);border-bottom:var(--input-border-bottom);border-radius:var(--input-radius)}
.badge{display:inline-flex;align-items:center;gap:0.35em;padding:2px 10px;font-size:var(--text-xs);font-weight:var(--weight-bold);background:var(--badge-bg);color:var(--badge-fg);border:var(--badge-border);border-radius:var(--badge-radius)}
:where(a,button,.btn,.input,input,select,textarea):focus-visible{outline:var(--ring-width) solid hsl(var(--ring));outline-offset:var(--ring-offset)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important}}
/* hm-design-base:end */

/* ── 1. Global class refinements ── */

.btn { display:inline-flex; align-items:center; justify-content:center; gap:0.5rem; font-weight:var(--weight-bold); transition:transform var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease); }
.btn:active { transform:translateY(1px); }
.btn-primary { background:hsl(var(--accent)); color:hsl(var(--accent-foreground)); border:var(--border-width) solid hsl(var(--accent)); }
.btn-primary:hover { background:color-mix(in srgb, hsl(var(--accent)) 88%, black); color:hsl(var(--accent-foreground)); }
.btn-secondary { background:transparent; color:hsl(var(--headline)); border:var(--border-width) solid hsl(var(--secondary)); }
.btn-secondary:hover { background:hsl(var(--secondary)); color:hsl(var(--secondary-foreground)); }

.card { background:hsl(var(--card)); color:hsl(var(--card-foreground)); border:var(--border-width) solid hsl(var(--border)); transition:transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease); }
.card:hover { transform:translateY(var(--hover-lift)); }

a { color:hsl(var(--link)); text-decoration:none; transition:color var(--duration-fast) var(--ease); }
a:hover { text-decoration:underline; }

.badge { display:inline-flex; align-items:center; gap:0.25rem; font-size:var(--text-xs); font-weight:var(--weight-bold); letter-spacing:0.04em; text-transform:uppercase; }

.input { background:hsl(var(--background)); color:hsl(var(--foreground)); border:var(--border-width) solid hsl(var(--input)); transition:border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease); }
.input:focus { border-color:hsl(var(--ring)); outline:none; }

/* ── 2. Section surfaces ── */

.section-muted { background:hsl(var(--muted)); color:hsl(var(--card-foreground)); }
.section-brand { background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); }
.section-brand .eyebrow { color:hsl(var(--primary-highlight)); }
.section-brand h1, .section-brand h2, .section-brand h3, .section-brand h4 { color:hsl(var(--primary-foreground)); }
.section-brand p, .section-brand li { color:hsl(var(--primary-muted)); }
.section-brand .btn-primary { background:hsl(var(--accent)); color:hsl(var(--accent-foreground)); border-color:hsl(var(--accent)); }
.section-brand .btn-secondary { color:hsl(var(--primary-foreground)); border-color:hsl(var(--primary-foreground)); }
.section-brand .btn-secondary:hover { background:hsl(var(--primary-foreground)); color:hsl(var(--primary)); }
.section-gradient { background:var(--brand-gradient); color:var(--brand-gradient-foreground); }

/* ── 3. Hero helpers ── */

.hero { position:relative; display:flex; align-items:center; min-height:100svh; overflow:hidden; }
.hero-media { position:absolute; inset:0; z-index:0; }
.hero-media img, .hero-media video { width:100%; height:100%; object-fit:cover; }
.hero-overlay { position:absolute; inset:0; z-index:1; background:var(--scrim-color); }
.hero-content { position:relative; z-index:2; color:hsl(var(--primary-foreground)); }
.hero-content h1, .hero-content h2, .hero-content h3, .hero-content h4 { color:hsl(var(--primary-foreground)); }
.hero-content p { color:hsl(var(--primary-muted)); }

/* ── 4. Header / footer wrappers ── */

.site-header { background:hsl(var(--header)); color:hsl(var(--header-foreground)); height:var(--header-h); border-bottom:var(--border-width) solid hsl(var(--header-foreground) / 0.12); }
.site-header a { color:hsl(var(--header-foreground)); }
.site-header a:hover { color:hsl(var(--header-muted)); text-decoration:none; }
.site-header .scrolled { background:hsl(var(--header)); }

.site-footer { background:hsl(var(--footer)); color:hsl(var(--footer-foreground)); }
.site-footer a { color:hsl(var(--footer-foreground)); }
.site-footer a:hover { color:hsl(var(--footer-muted)); text-decoration:none; }
.site-footer .footer-muted { color:hsl(var(--footer-muted)); }

/* ── 5. Style signatures & utilities ── */

.grid-auto { display:grid; gap:var(--grid-gap); }
@media (min-width:768px) { .grid-auto { grid-template-columns:repeat(2, 1fr); } }
@media (min-width:1024px) { .grid-auto { grid-template-columns:repeat(3, 1fr); } }

.stack { display:flex; flex-direction:column; }
.stack > * + * { margin-block-start:var(--space-4); }
.stack-sm > * + * { margin-block-start:var(--space-2); }
.stack-lg > * + * { margin-block-start:var(--space-6); }

.text-muted { color:hsl(var(--muted-foreground)); }
.text-link { color:hsl(var(--link)); }

/* Geometric line-grid background for hero / brand bands */
.bg-grid { background-image:linear-gradient(hsl(var(--primary-foreground) / 0.06) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--primary-foreground) / 0.06) 1px, transparent 1px); background-size:48px 48px; }

/* Visible column divider lines in dense data sections */
.col-dividers { position:relative; }
.col-dividers::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(90deg, hsl(var(--border) / 0.5) 1px, transparent 1px); background-size:calc(100% / 12) 100%; opacity:0.6; }

/* Tables: institutional ledger style */
.data-table { width:100%; border-collapse:collapse; font-size:var(--text-sm); }
.data-table thead th { background:hsl(var(--card)); color:hsl(var(--card-foreground)); font-weight:var(--weight-bold); text-align:left; padding:var(--space-3) var(--space-4); border-bottom:var(--border-width) solid hsl(var(--border)); border-right:var(--border-width) solid hsl(var(--border)); }
.data-table thead th:last-child { border-right:none; }
.data-table tbody td { padding:var(--space-3) var(--space-4); border-bottom:var(--border-width) solid hsl(var(--border)); border-right:var(--border-width) solid hsl(var(--border)); color:hsl(var(--foreground)); }
.data-table tbody td:last-child { border-right:none; }
.data-table tbody tr:nth-child(even) { background:hsl(var(--muted)); }
.data-table tbody tr:hover { background:hsl(var(--primary) / 0.06); }

/* Stat card: bordered panel with animated number */
.stat-card { background:hsl(var(--card)); color:hsl(var(--card-foreground)); border:var(--border-width) solid hsl(var(--border)); padding:var(--space-6); text-align:center; }
.stat-number { font-family:var(--font-heading); font-size:var(--text-h1); font-weight:var(--weight-heading); color:hsl(var(--accent)); line-height:1; letter-spacing:var(--tracking-heading); }
.stat-label { font-size:var(--text-sm); color:hsl(var(--muted-foreground)); margin-top:var(--space-2); text-transform:uppercase; letter-spacing:0.06em; }

/* Scroll-triggered reveal */
.reveal { transition:opacity var(--duration-base) var(--ease), transform var(--duration-base) var(--ease); animation:hm-reveal-kfy54r var(--duration-base, 0.5s) var(--ease, ease) both; }
@keyframes hm-reveal-kfy54r{
from{opacity:0;transform:translateY(12px)}}
@media (prefers-reduced-motion: reduce){
.reveal{animation:none}}
.reveal.is-visible { opacity:1; transform:translateY(0); }

/* Staggered grid entrance */
.stagger > * { opacity:0; transform:translateY(12px); transition:opacity var(--duration-base) var(--ease), transform var(--duration-base) var(--ease); }
.stagger.is-visible > *:nth-child(1) { transition-delay:0ms; opacity:1; transform:translateY(0); }
.stagger.is-visible > *:nth-child(2) { transition-delay:80ms; opacity:1; transform:translateY(0); }
.stagger.is-visible > *:nth-child(3) { transition-delay:160ms; opacity:1; transform:translateY(0); }
.stagger.is-visible > *:nth-child(4) { transition-delay:240ms; opacity:1; transform:translateY(0); }
.stagger.is-visible > *:nth-child(5) { transition-delay:320ms; opacity:1; transform:translateY(0); }
.stagger.is-visible > *:nth-child(6) { transition-delay:400ms; opacity:1; transform:translateY(0); }

/* Sponsored label */
.sponsored-label { font-size:var(--text-xs); color:hsl(var(--muted-foreground)); text-transform:uppercase; letter-spacing:0.06em; }

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  .reveal, .stagger > * { opacity:1; transform:none; transition:none; }
  .card:hover, .btn { transform:none; }
}

.prose {
  --tw-prose-body: hsl(var(--text));
  --tw-prose-headings: hsl(var(--text));
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.posts-archive-grid img {
  aspect-ratio: 16/9;
}

/* hm-design-shape:start — corner shapes come from the Site Design settings; this block follows the structure layer so they always take effect. */
.btn{border-radius:var(--btn-radius)}
.card{border-radius:var(--card-radius)}
.input{border-radius:var(--input-radius)}
.badge{border-radius:var(--badge-radius)}
/* hm-design-shape:end */

/* hm-design-tokens:start — rendered from the Site Design config. Change values on the Site Design page; values edited here are read back into the config on save. */
:root {
  --background: 192 26.3% 96.3%;
  --foreground: 208.1 29.6% 21.2%;
  --text: 208.1 29.6% 21.2%;
  --card: 192 27.8% 92.9%;
  --card-foreground: 208.1 29.6% 21.2%;
  --popover: 192 27.8% 92.9%;
  --popover-foreground: 208.1 29.6% 21.2%;
  --primary: 206.8 70.4% 21.2%;
  --primary-foreground: 192 26.3% 96.3%;
  --primary-muted: 205.7 20.4% 79.8%;
  --primary-highlight: 207 70.1% 50.2%;
  --secondary: 175.7 100% 33.1%;
  --secondary-foreground: 210 73% 14.5%;
  --muted: 192 27.8% 92.9%;
  --muted-foreground: 208.1 15.1% 41.6%;
  --accent: 7.1 100% 67.1%;
  --accent-foreground: 210 73% 14.5%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 200 12.3% 85.7%;
  --input: 204 11.4% 82.7%;
  --ring: 7.1 100% 55.1%;
  --success: 141 78.9% 85.1%;
  --success-foreground: 210 73% 14.5%;
  --warning: 48 96.6% 76.7%;
  --warning-foreground: 210 73% 14.5%;
  --error: 0 96.3% 89.4%;
  --error-foreground: 210 73% 14.5%;
  --header: 206.8 70.4% 21.2%;
  --header-foreground: 192 26.3% 96.3%;
  --header-muted: 205.7 20.4% 79.8%;
  --footer: 206.8 70.4% 21.2%;
  --footer-foreground: 192 26.3% 96.3%;
  --footer-muted: 205.7 20.4% 79.8%;
  --link: 175.4 100% 23.1%;
  --headline: 206.8 70.4% 21.2%;
  --brand-gradient: linear-gradient(135deg, #103a5c 0%, #103a5c 100%);
  --brand-gradient-foreground: #f3f7f8;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-xs: 10.42px;
  --text-sm: 12.5px;
  --text-base: 15px;
  --text-lg: 18px;
  --text-xl: clamp(16.85px, 15.17px + 0.446vw, 21.6px);
  --text-2xl: clamp(20.22px, 18.21px + 0.535vw, 25.92px);
  --text-3xl: clamp(19.28px, 15.12px + 1.11vw, 31.1px);
  --text-4xl: clamp(23.14px, 18.15px + 1.332vw, 37.32px);
  --text-5xl: clamp(27.77px, 21.78px + 1.598vw, 44.79px);
  --text-h1: var(--text-4xl);
  --text-h2: var(--text-3xl);
  --text-h3: var(--text-xl);
  --text-h4: var(--text-lg);
  --weight-heading: 700;
  --weight-body: 400;
  --weight-bold: 600;
  --leading-heading: 1.2;
  --leading-body: 1.6;
  --tracking-heading: -0.01em;
  --eyebrow-size: 12px;
  --eyebrow-tracking: 0.08em;
  --eyebrow-transform: uppercase;
  --link-decoration: none;
  --link-hover-decoration: underline;
  --container-max: 1240px;
  --container-narrow: 720px;
  --container-wide: 1440px;
  --container-pad: 20px;
  --section-y: clamp(64px, 55.55px + 2.254vw, 88px);
  --section-y-sm: calc(var(--section-y) * 0.6);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 72px;
  --space-10: 80px;
  --space-11: 88px;
  --space-12: 96px;
  --grid-gap: 32px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 9999px;
  --radius: 4px;
  --radius-image: var(--radius-md);
  --border-width: 1px;
  --shadow-lg: none;
  --shadow-md: none;
  --shadow-sm: none;
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hover-lift: -2px;
  --scrim: 0.6;
  --scrim-color: rgba(0, 0, 0, 0.6);
  --ring-width: 2px;
  --ring-offset: 2px;
  --btn-radius: var(--radius-md);
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;
  --btn-font-size: var(--text-base);
  --btn-weight: 600;
  --btn-transform: none;
  --btn-tracking: 0;
  --btn-primary-bg: hsl(var(--accent));
  --btn-primary-fg: hsl(var(--accent-foreground));
  --btn-secondary-bg: transparent;
  --btn-secondary-fg: hsl(var(--foreground));
  --btn-secondary-border: hsl(var(--foreground) / 0.35);
  --btn-hover-filter: brightness(0.92);
  --btn-hover-transform: none;
  --btn-hover-shadow: none;
  --card-radius: var(--radius-md);
  --card-pad: 24px;
  --card-bg: hsl(var(--card));
  --card-border: var(--border-width) solid hsl(var(--border));
  --card-shadow: none;
  --card-backdrop: none;
  --card-hover-transform: none;
  --input-radius: var(--radius-sm);
  --input-bg: hsl(var(--background));
  --input-border: var(--border-width) solid hsl(var(--input));
  --input-border-bottom: var(--border-width) solid hsl(var(--input));
  --badge-radius: var(--radius-sm);
  --badge-bg: hsl(var(--muted));
  --badge-fg: hsl(var(--card-foreground));
  --badge-border: var(--border-width) solid transparent;
  --header-h: 72px;
  --header-shadow-scrolled: var(--shadow-md);
}
@media (min-width: 768px) {
  :root {
    --container-pad: 32px;
  }
}
/* hm-design-tokens:end */
