@font-face { font-family: 'Chakra Petch'; src: url('assets/fonts/chakra-petch-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root { --frost-surface: linear-gradient(135deg,#f5fbff,#e2eef8); --frost-edge: #82aed8; }
#hero-title, #tools-title, #studio-title, #contact-title, #project-dialog-title, #audit-flow-title, #tools-dialog-title { font-family: 'Chakra Petch', Manrope, sans-serif; font-weight: 700; }
.tools-dialog, .project-dialog { background: var(--frost-surface); border: 1px solid var(--frost-edge); isolation: isolate; }
.brand { gap: 8px; }
.brand span { font-family: 'Chakra Petch', Manrope, sans-serif; font-size: 22px; line-height: 1; letter-spacing: .025em; }
.brand img { width: 40px; height: 40px; }
.tools-section { padding-block: 72px; background: var(--white); overflow: clip; }
.tools-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.tools-heading h2 { max-width: 19ch; }
.tools-heading p { max-width: 30ch; font-size: 14px; }
.tools-window { overflow-x: auto; padding-block: 24px; border-block: 1px solid var(--line); }
.tools-ready .tools-window[role="button"] { cursor: pointer; }
.tools-dialog { position: fixed; width: min(860px,calc(100% - 32px)); max-height: 85vh; max-height: min(85dvh,calc(100dvh - 32px)); padding: 32px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--frost-edge) transparent; color: var(--ink); border: 1px solid #82aed8; border-radius: 12px; background: linear-gradient(135deg,#f5fbff,#e2eef8); box-shadow: 0 20px 60px rgba(16,40,59,.24); isolation: isolate; }
.tools-dialog::-webkit-scrollbar { width: 6px; }
.tools-dialog::-webkit-scrollbar-thumb { background: var(--frost-edge); border-radius: 6px; }
.tools-dialog::backdrop { background: rgba(16,40,59,.78); }
.tools-dialog-heading { position: relative; display: flex; align-items: start; gap: 20px; justify-content: space-between; margin-bottom: 20px; }
.tools-dialog-heading h2 { font-size: 30px; max-width: 18ch; }
.tools-dialog-close { flex: none; width: 44px; height: 44px; border: 1px solid #7ca4ca; border-radius: 8px; background: #edf6ff; color: var(--blue); cursor: pointer; }
.tools-dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tools-dialog > p { position: relative; max-width: 54ch; font-size: 15px; }
.tools-circuits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #376ca2; stroke-width: 1; opacity: .16; pointer-events: none; z-index: -1; }
.tools-catalog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.tools-category { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: rgb(247 249 252 / .58); }
.tools-category h3 { margin: 0 0 16px; font: 700 17px/1.35 'Chakra Petch',Manrope,sans-serif; color: var(--ink); }
.tools-category-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tools-category-list li { display: flex; align-items: center; gap: 12px; min-width: 0; font: 500 15px/1.5 Manrope,sans-serif; color: var(--ink); }
.tools-category-list .tool-name { min-width: 0; overflow-wrap: anywhere; }
.tools-category-list .tool-symbol { width: 36px; height: 36px; }
.tools-category-list .tool-symbol svg { width: 28px; height: 28px; }
.tools-category-list .tool-symbol--pair { width: 56px; }
.tools-category-list .tool-symbol--pair svg { width: 24px; height: 24px; }
.tools-modal-open { overflow: hidden; }
@media (max-width: 760px) { .tools-catalog { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tools-dialog { padding: 20px; } .tools-dialog-heading h2 { font-size: 24px; } .tools-category { padding: 16px; } }
.tools-belt { display: flex; width: max-content; }
.tools-list { display: flex; gap: 56px; padding: 0 56px 0 0; margin: 0; list-style: none; }
.tools-list li { display: flex; align-items: center; gap: 12px; min-width: 152px; color: var(--ink); font-size: 21px; font-weight: 700; white-space: nowrap; }
.tool-symbol { display: grid; flex: none; place-items: center; width: 44px; height: 44px; color: var(--blue); }
.tool-symbol svg { display: block; width: 32px; height: 32px; }
.tool-symbol--pair { display: flex; align-items: center; justify-content: center; gap: 8px; }
.tools-list[aria-hidden="true"] { display: none; }
.tools-ready .tools-list[aria-hidden="true"] { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .tools-ready .tools-window { overflow: hidden; }
  .tools-ready .tools-belt { animation: tools-drift 42s linear infinite; animation-play-state: paused; }
  .tools-section[data-running="true"] .tools-belt { animation-play-state: running; }
  @keyframes tools-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (max-width: 760px) { .brand span { font-size: 19px; } .brand img { width: 36px; height: 36px; } .tools-section { padding-block: 48px; } .tools-heading { display: block; } .tools-heading p { margin-top: 16px; } .tools-list { gap: 32px; padding-right: 32px; } .tools-list li { font-size: 18px; min-width: 140px; } }
@media (max-width: 359px) { .brand span { font-size: 16px; } .brand img { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .tools-window { overflow-x: auto; } .tools-ready .tools-list[aria-hidden="true"] { display: none; } }
.service-fallback { padding-block: 32px; }
.service-fallback dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.service-fallback dt { font-weight: 700; font-size: 18px; }
.service-fallback dd { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.story-enhanced .service-fallback { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) { .service-fallback dl { grid-template-columns: 1fr; } }

.tools-window.container { width: 100%; max-width: none; margin-inline: 0; }
