/* Readability refinements across every page. */
:root {
  --ink: #191820;
  --ink-2: #383641;
  --muted: #504c5b;
  --teal: #5b349f;
}
body { font-size: 19px; line-height: 1.75; }
p { max-width: 68ch; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; }
h2 { line-height: 1.2; }
h3 { line-height: 1.3; }
.eyebrow { font-size: 14px; letter-spacing: .09em; font-weight: 700; line-height: 1.6; }
.brand { font-size: 24px; }
.primary-nav { gap: 10px; }
.primary-nav > a { font-size: 17px; font-weight: 600; }
.primary-nav .nav-cta { margin-left: 10px; }
.hero-copy h1, .hero-copy h2 { font-weight: 600; }
.hero-copy p { font-size: 21px; line-height: 1.75; max-width: 48ch; }
.button, .text-link { font-size: 17px; font-weight: 650; }
.button { min-height: 52px; padding: 14px 22px; }
.hero-actions { gap: 14px; }
.hero-proof { font-size: 16px; line-height: 1.6; gap: 12px 20px; }
.hero-proof b { font-weight: 700; }
.hero-visual { margin-right: 0; }
.hero-visual figure { margin: 0; }
.hero-visual img { width: 100%; }
.visual-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 8px 0 20px; }
.visual-legend > div { border-top: 2px solid #b5a1d1; padding-top: 10px; }
.visual-legend strong { display: block; font-size: 17px; color: var(--ink); line-height: 1.4; }
.visual-legend span { display: block; font-size: 16px; color: var(--ink-2); line-height: 1.55; margin-top: 5px; }
.visual-caption { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 18px 0 0; }
.capability-strip span { font-size: 14px; letter-spacing: .07em; font-weight: 600; }
.capability-strip a { font-size: 17px; font-weight: 600; }
.capability-strip .container { gap: 18px 26px; }
.slider-dot { width: 44px; height: 44px; }
.slider-dot::after { left: 8px; right: 8px; top: 20px; height: 4px; background: #777080; }
.icon-button, .slider-pause { font-size: 17px; min-width: 44px; min-height: 44px; }
.icon-button { font-size: 23px; }
.split-intro .lead { font-size: 22px; line-height: 1.75; }
.section-heading p, .page-hero p { font-size: 21px; line-height: 1.75; }
.service-card { min-height: 320px; }
.service-card h3 { font-size: 28px; font-weight: 650; }
.service-card p, .project-card p, .service-detail p, .statement p { font-size: 19px; line-height: 1.75; }
.card-number, .process-grid li > span, .value-grid span { font-size: 16px; font-weight: 650; }
.process-grid { gap: 24px; }
.process-grid h3 { font-size: 26px; line-height: 1.3; }
.process-grid p { font-size: 18px; line-height: 1.8; color: #e3dfea; }
.section--dark p, .section-heading--light p, .prose--light p { color: #e3dfea; }
.check-list strong { font-size: 19px; font-weight: 650; }
.check-list span { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.check-list li { padding-block: 24px; }
.check-list li::before { top: 27px; }
.project-card h2 { font-weight: 650; }
.tag-row span { font-size: 15px; font-weight: 600; padding: 8px 12px; color: #513379; }
.value-grid h3 { font-size: 25px; font-weight: 600; }
.prose p { font-size: 21px; line-height: 1.85; }
.prose.narrow { max-width: 800px; }
.prose blockquote, blockquote { font-size: 25px; line-height: 1.6; font-weight: 600; }
.cta-panel p { font-size: 20px; line-height: 1.75; color: #ece5f5; }
.cta-panel > .button { white-space: normal; }
.contact-card p, .contact-form p { font-size: 19px; }
.contact-form label { font-size: 18px; font-weight: 650; gap: 10px; }
.contact-form input, .contact-form select, .contact-form textarea { font-size: 18px; line-height: 1.5; min-height: 54px; border-color: #a79bb7; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #625b6d; opacity: 1; }
.contact-form .form-status { font-size: 16px; }
.contact-email { font-size: 19px; }
.footer-brand p, .footer-links a { font-size: 18px; line-height: 1.75; }
.footer-heading { font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.footer-links { gap: 13px; }
.footer-links a { overflow-wrap: anywhere; }
.footer-bottom { font-size: 16px; line-height: 1.6; }
.flow-line { font-size: 18px; }
.image-expand { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; border: 0; background: transparent; color: var(--teal); font: inherit; font-size: 16px; font-weight: 650; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.project-card > .project-image { padding: 0; }
.project-image .image-expand { margin: 4px 24px; }
.image-dialog { width: min(1280px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: var(--paper); color: var(--ink); }
.image-dialog::backdrop { background: rgba(20, 16, 28, .8); }
.image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.image-dialog-header h2 { font-size: 23px; margin: 0; letter-spacing: -.02em; }
.image-dialog-close { border: 1px solid #ada4b8; background: white; color: var(--ink); border-radius: 4px; min-height: 48px; padding: 8px 16px; font-size: 17px; flex-shrink: 0; }
.image-dialog-image { overflow: auto; max-height: 65dvh; border-radius: 4px; background: #f2eef7; }
.image-dialog-image img { width: 100%; min-width: 900px; max-width: none; }
.image-dialog-description { font-size: 18px; margin: 16px 0 0; }
body:has(.image-dialog[open]) { overflow: hidden; }
@media (max-width: 1120px) and (min-width: 981px) {
  .brand { font-size: 21px; }
  .primary-nav { gap: 3px; }
  .primary-nav .nav-cta { padding-inline: 13px; }
  .hero-slide { grid-template-columns: 1.05fr 1fr; gap: 28px; }
}
@media (max-width: 980px) {
  .hero-slide { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy p { max-width: 55ch; }
  .hero-visual { width: min(100%, 640px); margin-inline: auto; }
  .hero-visual img { max-height: none; object-fit: contain; }
  .hero-proof { display: flex; }
  .cta-panel { gap: 24px; }
  .primary-nav > a { font-size: 18px; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  .brand { font-size: 22px; }
  .hero-copy p, .page-hero p, .section-heading p, .split-intro .lead { font-size: 19px; line-height: 1.75; }
  .hero-copy h1, .hero-copy h2 { line-height: 1.15; }
  .hero-actions { display: grid; gap: 12px; margin-block: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .hero-visual img { max-height: none; }
  .visual-legend { grid-template-columns: 1fr; gap: 16px; }
  .visual-legend strong { font-size: 18px; }
  .visual-legend span { font-size: 17px; }
  .slider-controls { gap: 2px; flex-wrap: wrap; }
  .slider-dot { width: 38px; }
  .slider-pause { padding-inline: 8px; }
  .capability-strip a { font-size: 17px; }
  .service-card { min-height: 270px; }
  .service-card p, .project-card p, .service-detail p, .statement p { font-size: 18px; }
  .service-card h3 { font-size: 27px; }
  .process-grid p, .check-list span { font-size: 18px; }
  .prose p, .cta-panel p { font-size: 19px; }
  .prose blockquote, blockquote { font-size: 22px; padding: 20px; }
  .contact-card p, .contact-form p { font-size: 18px; }
  .contact-email { font-size: 18px; }
  .footer-brand p, .footer-links a { font-size: 17px; }
  .footer-bottom { font-size: 15px; }
  .image-dialog { padding: 16px; }
  .image-dialog-header { align-items: flex-start; gap: 12px; }
  .image-dialog-header h2 { font-size: 20px; }
  .image-dialog-description { font-size: 17px; }
}
/* Keep the agent image prominent beside the longer service description. */
#agents .service-layout { align-items: start; }
@media (min-width: 981px) { #agents .service-media { position: sticky; top: calc(var(--header) + 24px); } }

.brand img { width: 44px; height: 44px; } @media(max-width:680px) { .brand img { width: 38px; height: 38px; } }
