/* Shared light design: service pages, legal pages and existing UI components. */
:root {
  color-scheme: light;
  --bg: #f7f6f0;
  --bg-soft: #eeeee7;
  --panel: #fffefa;
  --panel-strong: #eceff9;
  --text: #18233a;
  --muted: #566174;
  --line: #d9dcd8;
  --accent: #2346db;
  --accent-strong: #2346db;
  --ink: #ffffff;
  --shadow: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before { display: none; }
button, input, textarea, select { font: inherit; }
a { text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: auto; }

.site-shell {
  width: min(1180px, calc(100% - 80px));
  padding-bottom: 32px;
}

.site-header {
  position: static;
  margin-top: 0;
  padding: 26px 0;
  gap: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand { width: 164px; }
.brand img { filter: none; mix-blend-mode: multiply; }
.site-nav { gap: 12px 18px; }
.site-nav a { font-size: 0.8rem; font-weight: 600; line-height: 1.5; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); transform: none; }
.nav-cta { padding: 11px 17px; border-radius: 5px; }

h1, h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 { max-width: 22ch; font-size: clamp(2.8rem, 6.6vw, 5.5rem); line-height: 1.04; }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); line-height: 1.12; }
h3 { font-weight: 600; font-size: 1.23rem; line-height: 1.35; letter-spacing: -0.025em; }
.eyebrow { margin-bottom: 17px; font-size: 0.68rem; letter-spacing: 0.16em; }
.hero, .subpage-hero { grid-template-columns: minmax(0, 1fr); gap: 38px; padding: 68px 0 55px; }
.subpage-hero:has(.hero-panel) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.hero-copy { padding: 0; }
.hero-text { max-width: 68ch; margin-top: 24px; font-size: 1.06rem; line-height: 1.8; }
.hero-actions { margin-top: 28px; gap: 13px; }

.button { min-height: 46px; padding: 13px 20px; border-radius: 5px; font-size: 0.85rem; line-height: 1.5; }
.button:hover, .button:focus-visible { transform: none; box-shadow: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: #1938b7; }
.button-secondary { border: 1px solid #bfc5d4; background: transparent; color: var(--text); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent); background: #e9edfb; }
.hero-panel-link { background: var(--accent); color: #fff; border-color: transparent; box-shadow: none; }
.hero-panel-link:visited, .hero-panel-link:hover, .hero-panel-link:focus-visible { color: #fff; background: #1938b7; }

.section { padding: 55px 0; }
.section-heading { gap: 4px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section + .section:not(.highlight) { border-top: 1px solid var(--line); }
.hero-panel, .service-card, .highlight, .job-card, .publication-card,
.process-grid article, .profile-card, .legal-card, .contact-form, .contact-panel {
  border-radius: 8px;
  box-shadow: none;
  animation: none;
}

.hero-panel { padding: 27px; background: #eceff9; border-color: #dfe3f1; gap: 22px; }
.hero-stat-label { font-size: 0.67rem; letter-spacing: 0.14em; }
.hero-panel strong { font-size: 1.35rem; line-height: 1.35; }
.hero-panel-copy { font-size: 0.9rem; line-height: 1.8; }
.hero-shot { border-radius: 5px; background: #fff; }
.hero-shot:focus-visible { outline-color: var(--accent); }
.card-grid { gap: 22px; }
.process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card, .process-grid article { padding: 27px; gap: 16px; align-content: start; background: var(--panel); }
.service-card p, .process-grid p { margin: 0; font-size: 0.94rem; line-height: 1.8; }
.card-index, .process-grid span { width: 38px; height: 38px; border-radius: 50%; background: #e9edfb; font-size: 0.77rem; }
.highlight { margin: 8px 0; padding: 38px; background: #eceff9; border-color: #dfe3f1; }
.highlight-copy { max-width: 88ch; }
.highlight-copy p { line-height: 1.85; }
.highlight-copy a, .legal-block a { text-decoration-color: currentColor; }
.bullet-list { color: var(--muted); line-height: 1.8; }
.tag-row { gap: 8px; }
.tag-row span { padding: 7px 11px; border: 1px solid #d7ddec; background: transparent; color: #334567; font-size: 0.79rem; border-radius: 4px; }
.cta-strip { gap: 8px; padding: 38px; border: 1px solid #dfe3f1; border-radius: 8px; background: #eceff9; box-shadow: none; }
.cta-strip .section-heading { margin-bottom: 0; }
.cta-strip .hero-text { margin-top: 4px; }
.link-cluster { margin-top: 18px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 24px; }
.footer-link { color: var(--muted); }
.footer-link:hover, .footer-link:focus-visible { color: var(--accent); }

.legal-section { padding-top: 56px; }
.legal-card { padding: 34px; gap: 34px; background: var(--panel); }
.legal-grid { gap: 26px 42px; }
.legal-grid > div { min-width: 0; }
.legal-grid p { line-height: 1.8; }
.legal-grid a { color: var(--accent); overflow-wrap: anywhere; }
.legal-label { margin-bottom: 7px !important; font-size: 0.7rem; }
.legal-block { gap: 13px; padding-top: 26px; }
.legal-block p { max-width: 90ch; font-size: 0.96rem; line-height: 1.9; }
.legal-sections { gap: 26px; }

.job-card, .publication-card, .contact-form, .contact-panel { background: var(--panel); padding: 28px; }
.job-meta span { border-color: var(--line); background: #f1f2ed; color: var(--muted); border-radius: 4px; font-size: 0.79rem; }
.job-list-title, .job-kicker { font-size: 0.7rem; }
.job-list li { font-size: 0.94rem; line-height: 1.8; }
.publication-title-link { text-decoration-color: var(--accent); }
.field input, .field textarea, .field select { border: 1px solid #c9cdd5; border-radius: 5px; background: #fff; color: var(--text); font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: #737c8a; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(35,70,219,.1); }
.field span { font-size: 0.84rem; }
.form-note, .field small { font-size: 0.82rem; }
.form-status[data-state="success"] { color: #187644; }
.form-status[data-state="error"] { color: #b82721; }
.form-note a, .privacy-note a { text-decoration-color: currentColor; }
.checkbox-field input { accent-color: var(--accent); }
.privacy-note { border-radius: 5px; background: #f0f2f8; }

.modal-dialog { background: var(--bg); border-radius: 10px; border-color: var(--line); box-shadow: 0 20px 70px rgba(24,35,58,.2); }
.modal-backdrop { background: rgba(24,35,58,.6); backdrop-filter: blur(5px); }
.modal-content { padding: 36px; }
.modal-header { padding-top: 32px; }
.modal-close { border-radius: 5px; background: #fff; color: var(--text); z-index: 2; }
.image-modal-figure { background: #fff; border-radius: 5px; }
.consent-banner-panel { background: var(--panel); border-radius: 8px; box-shadow: 0 15px 55px rgba(24,35,58,.16); backdrop-filter: none; }
.consent-banner-copy h2 { font-size: 2rem; }
.consent-banner-copy p { font-size: 0.87rem; line-height: 1.7; }

@media (max-width: 1050px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-nav { justify-content: flex-start; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .site-shell { width: calc(100% - 48px); }
  .hero, .subpage-hero:has(.hero-panel) { grid-template-columns: minmax(0, 1fr); padding: 44px 0; }
  h1 { font-size: clamp(2.6rem, 7.5vw, 4.5rem); }
  .hero-text { max-width: 65ch; }
  .section { padding: 40px 0; }
  .highlight { padding: 28px; }
  .site-nav { display: flex; flex-wrap: wrap; width: auto; gap: 5px 15px; }
  .site-nav a { border: none; border-radius: 0; background: transparent; padding: 7px 0; min-height: 38px; text-align: left; font-size: 0.78rem; }
  .site-nav a.nav-cta { padding: 10px 15px; border-radius: 5px; background: var(--accent); }
  .hero-actions { flex-direction: row; }
  .button { width: auto; }
  .job-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .site-shell { width: calc(100% - 36px); }
  .site-header { padding: 20px 0; gap: 14px; }
  .brand { width: 146px; }
  .site-nav { gap: 3px 14px; }
  .site-nav a { font-size: 0.75rem; }
  .hero, .subpage-hero:has(.hero-panel) { padding: 37px 0; gap: 26px; }
  h1 { max-width: none; font-size: clamp(2.45rem, 10.8vw, 3.75rem); line-height: 1.08; }
  h2 { font-size: clamp(2rem, 8.7vw, 2.6rem); }
  h3 { font-size: 1.16rem; }
  .hero-text { font-size: 0.96rem; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .card-grid, .process-grid, .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section { padding: 34px 0; }
  .section-heading { margin-bottom: 23px; }
  .hero-panel, .service-card, .process-grid article, .highlight, .cta-strip,
  .legal-card, .job-card, .contact-form, .publication-card { padding: 23px 20px; border-radius: 6px; }
  .hero-panel strong { font-size: 1.2rem; }
  .legal-card { gap: 27px; }
  .legal-block p { font-size: 0.9rem; line-height: 1.85; }
  .legal-header .button { min-height: 40px; padding: 9px 13px; }
  .link-cluster { flex-direction: column; align-items: stretch; }
  .modal-shell { padding: 10px; }
  .modal-content { padding: 24px 18px; }
  .modal-header { padding-top: 38px; }
  .modal-header h2 { font-size: 2rem; }
  .consent-banner-panel { padding: 20px; }
  .consent-banner-copy h2 { font-size: 1.8rem; }
  .consent-banner-actions .button { width: 100%; }
  .site-footer { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
