/* Launch design proposal, additive to the verified August design.
 * Yellow is decorative only; brown supplements, never replaces, status colors.
 * The existing green action/focus colors and layout are preserved.
 */
/* Color definitions are supplied by brand-tokens.css. */
/* Shared corporate design. Native platform rules are not web requirements. */
body { font-family: var(--fontBody); }
h1, h2, h3 { text-wrap: balance; }
.button, .nav-cta { transition: background-color var(--motion), border-color var(--motion); }
.button:active { filter: brightness(.92); }
.button-light:hover { background: var(--colorSurfaceTint); color: var(--ink); }
.company-note, .company-service-card, .case-card, .competency-grid article,
.fact-grid > div, .contact-layout form { border-radius: var(--radiusCard); }
.text-link { text-decoration-line: underline; }
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { max-width: none; text-wrap: initial; overflow-wrap: normal; line-height: 1.5; }
.footer-grid > div { min-width: 0; }
.footer-grid > div > a.footer-contact { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; }
.link-arrow { width: 1.35em; height: 1.35em; flex: none; }
.inline-cta .button { background: var(--colorSurface); color: var(--colorBrandPrimary); border-color: var(--colorSurface); }
.inline-cta .button:hover { background: var(--colorSurfaceTint); border-color: var(--colorSurfaceTint); }
.inline-cta .button:focus-visible { outline-color: var(--colorSurface); }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.app-layout { --app-paper: var(--colorCanvas); --app-ink: var(--colorBrandPrimary); color: var(--app-ink); }
.app-hero { background: var(--colorSurfaceTint); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.app-hero-grid > div:only-child { grid-column: 1 / -1; max-width: 52rem; }
.app-layout h1 { font-size: clamp(2.5rem, 5.3vw, 4.6rem); line-height: 1.06; letter-spacing: -.045em; max-width: 15ch; margin: .8rem 0 1.5rem; text-wrap: balance; }
.app-layout h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.17; letter-spacing: -.025em; margin: .5rem 0 1.2rem; text-wrap: balance; }
.app-layout h3 { font-size: 1.45rem; line-height: 1.25; margin: 1.2rem 0 .5rem; }
.app-layout p { max-width: 66ch; line-height: 1.7; }
.app-layout .app-lead { font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.6; }
.app-language { font-weight: 600; margin: 1.5rem 0; }
.app-visual { margin: 0; text-align: center; padding: 2rem; background: var(--app-paper); border: 1px solid var(--line); border-radius: var(--radiusCard); }
.app-visual img { width: min(100%, 240px); height: auto; margin: 0 auto 1.5rem; display: block; }
.app-visual figcaption { font-size: 1.05rem; line-height: 1.6; }
.app-visual-note { display: block; margin-top: 1rem; font-size: .8rem; color: var(--colorBrandBrown); }
.app-body { padding-bottom: 3rem; }
.app-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.app-section + .app-section { border-top: 1px solid var(--line); }
.app-intro { max-width: 52rem; }
.app-section-head { max-width: 48rem; margin-bottom: 2rem; }
.app-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.app-card { padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radiusCard); background: var(--colorSurface); }
.app-card h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.app-number { color: var(--colorBrandBrown); font-size: .95rem; font-weight: 700; border-bottom: 3px solid var(--colorBrandYellow); padding-bottom: .5rem; }
.app-card-label { font-weight: 700; color: var(--colorAccentDark); }
.app-status { background: var(--colorSurfaceTint); }
.app-muted { color: var(--colorTextSecondary); font-size: .95rem; }
.tech-line { color: var(--colorTextSecondary); }
.prose h2 { max-width: none; hyphens: auto; }
.app-local { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.app-pipeline { list-style: none; padding: 0; margin: 0; }
.app-pipeline li { position: relative; padding: 0 0 1.5rem 3.5rem; border-left: 2px solid var(--line); margin-left: 1.1rem; }
.app-pipeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.app-pipeline span { position: absolute; left: -1.2rem; top: 0; background: var(--colorBrandPrimary); color: var(--colorCanvas); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.app-pipeline p { margin: .5rem 0 0; }
.app-contact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--colorSurfaceTint); padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: var(--radiusCard); }
.app-contact .button { flex-shrink: 0; }
.app-back { margin-top: 2rem; font-size: .95rem; }
.app-feature { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 3rem; align-items: center; }
.app-feature img { max-width: 100%; height: auto; }
.app-checklist { padding-left: 1.3rem; }
.app-checklist li { padding-left: .4rem; margin: 1rem 0; }
.app-layout [id] { scroll-margin-top: 7rem; }
@media (max-width: 760px) {
  .app-hero-grid, .app-card-grid, .app-local, .app-feature { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .app-visual { max-width: 26rem; width: 100%; justify-self: center; }
  .app-visual img { width: 160px; }
  .app-feature img { width: 120px; }
  .app-contact { align-items: flex-start; flex-direction: column; }
}
.site-header { border-top: 3px solid var(--colorBrandYellow); }
.system-card:not(.accent) { border-top: 3px solid var(--colorBrandYellow); }
.reference-note { border-left-color: var(--colorBrandBrown); }
.footer-brand .brand-mark { background: transparent; }
/* Legal headings and contact addresses must reflow on narrow viewports. */
:where(h1, h2, h3, p, address, li, dd, a) { overflow-wrap: anywhere; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.company-hero { padding: clamp(3rem, 6vw, 6rem) 0; border-bottom: 1px solid var(--line); }
.company-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.company-hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.8rem); max-width: 15ch; }
.company-hero .hero-lead { max-width: 43rem; }
.company-byline { margin: 1.6rem 0 0; font-size: .9rem; color: var(--colorBrandBrown); }
.company-note { padding: 2rem; background: var(--colorSurface); border: 1px solid var(--line); border-top: 4px solid var(--colorBrandYellow); }
.company-note h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 1rem 0; }
.company-note ol { padding-left: 1.2rem; margin: 1.5rem 0; }
.company-note li { margin: .6rem 0; }
.company-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.company-service-card { display: flex; flex-direction: column; padding: 2rem; background: var(--colorSurface); border: 1px solid var(--line); border-top: 3px solid var(--colorBrandPrimary); }
.company-service-card .number { margin-bottom: 1.5rem; color: var(--colorAccentPrimary); }
.company-service-card p { flex: 1; }
.company-service-card a { font-size: .9rem; }
.company-related { margin: 1.5rem 0 0; color: var(--colorBrandBrown); }
.site-footer .brand small { color: var(--colorSurfaceTint); }
.company-practice { background: var(--paper-2); }
.company-practice .case-card { box-shadow: none; }
.company-practice .case-card h3 { margin-top: 1rem; }
.company-person h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-section .button { background: var(--colorSurface); color: var(--colorBrandPrimary); border-color: var(--colorSurface); }
.cta-section .button:hover { background: var(--colorSurfaceTint); }
/* Let the intended aspect ratio override the HTML image height on narrow columns. */
.page-hero-image img { height: auto; }
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.contact-layout h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); max-width: none; }
@media (max-width: 850px) {
  .company-hero-grid, .company-service-grid { grid-template-columns: 1fr; }
  .company-note { max-width: none; }
  .company-hero .actions { align-items: flex-start; }
  .company-service-card { padding: 1.5rem; }
}
@media print {
  .site-header { border-top-color: var(--colorBrandPrimary); }
  body { background: white; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-cta, .case-card { transition: none; }
  .case-card:hover, .radar-feedback-button:active:not(:disabled) { transform: none; }
}
