@font-face {
  font-family: "Newsreader";
  src: url("newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("public-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Mizan Manrope";
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #1b2a3a;
  --blue: #7891a3;
  --stone: #f2f1ed;
  --ink: #1b2a3a;
  --muted: #53626e;
  --white: #fff;
  font-family: "Public Sans", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
.ui-icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); }
a { color: inherit; }
a:focus-visible, button:focus-visible, [role="tabpanel"]:focus-visible { outline: 3px solid #536e82; outline-offset: 5px; }
.container { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 10px; padding: 12px; color: var(--navy); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { background: var(--stone); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #ccd0cd; }
.brand { font-size: 30px; font-weight: 600; letter-spacing: -.055em; line-height: 1; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 30px; }
nav a { font-size: 13px; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { background: var(--stone); }
.hero-inner { min-height: 560px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 72px; padding-block: 145px 120px; }
.eyebrow, .section-label { margin: 0 0 32px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 400; }
h1 { margin-bottom: 0; font-size: clamp(58px, 6.8vw, 92px); line-height: 1.05; letter-spacing: -.035em; }
.hero-intro { max-width: 390px; padding-bottom: 8px; }
.hero-description { margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 32px; padding: 0 18px; color: var(--white); background: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.button:hover { background: #38536a; }
.button span { font-size: 17px; }

.section { padding-block: 110px 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 75px; }
.section-label span { margin-right: 12px; color: #536e82; }
h2 { margin-bottom: 24px; font-size: clamp(36px, 4vw, 54px); line-height: 1.12; letter-spacing: -.025em; }
.section-heading > div > p { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.focus-card { min-height: 200px; padding-top: 24px; border-top: 1px solid var(--blue); }
.card-top { margin-bottom: 40px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
h3 { margin-bottom: 14px; font-size: 30px; letter-spacing: -.015em; }
.focus-card p { max-width: 410px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.collaboration-grid { grid-template-columns: repeat(3, 1fr); }
.offerings { background: var(--stone); }
.offerings-tabs { display: flex; gap: 32px; border-bottom: 1px solid #b9c3c6; }
.offerings-tabs[hidden], .offering[hidden] { display: none; }
.offerings-tabs button { position: relative; min-height: 52px; padding: 0 0 14px; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.offerings-tabs button[aria-selected="true"] { color: var(--ink); }
.offerings-tabs button[aria-selected="true"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--navy); content: ""; }
.offerings-tabs button:hover { color: var(--ink); }
.offering { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-block: 48px; border-top: 1px solid #b9c3c6; }
.offering:last-child { padding-bottom: 0; }
.offerings-tabs:not([hidden]) + .offerings-list .offering { padding-bottom: 0; border-top: 0; }
.offering-title h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.offering-content { max-width: 740px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.offering-content > p:first-child { margin-bottom: 32px; font-size: 16px; }
.offering-content h4 { margin: 0 0 15px; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.offering-content ul { margin: 0; padding-left: 20px; }
.offering-content li { padding-left: 5px; }
.offering-content li + li { margin-top: 14px; }
.offering-content strong { color: var(--ink); font-weight: 600; }
.offering-value { margin: 30px 0 0; }
.clients { background: var(--stone); }
.client-carousel.is-enhanced { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 20px; }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.client-list li { min-width: 0; min-height: 130px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.client-list li[hidden] { display: none; }
.client-list img { display: block; max-width: 100%; max-height: 100px; width: auto; height: auto; }
.karlskopf-logo { mix-blend-mode: multiply; }
.mizan-wordmark { color: #173a32; font-family: "Mizan Manrope", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.kareem-wordmark { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; }
.client-list .kareem-wordmark img { width: 72px; height: 72px; }
.client-arrow { width: 44px; height: 44px; border: 0; color: var(--ink); background: transparent; font: inherit; font-size: 22px; cursor: pointer; }
.client-arrow[hidden] { display: none; }
.client-arrow:hover { color: var(--muted); }
.site-footer { color: #d3dce2; background: var(--navy); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer-inner span:first-child { color: var(--white); font-weight: 600; }
.footer-legal { gap: 12px 20px; }
.footer-legal a { font-size: 12px; font-weight: 400; }
.legal-page { padding-block: 100px 120px; }
.legal-page h1 { margin-bottom: 60px; font-size: clamp(48px, 5vw, 68px); overflow-wrap: anywhere; }
.legal-section { max-width: 760px; padding-block: 48px; border-top: 1px solid #b9c3c6; }
.legal-section h2 { margin-bottom: 32px; font-size: clamp(32px, 3vw, 42px); overflow-wrap: anywhere; }
.legal-section h3 { margin: 32px 0 12px; font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-section li + li { margin-top: 8px; }

.contact-profile { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; }
.contact-initials { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border: 1px solid rgba(27, 42, 58, .3); border-radius: 50%; color: var(--navy); font-family: "Mizan Manrope", sans-serif; font-size: 15px; font-weight: 600; }
.contact-profile h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.contact .section-heading .contact-profile p { margin: 0; font-size: 13px; line-height: 1.5; }
.contact altcha-widget { display: block; margin-block: 28px 18px; }
.contact altcha-widget[hidden] { display: none; }
.contact #contact-status { font-size: 14px; }
.contact #contact-email[hidden] { display: none; }

@media (max-width: 800px) {
  .container { width: min(100% - 48px, 1240px); }
  .header-inner { min-height: 80px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-block: 100px 90px; }
  .hero-intro { max-width: 520px; padding-bottom: 0; }
  .section { padding-block: 80px; }
  .legal-page { padding-block: 70px 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 55px; }
  .section-label { margin-bottom: 15px; }
  .offering { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; }
  .offering-title h3 { margin-bottom: 0; }
}

@media (max-width: 560px) {
  .brand { font-size: 27px; }
  nav { gap: 10px 18px; }
  .offerings-tabs { gap: 24px; }
  h1 { font-size: clamp(50px, 11vw, 62px); }
  .hero-inner { padding-block: 80px; }
  .hero-description { font-size: 16px; }
  .focus-grid { grid-template-columns: 1fr; gap: 40px; }
  .client-list { grid-template-columns: 1fr; gap: 0; }
  .client-list li { min-height: 100px; }
  .client-carousel.is-enhanced { gap: 4px; }
  .client-list.is-carousel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .client-list.is-carousel li { min-height: 100px; padding: 0; }
  .client-list.is-carousel img { max-height: 75px; }
  .client-list.is-carousel .mizan-wordmark { font-size: clamp(11px, 2.8vw, 15px); line-height: 1.15; text-align: center; white-space: normal; }
  .client-list.is-carousel .kareem-wordmark { font-size: 10px; }
  .client-list.is-carousel .kareem-wordmark img { width: 46px; height: 46px; }
  .focus-card { min-height: 0; }
  .card-top { margin-bottom: 30px; }
  .footer-inner { padding-block: 25px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { justify-content: flex-start; }
}

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