/* Business-led introduction and client pathways. */
.ambition-hero { padding: clamp(110px, 12vw, 180px) 0 68px; overflow: hidden; }
.ambition-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px; }
.ambition-copy { position: relative; z-index: 1; }
.ambition-copy h1 { font-size: clamp(46px, 5.8vw, 83px); line-height: 1.02; letter-spacing: -.065em; font-weight: 650; margin: 30px 0 26px; text-transform: none; }
.ambition-copy h1 > span { color: var(--brand-green); }
.ambition-copy .lede { max-width: 600px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.ambition-signoff { color: var(--text-muted); font-size: 13px; margin: 28px 0 0; letter-spacing: .02em; }
.ambition-visual { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.ambition-orbit { position: absolute; inset: 10%; border: 1px solid rgba(0,255,157,.24); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,114,255,.16), transparent 70%); box-shadow: inset 0 0 60px rgba(0,255,157,.05); }
.ambition-orbit::before { content: ''; position: absolute; inset: -9%; border-radius: 50%; border: 1px dashed rgba(246,255,248,.16); animation: ambition-spin 4s ease-out both; }
.ambition-orbit::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 50%, rgba(0,114,255,.5), var(--brand-green), transparent 90%); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); animation: ambition-spin 4s ease-out both; }
.ambition-orbit-inner { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(0,114,255,.35); transform: rotate(-25deg) scaleX(.7); }
.ambition-center { position: absolute; inset: 30% 10%; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 16px; }
.ambition-center strong { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -.045em; }
.ambition-center .eyebrow { font-size: 10px; }
.ambition-caption { color: var(--text-muted); font-size: 11px; }
.ambition-label { position: absolute; background: #09141c; border: 1px solid rgba(246,255,248,.2); padding: 10px 16px; font-size: 12px; border-radius: 30px; box-shadow: 0 8px 30px #06090e66; animation: ambition-float 4s ease-in-out both; }
.ambition-label-one { top: 9%; left: 32%; }
.ambition-label-two { top: 43%; right: 0; animation-delay: -1.5s; }
.ambition-label-three { bottom: 8%; left: 27%; animation-delay: -3s; }
.ambition-label-four { top: 48%; left: 0; animation-delay: -4.5s; }
.needs-section { border-block: 1px solid var(--glass-stroke); background: rgba(6,9,14,.4); scroll-margin-top: 110px; }
.needs-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.needs-nav { display: grid; }
.need-choice { padding: 24px 4px; display: grid; grid-template-columns: 24px 1fr 18px; gap: 16px; align-items: center; border-top: 1px solid var(--glass-stroke); color: var(--text-muted); font-size: clamp(16px, 1.6vw, 20px); transition: color .2s, padding .2s; }
.need-choice:last-child { border-bottom: 1px solid var(--glass-stroke); }
.need-choice:hover, .need-choice[aria-selected="true"] { color: var(--brand-green); padding-inline: 12px 4px; }
.need-number { font-family: monospace; font-size: 11px; color: var(--text-muted); }
.need-panel { scroll-margin-top: 110px; }
.need-panel + .need-panel { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--glass-stroke); }
.needs-enhanced .need-panel { margin: 0; padding: 0; border: 0; }
.needs-enhanced .need-panel[hidden] { display: none; }
.need-panel .h2 { font-size: clamp(29px, 3.5vw, 47px); text-transform: none; line-height: 1.12; letter-spacing: -.04em; }
.need-panel .lede { font-size: 17px; line-height: 1.7; }
.need-services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0; padding: 0; list-style: none; }
.need-services li { padding-left: 15px; position: relative; font-size: 13px; line-height: 1.5; }
.need-services li::before { content: ''; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-green); }
.need-outcome { border-left: 2px solid var(--brand-green); padding-left: 18px; font-size: 16px; line-height: 1.5; }
.need-outcome > span, .need-proof > span:first-child { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.need-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.need-proof { max-width: 250px; font-size: 12px; line-height: 1.5; }
.need-proof:hover { color: var(--brand-green); }
.approach-section { border-block: 1px solid var(--glass-stroke); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.approach-grid article { border-top: 1px solid rgba(0,255,157,.4); padding-top: 24px; }
.approach-grid .h3 { font-size: 24px; text-transform: none; letter-spacing: -.025em; }
.enter-waiting { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.enter-waiting.is-entered { opacity: 1; transform: none; }
.need-panel.is-entering { animation: need-enter .35s ease both; }
.need-choice:focus-visible, .need-panel:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 5px; }
@keyframes ambition-spin { to { rotate: 24deg; } }
@keyframes ambition-float { 50% { transform: translateY(-8px); } }
@keyframes need-enter { from { transform: translateY(8px); } to { transform: none; } }
@media (max-width: 1000px) {
  .ambition-grid { grid-template-columns: 1.2fr 1fr; gap: 15px; }
  .ambition-copy h1 { font-size: clamp(46px, 6vw, 65px); }
  .ambition-center strong { font-size: 28px; }
  .ambition-caption { max-width: 150px; }
}
@media (max-width: 760px) {
  .ambition-hero { padding: 110px 0 48px; }
  .ambition-grid, .needs-layout, .approach-grid { grid-template-columns: 1fr; }
  .ambition-copy h1 { font-size: clamp(40px, 8.5vw, 64px); }
  .ambition-copy > .eyebrow { font-size: 10px; letter-spacing: .09em; }
  .ambition-visual { max-width: 360px; justify-self: center; margin: 25px 0; }
  .ambition-center strong { font-size: 32px; }
  .needs-nav { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .need-choice { padding: 18px 0; gap: 8px; grid-template-columns: 18px 1fr; font-size: 14px; }
  .need-choice > span:last-child { display: none; }
  .need-choice:hover, .need-choice[aria-selected="true"] { padding-inline: 0; }
  .need-choice:nth-child(3) { border-bottom: 1px solid var(--glass-stroke); }
  .need-services { gap: 16px; }
  .need-actions { align-items: flex-start; }
  .approach-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambition-visual *, .ambition-visual *::before, .ambition-visual *::after, .need-panel.is-entering { animation: none !important; }
  .enter-waiting { opacity: 1; transform: none; transition: none; }
  .need-choice { transition: none; }
}

/* Curated work keeps all four business examples visible on every viewport. */
.curated-work .work-card-grid.random-list [data-random-item] { display: block; }

/* Black canvas for the public brand experience; recruiting retains its own theme. */
body.marketing-page { background: #050505; }
.marketing-page .bg-grid, .marketing-page .bg-vignette, .marketing-page #shader-bg { display: none; }
.marketing-page .site-header { background: rgba(5,5,5,.94); }
.marketing-page .site-footer { background: #050505; }
.marketing-page .needs-section { background: #080808; }
.marketing-page .ambition-label { background: #101010; }

/* Editorial actions: typographic links, square arrow fields, and drawn rules. */
.marketing-page .btn {
  position: relative;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(246,255,248,.4);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--text);
  font-weight: 600;
  transition: color .2s, border-color .2s;
}
.marketing-page .btn::after { content: '↗'; display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; font-size: 20px; font-weight: 400; transition: transform .2s; }
.marketing-page .btn > span[aria-hidden="true"] { display: none; }
.marketing-page .btn-primary { border-bottom-color: var(--brand-green); }
.marketing-page .btn-primary::after { background: var(--brand-green); color: #050505; }
.marketing-page .btn:hover, .marketing-page .btn:focus-visible { color: var(--brand-green); border-bottom-color: var(--brand-green); background: none; box-shadow: none; transform: none; }
.marketing-page .btn:hover::after { transform: translate(2px, -2px); }
.marketing-page .btn:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 6px; }
.marketing-page .btn:disabled { color: var(--text-muted); }
.marketing-page .hero-ctas { gap: 34px; align-items: center; }
.marketing-page .ambition-label { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(246,255,248,.35); border-radius: 0; background: #050505; box-shadow: none; }
.marketing-page .ambition-label::before { content: '+'; color: var(--brand-green); padding-right: 8px; }
.marketing-page .glass-card, .marketing-page .work-card, .marketing-page .person-card, .marketing-page .pillar-card { border-radius: 2px; background: #101010; box-shadow: none; }
.marketing-page .glass-card::after { display: none; }
.marketing-page .tag { border-radius: 0; background: none; border: 0; border-left: 1px solid rgba(246,255,248,.3); }
.marketing-page .footer-proof { padding-inline: 0; background: none; border: 0; border-radius: 0; }
.marketing-page .footer-links a { border: 0; border-bottom: 1px solid var(--glass-stroke); border-radius: 0; background: none; padding-inline: 0; }
@media (max-width: 760px) {
  .marketing-page .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .marketing-page .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-page .btn, .marketing-page .btn::after { transition: none; }
  .marketing-page .btn:hover::after { transform: none; }
}
.marketing-page .mobile-menu-button { border-radius: 0; border: 0; background: none; box-shadow: none; }

/* Preserve TEST recruiting's light theme while restoring the reviewed brand canvas. */
html:has(body.marketing-page) { background: #050505; color-scheme: dark; }
body.marketing-page {
  --bg-navy: #050505; --bg-ink: #080808;
  --brand-blue: #0072ff; --brand-green: #00ff9d; --brand-mint: #abf1ab;
  --glass-stroke: rgba(255,255,255,.14);
  --text: #f6fff8; --text-muted: rgba(246,255,248,.72); --text-faint: rgba(246,255,248,.55);
  --max: 1180px;
  color: var(--text);
}
.marketing-page .nav-link { color: var(--text-muted); }
.marketing-page .nav-link:hover, .marketing-page .nav-link.active { color: var(--text); }
.marketing-page .eyebrow, .marketing-page .person-body .role { color: var(--brand-green); }
.marketing-page .eyebrow::before { background: var(--brand-green); }
.marketing-page .people-feature { background: #080808; }
.marketing-page .ledger-block { background: #101010; border-color: var(--glass-stroke); }
.marketing-page .site-shell:not(.admin-shell) .pillar-card li,
.marketing-page .site-shell:not(.admin-shell) .ledger-block li { color: var(--text-muted); }
.marketing-page .site-shell:not(.admin-shell) .pillar-card li::before,
.marketing-page .site-shell:not(.admin-shell) .ledger-block li::marker { color: var(--brand-green); }
.marketing-page .work-card-meta span, .marketing-page .tag, .marketing-page .dna-bar { color: var(--text-muted); }
.marketing-page .dna-track { background: rgba(255,255,255,.12); }
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-body { background: #101010 !important; }
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-body h3 { color: var(--text) !important; }
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-body p { color: var(--text-muted) !important; }
.marketing-page .field label { color: var(--text-muted); }
.marketing-page .input, .marketing-page .textarea, .marketing-page .select { background: #101010; color: var(--text); border-color: var(--glass-stroke); }
.marketing-page .mobile-panel, .marketing-page .mobile-panel-inner { background: #080808; }
.marketing-page .mobile-panel-top, .marketing-page .mobile-panel-footer, .marketing-page .mobile-links a { background: #101010; border-color: var(--glass-stroke); }
.marketing-page .mobile-menu-button span { background: var(--text); }
.marketing-page .site-shell:not(.admin-shell) .filter-btn { color: var(--text-muted); background: transparent; border-color: var(--glass-stroke); }
.marketing-page .site-shell:not(.admin-shell) .filter-btn.active { color: #050505; background: var(--brand-green); border-color: var(--brand-green); }
.marketing-page .site-shell:not(.admin-shell) .filter-select { color: var(--text); background: #101010; border-color: var(--glass-stroke); }
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-tags,
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-tags .tag,
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-meta,
.marketing-page .site-shell:not(.admin-shell) .work-card .work-card-meta span {
  color: var(--text-muted) !important;
  border-color: var(--glass-stroke) !important;
}

/* Keep section surfaces on the same dark palette as their inherited text. */
.marketing-page .home-work-section,
.marketing-page .home-capabilities {
  background: #080808;
  border-color: var(--glass-stroke);
}

/* Visual introductions connect the strategy to real people and delivered work. */
.visual-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.visual-intro-grid h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.03; }
.visual-intro-grid .lede { font-size: 18px; line-height: 1.65; }
.capability-art { position: relative; color: var(--text); padding: 20px 0 36px; border-block: 1px solid var(--glass-stroke); background: radial-gradient(ellipse at 50% 45%, rgba(0,114,255,.1), transparent 65%); }
.capability-art svg { display: block; width: 100%; height: auto; }
.art-caption { color: var(--text-muted); font-size: 12px; text-align: center; margin: 0; }
.signal-path { stroke-dasharray: 45 14; animation: signal-travel 4s ease-out both; }
.signal-path-delayed { animation-direction: reverse; }
@keyframes signal-travel { to { stroke-dashoffset: -236; } }
.people-collage { border-top: 1px solid var(--glass-stroke); padding-top: 24px; }
.people-collage-images { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; align-items: start; }
.people-collage figure { margin: 0; min-width: 0; }
.people-collage figure:nth-child(2) { padding-top: 45px; }
.people-collage figure:nth-child(3) { padding-top: 90px; }
.people-collage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); display: block; }
.people-collage figcaption { color: var(--text); font-size: 14px; margin-top: 10px; }
.people-collage figcaption span { color: var(--text-muted); display: block; font-size: 12px; line-height: 1.5; margin-top: 4px; }
.people-collage-note { border-top: 1px solid var(--glass-stroke); margin-top: 24px; padding-top: 20px; display: grid; gap: 12px; }
.people-collage-note strong { font-size: clamp(18px,2vw,25px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.visual-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.visual-work { display: block; border-bottom: 1px solid var(--glass-stroke); overflow: hidden; }
.visual-work > img { width: 100%; aspect-ratio: 16/10; display: block; object-fit: cover; transition: transform .5s ease; }
.visual-work:hover > img { transform: scale(1.025); }
.visual-work > div { padding: 22px 44px 24px 0; position: relative; background: #080808; }
.visual-work .h3 { margin: 12px 0 0; font-size: 26px; }
.visual-work-arrow { position: absolute; right: 4px; top: 30px; font-size: 28px; color: var(--brand-green); }
.capability-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 22px; font-weight: 600; list-style: none; }
.capability-details summary::-webkit-details-marker { display: none; }
.capability-details summary span { color: var(--brand-green); font-weight: 400; }
.capability-details[open] summary span { rotate: 45deg; }
.capability-details summary:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 6px; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
@view-transition { navigation: auto; }
.marketing-page .site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: page-depart 160ms ease both; }
::view-transition-new(root) { animation: page-arrive 240ms ease both; }
@keyframes page-depart { to { opacity: 0; transform: translateY(-6px); } }
@keyframes page-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section-observed { position: relative; }
.section-observed::before { content: ''; position: absolute; top: 0; left: max(20px, calc((100% - var(--max)) / 2)); width: 0; height: 1px; background: linear-gradient(90deg,var(--brand-green), transparent); transition: width 1s ease; pointer-events: none; }
.section-observed.section-arrived::before { width: min(220px, 40vw); }
@media (max-width: 760px) {
  .visual-intro-grid, .visual-work-grid { grid-template-columns: 1fr; }
  .visual-intro-grid h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .visual-intro-grid .lede { font-size: 17px; }
  .capability-art { max-width: 580px; width: 100%; }
  .capability-art svg text { font-size: 21px; }
  .people-collage figcaption span { font-size: 12px; }
  .people-collage-images { gap: 10px; }
  .visual-work-grid { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-path { animation: none; }
  .visual-work > img, .section-observed::before { transition: none; }
  .visual-work:hover > img { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
}

/* Keep the contact introduction quiet so the form leads the page. */
.connect-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
.connect-intro { max-width: 390px; padding-top: 24px; }
.connect-intro h1 { font-size: clamp(44px, 5.5vw, 72px); line-height: 1.06; letter-spacing: -.045em; }
.connect-intro .lede { font-size: 18px; line-height: 1.6; max-width: 32ch; }
.connect-phone { margin: 36px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.8; }
.connect-phone a { color: var(--text); text-underline-offset: 5px; }
.connect-phone a:hover { color: var(--brand-green); }
@media (max-width: 1080px) {
  .connect-layout { grid-template-columns: 1fr; gap: 32px; }
  .connect-intro { max-width: 560px; padding-top: 0; }
  .connect-intro .lede { margin-top: 16px; max-width: 42ch; }
  .connect-phone { margin-top: 20px; }
  .connect-phone br { display: none; }
  .connect-phone a { margin-left: 6px; }
}
