/* Primary agency experience. Library body styles remain in styles.css. */
:root { --agency-width: 1280px; --agency-gutter: 48px; }
.agency-wrap { width: min(calc(100% - var(--agency-gutter) * 2), var(--agency-width)); margin-inline: auto; }
.agency { background: var(--page-bg); overflow-x: clip; }
.agency::before { display: none; }
.agency main { outline: none; }
.agency [tabindex="-1"]:focus { outline: none; box-shadow: none; }
.agency :is(h1,h2,h3,p,a,button) { letter-spacing: 0; }
.agency :is(h1,h2) { font-weight: 500; }
.agency h1 { font-size: 80px; line-height: 1.07; max-width: 1160px; }
.agency h2 { font-size: 48px; line-height: 1.16; }
.agency h3 { font-size: 21px; line-height: 1.4; font-weight: 500; }
.agency em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--accent-strong); }
.agency p { color: var(--text-muted); }
.agency :is(a,button,input,textarea,select):focus-visible,
.agency-nav :is(a,button):focus-visible,.agency-footer a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; box-shadow: none; }
.agency-kicker { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px; }
.agency-lede { font-size: 20px; line-height: 1.65; max-width: 630px; }
.agency-section { padding-block: 108px; border-top: 1px solid var(--line); }
.agency-tint { background: var(--surface); }
.agency-hero { padding: 62px 0 64px; }
.agency-hero .agency-kicker { margin-bottom: 32px; }
.hero-under { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-top: 38px; }
.hero-under .agency-lede { max-width: 580px; font-size: 18px; }
.agency-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-under .agency-actions { flex-shrink: 0; }
.agency-home .hero-under { align-items: start; }
.agency-home .agency-actions { flex-direction: column; align-items: stretch; min-width: 270px; }
.agency-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; border: 1px solid var(--text); background: var(--text); color: var(--page-bg); padding: 17px 22px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 56px; border-radius: 2px; cursor: pointer; transition: background 160ms ease,color 160ms ease,border-color 160ms ease; }
.agency-button span[aria-hidden] { font-size: 22px; line-height: 1; flex-shrink: 0; }
.agency-button:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--color-black); }
.agency-button--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.agency-button:disabled { opacity: .55; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; min-height: 44px; border-bottom: 1px solid var(--line-strong); padding-block: 8px; color: var(--text); }
.text-link span { font-size: 23px; }
.text-link:hover { color: var(--accent-strong); border-color: var(--accent); }
.connection-line { display: flex; align-items: center; gap: 24px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-muted); }
.connection-rule { flex: 1; height: 1px; background: var(--line-strong); }
.connection-center { font-size: 14px; font-weight: 600; color: var(--accent-strong); }
.mobile-break { display: none; }
.editorial-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 100px; }
.editorial-copy { padding-top: 48px; }
.editorial-copy > * + * { margin-top: 24px; }
.editorial-copy > p:not(.agency-lede) { font-size: 16px; line-height: 1.85; max-width: 580px; }
.terms-inline { padding: 24px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; border-block: 1px solid var(--line); font-size: 14px; }
.terms-inline li { color: var(--text); }
.terms-inline li::before { content: '+'; color: var(--accent-strong); margin-right: 8px; }
.editorial-copy .small-note { font-size: 14px; }
.agency-heading > p:last-child:not(.agency-kicker) { margin-top: 24px; }
.agency-steps { margin-top: 64px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.agency-steps li { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.agency-steps li > span { display: block; color: var(--accent-strong); font-size: 12px; margin-bottom: 30px; }
.agency-steps h3 { margin-bottom: 14px; }
.agency-steps p { font-size: 15px; line-height: 1.8; }
.principles { display: grid; gap: 26px; padding-top: 48px; }
.principles article { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.principles article:last-child { padding-bottom: 0; border: 0; }
.principles h3 { margin-bottom: 12px; }
.principles p { font-size: 16px; line-height: 1.8; }
.technology-note { border-top: 1px solid var(--line); padding-block: 54px; }
.technology-note > div { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.technology-note .agency-kicker { margin-bottom: 14px; }
.technology-note h2 { font-size: 26px; margin-bottom: 12px; }
.technology-note .text-link { flex-shrink: 0; }
.agency-closing { padding-block: 100px; }
.agency-closing h2 { font-size: 64px; }
.closing-paths { display: flex; gap: 64px; margin-top: 48px; }
.closing-paths p { font-size: 14px; margin-bottom: 14px; }
.closing-paths .agency-button { min-width: 260px; }
.offer-section { background: var(--surface); }
.offer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 100px; }
.offer-grid > div > p { margin-top: 28px; max-width: 480px; font-size: 16px; }
.commission { border-left: 1px solid var(--line-strong); padding-left: 56px; }
.commission-number { display: block; font-size: 120px; font-weight: 400; line-height: 1; margin: -8px 0 24px; color: var(--accent-strong); }
.commission-number > span { font-family: Georgia,serif; font-size: 66px; }
.commission h3 { font-size: 19px; }
.agency-form-section { background: var(--surface); scroll-margin-top: 105px; }
.form-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 100px; }
.privacy-note { font-size: 13px; line-height: 1.8; max-width: 350px; margin-top: 32px; }
.agency-form { min-width: 0; }
.agency-form .honeypot { display: none; }
.agency-form .form-note { font-size: 12px; line-height: 1.8; margin-bottom: 24px; }
.agency-form .form-note a { text-decoration: underline; text-underline-offset: 3px; }
.agency-form .agency-button + .form-note { margin-top: 20px; margin-bottom: 0; }
.agency-form .form-grid { gap: 20px; }
.agency-form .form-field { gap: 8px; min-width: 0; }
.agency-form .form-field label { font-size: 13px; font-weight: 500; }
.agency-form label span { font-size: 12px; color: var(--text-muted); }
.agency-form :is(input,textarea,select):not(.honeypot) { width: 100%; min-height: 50px; padding: 12px; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--text-muted) 75%, var(--surface)); background: var(--page-bg); color: var(--text); font: inherit; font-size: 16px; }
.agency-form select { cursor: pointer; padding-right: 28px; }
.agency-form textarea { resize: vertical; min-height: 110px; }
.agency-form .field-error:empty { display: none; }
.agency-form .field-error { font-size: 12px; color: #ffb6a8; }
html[data-theme="light"] .agency-form .field-error { color: #a12b20; }
.agency-form [aria-invalid="true"] { border-color: #d67666; }
.agency-form .form-status { min-height: 0; margin: 24px 0; font-size: 14px; }
.agency-form .form-status:empty { display: none; }
.agency-form .agency-button { margin-top: 26px; width: 100%; }
.founder-editorial { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1fr); gap: 120px; align-items: center; }
.founder-section { scroll-margin-top: 96px; }
.founder-editorial figure { max-width: 450px; }
.founder-editorial img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.founder-editorial figcaption { margin-top: 20px; font-size: 17px; }
.founder-editorial figcaption span { display: block; color: var(--text-muted); font-size: 13px; margin-top: 3px; }
.founder-story h2 { margin-bottom: 30px; }
.founder-story > p:not(.agency-kicker) { margin-top: 20px; }
.founder-story > a { margin-top: 28px; }
.editorial-links { margin-top: 56px; }
.editorial-links > a { display: grid; grid-template-columns: 40px minmax(0,1fr) 28px; gap: 32px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.editorial-links > a > span { font-size: 14px; color: var(--accent-strong); }
.editorial-links > a > span:last-child { font-size: 28px; }
.editorial-links h3 { margin-bottom: 8px; }
.editorial-links p { font-size: 16px; }
.contact-paths .agency-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-paths a { position: relative; border-top: 1px solid var(--line-strong); padding: 30px 40px 56px 0; }
.contact-paths .agency-kicker { margin-bottom: 20px; }
.contact-paths h2 { font-size: 28px; margin-bottom: 12px; }
.contact-paths a > span { position: absolute; right: 0; top: 73px; font-size: 30px; color: var(--accent-strong); }
.section-end { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
/* Shared navigation and footer are intentionally the only library-wide redesign. */
.agency-nav { position: sticky; top: 0; background: var(--page-bg); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.agency-nav .nav-inner { width: min(calc(100% - var(--agency-gutter) * 2), var(--agency-width)); min-height: 96px; display: grid; grid-template-columns: 160px 1fr 180px; gap: 20px; }
.agency-nav .brand-mark,.agency-footer .brand-mark { width: 100px; height: 76px; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.agency-nav .brand-logo,.agency-footer .brand-logo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.agency-nav .brand-link,.agency-footer .brand-link { min-height: 44px; }
.agency-nav .nav-links { display: flex; gap: 32px; }
.agency-nav .nav-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; }
.agency-nav .nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--accent); }
.agency-nav .nav-actions { justify-content: end; }
.agency-nav .nav-actions .theme-selector { display: inline-grid; }
.agency-nav .theme-selector { border-radius: 2px; background: transparent; padding: 0; gap: 0; }
.agency-nav .theme-choice { min-width: 49px; min-height: 44px; padding: 6px; font-size: 11px; border-radius: 1px; font-weight: 500; }
.agency-nav .nav-mobile-toggle { display: none; border-radius: 2px; }
.agency-nav .nav-mobile { width: min(calc(100% - var(--agency-gutter) * 2),var(--agency-width)); max-height: calc(100dvh - 97px); overflow-y: auto; }
.agency-footer { background: var(--surface); padding: 0; }
.agency-footer .footer-topline { display: flex; align-items: center; justify-content: space-between; padding-block: 54px; border-bottom: 1px solid var(--line); gap: 24px; }
.agency-footer .footer-topline p { font-size: 28px; line-height: 1.4; color: var(--text); }
.agency-footer .footer-grid { padding-block: 54px; gap: 48px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.agency-footer .footer-brand p { font-size: 13px; max-width: 260px; margin-top: 18px; }
.agency-footer .footer-col h2 { font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--text-muted); margin-bottom: 12px; }
.agency-footer .footer-col a { font-size: 13px; min-height: 36px; display: flex; align-items: center; color: var(--text); }
.agency-footer .footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 24px; font-size: 11px; color: var(--text-muted); margin-top: 0; }
@media (min-width: 1600px) {
  .agency h1 { font-size: 88px; }
  .agency-hero { padding-top: 78px; }
}
@media (max-width: 1100px) {
  :root { --agency-gutter: 32px; }
  .agency h1 { font-size: 64px; }
  .agency h2 { font-size: 40px; }
  .editorial-split,.offer-grid,.form-layout,.founder-editorial { gap: 56px; }
  .hero-under { gap: 32px; }
  .agency-nav .nav-inner { grid-template-columns: 116px 1fr 154px; gap: 12px; }
  .agency-nav .nav-links { gap: 24px; }
  .agency-steps { gap: 28px; }
}
@media (max-width: 900px) {
  .agency-nav .nav-inner { display: flex; min-height: 82px; justify-content: space-between; }
  .agency-nav .brand-mark { width: 88px; height: 66px; }
  .agency-nav .nav-links { display: none; }
  .agency-nav .nav-actions .theme-selector { display: none; }
  .agency-nav .nav-mobile-toggle { display: flex; }
  .agency-nav .nav-mobile { max-height: calc(100dvh - 83px); }
  .agency-nav .nav-mobile.open { gap: 2px; padding-block: 18px 28px; }
  .agency-nav .nav-mobile a { font-size: 21px; padding-block: 12px; font-weight: 400; }
  .agency-nav .theme-selector--mobile { margin-top: 20px; }
  .agency-nav .theme-choice { min-width: 70px; }
  .agency-hero { padding-block: 48px; }
  .agency h1 { font-size: 58px; }
  .hero-under { flex-direction: column; align-items: start; }
  .agency-home .agency-actions { flex-direction: row; }
  .editorial-split { grid-template-columns: 1fr; gap: 32px; }
  .editorial-copy,.principles { padding-top: 0; max-width: 620px; }
  .agency-section { padding-block: 72px; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .privacy-note { max-width: 550px; }
  .founder-editorial { gap: 40px; align-items: start; }
  .founder-story h2 { font-size: 32px; }
  .agency-footer .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .agency-closing h2 { font-size: 48px; }
  .closing-paths { gap: 28px; }
}
@media (max-width: 600px) {
  :root { --agency-gutter: 22px; }
  .agency h1 { font-size: 43px; line-height: 1.12; }
  .agency-home h1 { font-size: 39px; }
  .agency-brands h1 { font-size: 36px; }
  .agency h2 { font-size: 34px; }
  .agency h3 { font-size: 20px; }
  .agency-kicker { font-size: 10px; margin-bottom: 22px; }
  .agency-hero .agency-kicker { margin-bottom: 26px; }
  .agency-hero { padding-block: 36px 40px; }
  .agency-lede { font-size: 18px; }
  .hero-under { gap: 26px; margin-top: 28px; }
  .hero-under .agency-lede { font-size: 16px; line-height: 1.7; }
  .agency-home .agency-actions { flex-direction: column; width: 100%; min-width: 0; }
  .agency-actions .agency-button { width: 100%; }
  .agency-actions { width: 100%; }
  .agency-button { font-size: 13px; padding: 15px 18px; }
  .desktop-break { display: none; }
  .mobile-break { display: block; }
  .connection-line { gap: 10px; margin-top: 32px; font-size: 9px; padding-top: 20px; }
  .connection-center { font-size: 10px; }
  .connection-rule { min-width: 8px; }
  .agency-section { padding-block: 58px; }
  .agency-steps { grid-template-columns: 1fr; margin-top: 36px; gap: 30px; }
  .agency-steps li > span { margin-bottom: 18px; }
  .agency-steps p { max-width: 440px; }
  .terms-inline { gap: 12px; flex-direction: column; }
  .technology-note { padding-block: 40px; }
  .technology-note > div { flex-direction: column; align-items: start; gap: 20px; }
  .technology-note h2 { font-size: 24px; }
  .technology-note p { font-size: 14px; }
  .agency-closing h2 { font-size: 38px; }
  .closing-paths { flex-direction: column; gap: 28px; margin-top: 34px; }
  .closing-paths .agency-button { width: 100%; min-width: 0; }
  .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .commission { border-left: 0; border-top: 1px solid var(--line-strong); padding: 30px 0 0; }
  .commission-number { font-size: 100px; }
  .commission-number > span { font-size: 54px; }
  .agency-form .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .founder-editorial { grid-template-columns: 1fr; }
  .founder-editorial figure { max-width: 360px; }
  .founder-story h2 { font-size: 34px; }
  .editorial-links { margin-top: 36px; }
  .editorial-links > a { grid-template-columns: 24px minmax(0,1fr) 22px; gap: 14px; }
  .editorial-links p { font-size: 14px; }
  .contact-paths .agency-wrap { grid-template-columns: 1fr; gap: 0; }
  .contact-paths a { padding-bottom: 36px; }
  .contact-paths h2 { font-size: 25px; }
  .agency-footer .footer-topline { padding-block: 36px; align-items: start; flex-direction: column; }
  .agency-footer .footer-topline p { font-size: 26px; }
  .agency-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 36px; }
  .agency-footer .footer-brand { grid-column: 1/-1; }
  .agency-footer .footer-col a { min-height: 44px; }
  .agency-footer .footer-bottom { flex-direction: column; align-items: start; gap: 8px; }
}
@media (max-width: 359px) {
  :root { --agency-gutter: 18px; }
  .agency h1 { font-size: 36px; }
  .agency-home h1 { font-size: 32px; }
  .agency-brands h1 { font-size: 30px; }
  .agency h2,.founder-story h2 { font-size: 30px; }
  .agency-closing h2 { font-size: 32px; }
  .connection-line { font-size: 8px; gap: 8px; }
  .agency-kicker { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .agency *, .agency-nav *, .agency-footer * { animation: none !important; transition: none !important; }
}
