/* Shared presentation layer. Public pages, forms and tools retain their functions. */
.agency {
  --paper: #f6f7f9;
  --line: #dce2e9;
  --muted: #4f5f73;
  --radius: 14px;
  -webkit-font-smoothing: antialiased;
}
.agency h1, .agency h2, .agency h3, .agency h4 { text-wrap: balance; }
.agency h2 { line-height: 1.18; letter-spacing: -.03em; }
.agency h3 { line-height: 1.28; letter-spacing: -.018em; }
.agency p { text-wrap: pretty; }
.agency .section { padding-block: clamp(56px, 6vw, 88px); }
.agency .section-head { align-items: flex-start; margin-bottom: 36px; }
.agency .section-head > p { padding-top: 26px; }
.agency .eyebrow { line-height: 1.55; }
.agency .inner-hero .wrap { max-width: 1200px; }
.agency .inner-hero h1 { max-width: 19ch; }
.agency .inner-hero .lede { max-width: 64ch; }
.agency .text-link { min-height: 44px; line-height: 1.45; }
.agency .site-nav a:not(.button):hover { color: var(--blue); }
.agency a:not(.button):focus-visible { outline-color: #3454e4; }
.agency .detail-cards { align-items: stretch; }
.agency .detail-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; }
.agency .detail-card > .text-link { margin-top: auto; }
.agency .detail-card .eyebrow, .agency .guide-card .eyebrow { font-size: 13px; }
.agency .guide-card { padding: 28px; box-shadow: none; }
.agency .guide-card h3 { font-size: 22px; line-height: 1.35; }
.agency .guide-card p { line-height: 1.7; }
.agency .service-directory > a { padding: 26px; transition: border-color .15s, background .15s; }
.agency .service-directory > a:hover { background: #f7f9ff; }
.agency .service-directory strong { line-height: 1.35; }
.agency .copy > p, .agency .guide-copy p { max-width: 68ch; }
.agency .guide-copy h2 { line-height: 1.3; letter-spacing: -.02em; }
.agency .guide-side { position: sticky; top: 112px; }
.agency .step { padding-top: 22px; border-top: 1px solid var(--line); }
.agency .step h3 { margin-top: 20px; }
.agency .project-form { box-shadow: 0 12px 36px #15253b05; }
.agency .project-form label { line-height: 1.5; }
.agency .project-form .form-note { font-size: 13px; }
.agency .contact-method { min-height: 76px; }
.agency .contact-method span { font-size: 12px; }
.agency .receipt { box-shadow: 0 16px 48px #101c2c06; }
.agency .receipt h1 { line-height: 1.16; }
.agency .footer-main { grid-template-columns: 1.1fr 1fr 1fr; gap: 56px; }
.agency .footer-main h2 { font-size: 14px; line-height: 1.5; letter-spacing: 0; margin-bottom: 20px; color: #fff; }
.agency .footer-main a:not(.brand) { font-size: 14px; line-height: 1.5; min-height: 32px; margin: 4px 0; padding: 5px 0; }
.agency .footer-main a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.agency .footer-bottom nav a { min-height: 32px; display: inline-flex; align-items: center; }

/* Readable content and clear affordances across the public site. */
.agency .site-nav a { font-size: 15px; }
.agency .service-card p, .agency .service-card ul, .agency .detail-card p,
.agency .guide-card p, .agency .step p, .agency .specialist p,
.agency .flow-step p, .agency .guide-side p { font-size: 17px; line-height: 1.7; }
.agency .service-card h3 { font-size: 27px; }
.agency .detail-card h3, .agency .step h3 { font-size: 24px; }
.agency .service-directory strong { font-size: 24px; }
.agency .service-directory span:not(.link-arrow) { font-size: 17px; line-height: 1.65; }
.agency .service-directory > a { border-left: 3px solid var(--blue); }
.agency .text-link, .agency .service-links .text-link, .agency .flow-step strong { font-size: 16px; }
.agency .checklist li { display: flex; gap: 14px; align-items: baseline; }
.agency .checklist li:before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin: .7em 0 0; align-self: flex-start; }
.agency .faq-list summary:after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); top: 18px; }
.agency .faq-list details[open] summary:after { content: ''; transform: rotate(225deg); top: 23px; }
.agency .project-form label, .agency .project-form .consent { font-size: 15px; }
.agency .project-form .form-note, .agency .selected-context p { font-size: 14px; }
.agency .breadcrumbs { font-size: 14px; align-items: center; }
.agency .breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.agency .workflow-tabs button { font-size: 15px; }
.agency .flow-step { grid-template-columns: 28px 1fr; padding-block: 16px; }
.agency .step .text-link { margin-top: 8px; color: var(--blue); }
.agency .service-card .card-number { margin-bottom: 24px; }
.agency .service-links { width: 100%; gap: 6px; }
.agency .service-all { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.agency .service-all p { margin: 0; color: var(--muted); }
.agency .service-overview { background: #fff; }
.agency .service-overview .service-card { background: #f7f8fc; border-top: 3px solid var(--blue); }
.agency.homepage .hero-grid { padding-block: 56px; gap: 48px; }
.agency.homepage .hero h1 { font-size: clamp(40px, 4.6vw, 64px); }
.agency.homepage .hero .lede { font-size: 19px; max-width: 38ch; }
.agency.homepage .check-launch h2 { font-size: 28px; max-width: 18ch; }
.agency.homepage .check-launch > p, .agency .url-form label { font-size: 16px; }
.agency.homepage .check-launch .panel-label { font-size: 12px; padding-bottom: 14px; margin-bottom: 20px; }
.agency.homepage .check-launch .micro { font-size: 14px!important; }
.agency.homepage .check-topics span { font-size: 12px; }
.agency.services-page .inner-hero { padding-block: 44px; }
.agency.services-page .inner-hero h1 { font-size: clamp(36px,4.2vw,54px); }
.agency .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.agency .about-hero h1 { font-size: clamp(38px,4.4vw,60px); }
.agency .about-hero h1 span { color: #a5b3ff; }
.agency .delivery-map { margin: 0; padding: 32px; background: #f7f9fc; border: 1px solid #dce2e9; border-radius: 16px; color: var(--ink); }
.agency .delivery-map figcaption > span { display: block; color: var(--blue); font-size: 12px; letter-spacing: .12em; font-weight: 700; margin-bottom: 10px; }
.agency .delivery-map figcaption > strong { display: block; font-size: 24px; line-height: 1.4; font-family: Manrope,Arial,sans-serif; }
.agency .delivery-map ol { list-style: none; padding: 0; margin: 24px 0; }
.agency .delivery-map li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; position: relative; }
.agency .delivery-map li:not(:last-child):after { content: ''; position: absolute; left: 20px; top: 60px; height: 30px; border-left: 1px solid #bac7da; }
.agency .delivery-map b { display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue); background: #e8edff; border-radius: 50%; font-size: 14px; }
.agency .delivery-map li:last-child b { background: var(--lime); color: var(--ink); }
.agency .delivery-map li strong { display: block; font-size: 17px; }
.agency .delivery-map li span { display: block; color: var(--muted); font-size: 15px; }
.agency .delivery-map > p { border-top: 1px solid var(--line); padding-top: 16px; margin: 0; color: var(--muted); font-size: 14px; }
.agency .studio-band { background: var(--dark); color: #fff; }
.agency .studio-band .eyebrow { color: var(--lime); }
.agency .studio-band p:not(.eyebrow) { color: #c0cada; font-size: 18px; }
.agency .studio-band .text-link { color: white; }
.agency .return-row { padding-block: 18px; display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.agency .return-row > span { font-size: 14px; color: var(--muted); }
.agency .seo-actions .clear-results { background: white; border: 1px solid #a9b5c7; color: var(--ink); }
.agency .results-storage { padding-top: 20px; font-size: 14px; }
.agency .service-example { border-left: 3px solid var(--blue); padding: 8px 0 8px 28px; }
.agency .footer-main a:not(.brand) { font-size: 16px; }
.desk .muted, .desk .panel-subtitle, .desk .hint, .desk .footer-note { color: #4b5c70; }
.desk .panel p, .desk .panel label, .desk .panel input, .desk .sidebar > a { font-size: 16px; }
.desk .empty-state { color: #4b5c70; font-size: 16px; }
.desk button, .desk .primary-button, .desk .outline-button { min-height: 44px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .agency .header-inner { flex-wrap: wrap; gap: 6px 24px; padding-block: 16px; }
  .agency .site-nav { flex-wrap: wrap; gap: 8px 20px; }
  .agency .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .agency .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .agency.homepage .hero-grid { padding-block: 28px; gap: 28px; }
  .agency.homepage .hero h1 { font-size: clamp(36px,9vw,48px); margin-block: 10px 14px; }
  .agency.homepage .hero .lede { font-size: 17px; margin-bottom: 0; }
  .agency.homepage .hero-links { margin-top: 12px; }
  .agency.homepage .check-launch { padding: 22px; }
  .agency.homepage .check-launch .panel-label { margin-bottom: 14px; }
  .agency.homepage .check-launch h2 { font-size: 25px; margin-bottom: 12px; }
  .agency.homepage .check-topics { display: none; }
  .agency .service-directory strong { font-size: 23px; }
  .agency .delivery-map { padding: 24px; }
  .agency .service-example { padding-left: 20px; }
}

/* Brand-led client rows: one reading column and a compact action group. */
.agency .client-projects { background: #eef1f6; }
.agency .client-project-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.agency .client-project-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 36px;
  padding: 36px;
  border: 1px solid #d5dee9;
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 12px #101c2c03;
  align-items: start;
}
.agency .client-identity { min-width: 0; }
.agency .client-project-card:not(:has(.client-brand)) { grid-template-columns: 1fr; }
.agency .client-brand { min-height: 136px; display: flex; align-items: center; justify-content: center; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; }
.agency .client-logo { display: block; width: 80px; height: auto; object-fit: contain; }
.agency [data-client-project="westwide"] .client-logo { width: 104px; }
.agency [data-client-project="signaledge"] .client-logo { width: 120px; border-radius: 8px; }
.agency .client-content { min-width: 0; }
.agency .client-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 12px; }
.agency .client-project-top {
  justify-content: flex-start;
  gap: 14px;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.agency .client-project-top span:last-child { letter-spacing: .04em; color: var(--muted); }
.agency .client-project-card h3 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.25; margin: 0; }
.agency .client-project-card .client-relationship {
  font-size: 12px;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #2b5e47;
}
.agency .client-project-card .client-intro { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 68ch; margin: 0; }
.agency .client-support { border: 0; padding: 0; margin: 22px 0; }
.agency .client-support h4 { font-family: Manrope, Arial, sans-serif; font-size: 18px; font-weight: 800; line-height: 1.5; letter-spacing: 0; margin: 0 0 6px; }
.agency .client-support p { font-size: 16px; line-height: 1.7; max-width: 75ch; margin: 0 0 14px; }
.agency .client-project-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.agency .client-project-tags li { border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 600; color: #41536b; padding: 0; display: inline-flex; gap: 8px; align-items: center; }
.agency .client-project-tags li:before { content: ''; width: 4px; height: 4px; background: #677b94; border-radius: 50%; }
.agency .client-project-footer { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.agency .client-project-footer > .text-link { margin: 0; padding: 8px 0; font-size: 14px; flex-shrink: 0; border-bottom: 0; }
.agency .client-project-footer > .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.agency .client-channels { width: auto; border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: 14px; }
.agency .client-channels > span { font-size: 12px; line-height: 1.5; margin: 0; color: var(--muted); }
.agency .client-channels > div { display: flex; gap: 4px; flex-wrap: nowrap; }
.agency .client-channels a { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 12px; color: #344256; background: transparent; border: 1px solid #e0e6ee; border-radius: 8px; text-decoration: none; transition: background .15s, border-color .15s; }
.agency .client-channels a:hover { background: #f2f5fa; border-color: #d5dfec; }
.agency .client-channels a:focus-visible { outline: 3px solid #344dda; outline-offset: 3px; }
.agency .client-channels .channel-tooltip { position: absolute; display: none; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #162235; color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; pointer-events: none; }
.agency .client-channels a:hover .channel-tooltip, .agency .client-channels a:focus-visible .channel-tooltip { display: block; }
.agency .social-icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.agency .social-icon use { pointer-events: none; }

/* Match the policy reading surface to the agency, without changing its terms. */
.agency .legal-hero { background: var(--dark); }
.agency .legal-hero:after { display: none; }
.agency .legal-hero-inner { padding-block: 64px; }
.agency .legal-hero p { color: #c0cada; }
.agency .legal-layout { gap: 56px; }
.agency .legal-section-number { color: var(--blue); }

/* The product remains an app, with the same restrained spacing and type rhythm. */
.desk { -webkit-font-smoothing: antialiased; }
.desk .intro h1 { line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.desk .panel-heading h2 { line-height: 1.35; letter-spacing: -.015em; }
.desk .panel, .desk .metric { box-shadow: none; border-radius: 14px; }
.desk .sidebar > a, .desk .outline-button { min-height: 44px; }
.desk .sidebar > a[aria-current], .desk .sidebar > a:hover { color: #344dda; }
.desk .footer-note { font-size: 13px; line-height: 1.7; }

@media (max-width: 1000px) {
  .agency .client-project-card { grid-template-columns: 104px minmax(0,1fr); gap: 28px; padding: 28px; }
  .agency .client-brand { min-height: 104px; }
  .agency .client-logo { width: 64px; }
  .agency [data-client-project="westwide"] .client-logo { width: 88px; }
  .agency [data-client-project="signaledge"] .client-logo { width: 96px; }
  .agency .client-channels > span { display: none; }
  .agency .footer-main { gap: 32px; }
}
@media (max-width: 760px) {
  .agency .section-head > p { padding: 0; }
  .agency .client-project-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .agency .client-brand { width: 88px; min-height: 88px; }
  .agency .client-logo { width: 48px; }
  .agency [data-client-project="westwide"] .client-logo { width: 76px; }
  .agency [data-client-project="signaledge"] .client-logo { width: 80px; }
  .agency .client-title-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .agency .client-support { margin-block: 20px; }
  .agency .client-project-card h3 { font-size: 27px; }
  .agency .client-project-top { gap: 4px 14px; margin-bottom: 14px; }
  .agency .client-project-top span:last-child { display: none; }
  .agency .client-project-footer { gap: 12px 24px; padding-top: 14px; }
  .agency .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .agency .footer-main a:not(.brand), .agency .footer-bottom nav a { min-height: 44px; }
  .agency .guide-side { position: static; }
  .agency .legal-hero-inner { padding-block: 42px; }
  .agency .detail-card, .agency .guide-card { padding: 24px; }
}
@media (max-width: 360px) {
  .agency .client-project-card { padding-inline: 18px; }
  .agency .client-channels > div { gap: 3px; }
  .agency .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .agency .client-channels a, .agency .service-directory > a { transition: none; }
}
