/* Recovered visual system from multimathic-se.pages.dev, September 2026.
   Canvas, type scale, pill buttons, imagery and teal section are retained. */
:root {
  color-scheme: light;
  --canvas: #f5f1ec;
  --surface: #ffffff;
  --surface-soft: #ebe7e1;
  --ink: #1a1a2e;
  --muted: #626260;
  --hairline: #d3cec6;
  --teal: #0e7490;
  --teal-bright: #0891b2;
  --teal-soft: #e5f1f3;
  --content-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.07; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 3px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
address { font-style: normal; }
::selection { color: var(--ink); background: #0891b233; }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 88px; }
.section-white { background: var(--surface); border-block: 1px solid var(--hairline); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-block: 13px 20px; }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted); }
.eyebrow { color: var(--teal); font-size: .875rem; font-weight: 600; line-height: 1.4; }
.small { font-size: .875rem; line-height: 1.6; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-150%); padding: 12px 20px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hairline); background: var(--canvas); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { color: var(--ink); font-size: 1.7rem; line-height: 1.1; font-weight: 500; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 400; letter-spacing: .015em; }
.desktop-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.desktop-nav a { color: var(--ink); text-decoration: none; font-size: .875rem; }
.desktop-nav a:hover { color: var(--teal); text-decoration: underline; }
.mobile-menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 27px; border: 1.5px solid var(--teal); border-radius: 999px; background: var(--teal); color: white; font-size: .9375rem; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color .2s, border-color .2s; }
.button:hover { background: #075e74; border-color: #075e74; }
.button-outline { background: transparent; color: var(--teal); }
.button-outline:hover { background: var(--teal); color: white; }
.button-light { border-color: white; background: white; color: var(--teal); }
.button-light:hover { border-color: var(--canvas); background: var(--canvas); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 105px 112px; text-align: center; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; opacity: .2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f5f1ecb3, #f5f1ec18 50%, #f5f1ece6); }
.hero-content { max-width: 940px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero .lead { max-width: 700px; margin: 28px auto 32px; color: #4e5050; }
.specialties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.specialty { padding: 32px 28px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--canvas); text-align: center; }
.specialty h3 { margin-block: 22px 14px; }
.specialty p { color: var(--muted); }
.icon-circle { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; margin-inline: auto; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.icon-circle svg { width: 30px; height: 30px; stroke-linecap: round; stroke-linejoin: round; }
.related-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-top: 32px; font-size: .875rem; }
.related-links p { color: var(--muted); }
.related-links a { font-weight: 500; }
.project-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.project { padding: 36px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); }
.featured-project { border-top: 3px solid var(--teal); }
.status { display: inline-block; color: var(--teal); background: var(--teal-soft); font-size: .8rem; font-weight: 600; line-height: 1.4; padding: 6px 11px; border-radius: 4px; }
.project h3 { margin-block: 20px 18px; font-size: 1.8rem; }
.project p:not(.eyebrow, .status) { color: var(--muted); }
.project p + p { margin-top: 16px; }
.project strong { color: var(--ink); font-weight: 600; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 500; }
.project-note { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hairline); font-size: .9375rem; }
.project-note .text-link { margin-top: 12px; }
.about-section { color: white; background: var(--teal); text-align: center; }
.about-content { max-width: 800px; }
.portrait { width: 136px; height: 136px; object-fit: cover; border: 2px solid #ffffff73; border-radius: 50%; margin: 0 auto 28px; }
.about-section .eyebrow { color: #e0f1f4; }
.about-section h2 { margin-block: 12px 24px; }
.about-section .lead { color: white; }
.about-section .lead + p { max-width: 690px; margin: 22px auto 30px; color: #edf7f9; }
.about-section a:focus-visible { outline-color: white; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 72px; }
.contact-copy h2 { margin-block: 14px 24px; }
.contact-methods { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; margin-block: 28px 22px; font-size: 1.375rem; font-weight: 500; }
.contact-copy .small { max-width: 490px; }
.company-details { padding: 34px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--canvas); }
.company-details dl { margin: 24px 0 0; }
.company-details dl > div + div { margin-top: 20px; }
.company-details dt { color: var(--muted); font-size: .8125rem; margin-bottom: 3px; }
.company-details dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { padding-block: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 36px; }
.footer-inner .small { margin-top: 18px; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 12px 25px; max-width: 450px; font-size: .875rem; }
.footer-inner nav a { color: var(--muted); }
.reading-page { max-width: 780px; padding-block: 72px 88px; }
.reading-page h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-block: 20px 26px; }
.reading-page h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 40px 0 14px; }
.reading-page p + p { margin-top: 20px; }
.reading-page .lead { font-size: 1.2rem; }
.reading-page .actions { justify-content: flex-start; margin-top: 30px; }
.reading-page ul { padding-left: 22px; }
.reading-page li + li { margin-top: 12px; }
.notice { margin-top: 36px; border-left: 3px solid var(--teal); padding: 20px 24px; background: var(--surface); color: var(--muted); }
.breadcrumb { font-size: .875rem; }
.reading-page .status { margin-top: 28px; }
.error-page { min-height: 60vh; }
@media (max-width: 980px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .8125rem; }
  .header-contact { padding-inline: 20px; }
  .contact-grid { gap: 36px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .container { width: min(var(--content-width), calc(100% - 40px)); }
  .section { padding-block: 62px; }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { font-size: 1.5rem; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 12px; list-style: none; cursor: pointer; font-size: .9375rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { font-size: 1.375rem; line-height: 1; }
  .mobile-menu[open] summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 10px 20px 18px; background: var(--canvas); border-bottom: 1px solid var(--hairline); box-shadow: 0 12px 18px #1a1a2e0a; }
  .mobile-menu nav a { display: block; min-height: 48px; padding: 12px 8px; color: var(--ink); text-decoration: none; }
  .hero { padding-block: 72px 80px; }
  .hero .eyebrow { font-size: .78rem; }
  .hero .lead { margin-block: 24px 28px; }
  .lead { font-size: 1.0625rem; }
  .section-heading { margin-bottom: 32px; }
  .specialties, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .specialty { padding: 28px; }
  .specialty p { max-width: 440px; margin-inline: auto; }
  .related-links { gap: 14px 24px; }
  .related-links p { flex-basis: 100%; text-align: center; }
  .project { padding: 28px; }
  .contact-grid { gap: 32px; }
  .company-details { padding: 28px; }
  .contact-methods { font-size: 1.2rem; }
  .footer-inner { flex-direction: column; }
  .footer-inner nav { justify-content: flex-start; }
  .reading-page { padding-block: 48px 64px; }
}
@media (max-width: 400px) {
  .actions { align-items: stretch; flex-direction: column; }
  .hero h1 { font-size: 2.6rem; }
  .project, .company-details { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
